Unable to run Mongod command from vagrant

post getting vagrant up and connecting to it (vagrant ssh), all good till here, when running
$ mongod --config /shared/single.cfg, getting below error :
“The program ‘mongod’ is currently not installed. To run ‘mongod’ please ask your administrator to install the package ‘mongodb-server’”

Please help on it if someone aware about this.

Are you sure you are running mongod on vagrant box?
Your prompt appears to be your local host
It should look like vagrant@m312
Was your vagrant ssh successful?

Yes, was running from vagrant environment however I have uninstalled vagrant and reinstalled then it worked, thank you

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.