[SERVER-40845] mongod shutting down . Created: 26/Apr/19 Updated: 26/Apr/19 Resolved: 26/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.0.7 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | khushal pahuja | Assignee: | Danny Hatcher (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Hi I am using mongo version 4.0.7 on ubutnu 18.04 my mongod shuts down with code 100 stating that /data/db not found but my /etc/mongod.conf file has a different dbPath . Is it a bug or there is some other file where conf is defined. Thank you.
my mongod file is as follows -
|
| Comments |
| Comment by Danny Hatcher (Inactive) [ 26/Apr/19 ] | |
|
Hello, Please see our documentation on troubleshooting an Ubuntu install. In addition to those notes, a mongod process will not use a config file by default if its manually started via the command line. If you starting the process via the command line and you wish to use a config file, you must specify -f <path to config> like so:
The SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to a bug, I will now close it. If you need further assistance troubleshooting, I encourage you to ask our community by posting on the mongodb-user group or on Stack Overflow with the mongodb tag. Thanks, Danny |