Im having a problem with the new DB path.
I made a change to the config file but I got this error:
ERROR: child process failed, exited with error number 100
To see additional information in this output, start without the “–fork” option.
I removed the fork option and received this message:
2019-05-19T20:49:58.908+0000 I CONTROL [main] log file “/data/logs” exists; moved to “/data/logs.2019-05-19T20-49-58”.
Where can I find that? I searched my hard drive and do not see that log file anywhere.
There is a portion of the lab that says:
- create a new folder /var/mongodb/db/ and allow mongod to write files to this directory
- create this directory with sudo, because /var is owned by root
- use chown to change the owner of this directory to vagrant:vagrant
- edit your config file to use this new directory as the dbpath
I think this is my problem. Where do I create the new folder? I don’t have Linux.
Where do I find the log file?
Is this course for Linux or vagrant users only?