Docs Home → Develop Applications → MongoDB Manual
Exit Codes and Statuses![](/docs/v5.2/assets/link.svg)
MongoDB will return one of the following codes and statuses when
exiting. Use this guide to interpret logs and when troubleshooting
issues with mongod
and mongos
instances.
Code | Cause |
---|---|
Returned by MongoDB applications upon successful exit. | |
The specified options are in error or are incompatible with other options. | |
Returned by | |
Returned by | |
Returned by the | |
Returned by MongoDB applications which encounter an unrecoverable error, an uncaught exception or uncaught signal. The system exits without performing a clean shutdown. | |
Message: Returned by MongoDB applications on Windows following an error in the WSAStartup function, used to initialize the networking subsystem. Message: Returned by MongoDB applications for Windows due to failures installing, starting or removing the NT Service for the application. | |
Returned by |