Vagrant box stuck forking

I shutdown my vargant box and ever since I can’t launch any mongods from it. It just sits there with:

vagrant@m103:~$ mongod --config mongod-repl-1.conf
about to fork child process, waiting until server is ready for connections.
forked process: 1966

Pressing enter a few times doesn’t put me back into mongod process either

Ctrl+D or Ctrl+C and run ps -ef | grep [m]ongo to see what processes are running.

By the way, are you sure that your config file is located in $HOME / the current working directory? Or shouldn’t it be located in the /shared directory.

I did that and I ended them all and restarted but none of the forked processes from earlier lessons start. I’m just back to running really an early mogod process on 27000. So I can still do the aggregation stuff. So that’s ok so far :smile:

Let’s take a look. Share a screenshot of a “forked” config file that doesn’t work and a screenshot of the terminal after running the file.

PS: I’m guessing that you’re doing 3 courses at once; M121, M103 and this (M201)? I would recommend that you complete M121 and M103 before pursuing M201 to get the full benefit of M201.

I’m doing them all sequentially, I’m currently in aggregation chapter 4

Alright. :slightly_smiling_face: :+1:

1 Like