Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
The following error occurred when starting mongodb in the morning:
MongoDB:Unclean shutdown detected
The solution is:
1. When there is no specified folder for data storage:
$ mongod –repair
2. When specifying the folder for data storage:
$ mongod –repair –dbpath=/data/mongodb/db
When finished, restart mongodb
Similar Posts:
- [Solved] MongoDB Start ERROR: child process failed, exited with error number
- Mongodb Cannot Start: child process failed, exited with error number 100
- [Solved] Mongodb startup error: about to fork child process, waiting until server is ready for connections.
- Mongovue is unable to create collections and log in with user name and password
- Unable to start mongod after installing mongodb in Ubuntu
- [Solved] Mongodb Error: NETWORK [thread1] Failed to connect to 127.0.0.1:27017
- Net start mongodb error: invalid service name
- How to Solve MongoDB Error: Authentication failed.
- Error reported when Java connects mongodb com.mongodb.mongosocketopenexception: exception opening socket has been solved
- Mac Run MongoDB error: exception in initAndListen: NonExistentPath: Data directory /data/db not found., t…