Problem: Mongodb not installed- Solution: Provision Vagrant

Hi. both VMS dont have Mongodb installed. Is that expected. If so what version shall i go for and any recommended paths to get this.

Hey @Avinash_Jobanputra_42542

Are you searching for mongodb. As the daemon process in called mongod and the shell is simply mongo

Correct. The exact message i get is below

vagrant@database:~$ mongod
The program ‘mongod’ is currently not installed. To run ‘mongod’ please ask your administrator to install the package ‘mongodb-server’

I have the same problem :

vagrant@database:~$ mongod
The program ‘mongod’ is currently not installed. To run ‘mongod’ please ask your administrator to install the package ‘mongodb-server’

Hi @Alberto_59581 @Avinash_Jobanputra_42542,

Please provision the vagrant again as it might be possible that vagrant is not setup properly first time.

Please run the command outside vagrant:

  vagrant up --provision

Kanika

1 Like

I have got an error message that states to run mongo installation with this command :

apt-get install -y mongodb-enterprise --force-yes

So I have changed the provisioning-database file and rerun

vagrant up --provisioning

now it’s all ok .

Thanks for help

8 Likes

That did the trick. Thank you so much

1 Like