Docs Home → MongoDB Manual
MongoDB will return one of the following codes and statuses when
exiting. Use this guide to interpret logs and when troubleshooting
Returned by MongoDB applications upon successful exit.
The specified options are in error or are incompatible
with other options.
mongod if there is a mismatch
between hostnames specified on the command line and in the
local.sources collection, in master/slave mode.
The version of the database is different from the version
supported by the
mongod.exe) instance. The instance exits
mongos if a problem is encountered
Returned by the
mongod.exe process on Windows
when it receives a Control-C, Close, Break or Shutdown event.
Returned by MongoDB applications which encounter an
unrecoverable error, an uncaught exception or uncaught signal.
The system exits without performing a clean shutdown.
ERROR: wsastartup failed <reason>
Returned by MongoDB applications on Windows following an error
in the WSAStartup function, used to initialize the networking
NT Service Error
Returned by MongoDB applications for Windows due to failures
installing, starting or removing the NT Service for the
A newly started
could not start listening for incoming connections, due to an
Returned by the Storage Node Watchdog if any of the
filesystems with monitored directories are unresponsive.
mongod if the datafiles in
--dbpath are incompatible with the
mongod currently running.
mongod when the process throws an