Homework 1.6: mongod: command not found

Hi all,

I got ldap and saslauthd working fine.

I’m at the step to start my mongod instances but I’m getting mongod: command not found

    [vagrant@infrastructure ~]$ which mongod
    /usr/bin/which: no mongod in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/vagrant/.local/bin:/home/vagrant/bin)

I have tried:
vagrant reload database
vagrant provision database
vagrant up

Edit: Ok, I know what I got wrong now.

Mongod is run on the database VM. When the prompt is ‘vagrant@infrastructure’ you are on the wrong machine. From the host prompt do ‘vagrant ssh database’ to access the appropriate machine.