• 欢迎访问趣尚博客、分享互联网、软件、编程、创业、英语、VPS 推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您喜欢我的博客,那么请使用Ctrl+D 收藏吧!

MongoDB启动终止错误代码

MongoDB qushang 4年前 (2017-03-14) 1066次浏览

Exit Codes and Statuses

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.

0
Returned by MongoDB applications upon successful exit.
2
The specified options are in error or are incompatible with other options.
3
Returned by mongod if there is a mismatch between hostnames specified on the command line and in the local.sources collection, in master/slave mode.
4
The version of the database is different from the version supported by the mongod (or mongod.exe) instance. The instance exits cleanly.
5
Returned by mongos if a problem is encountered during initialization.
12
Returned by the mongod.exe process on Windows when it receives a Control-C, Close, Break or Shutdown event.
14
Returned by MongoDB applications which encounter an unrecoverable error, an uncaught exception or uncaught signal. The system exits without performing a clean shutdown.
20
Message: ERROR: wsastartup failed <reason>

Returned by MongoDB applications on Windows following an error in the WSAStartup function, used to initialize the networking subsystem.

Message: NT Service Error

Returned by MongoDB applications for Windows due to failures installing, starting or removing the NT Service for the application.

48
A newly started mongod or mongos could not start listening for incoming connections, due to an error.
100
Returned by mongod when the process throws an uncaught exception.

极客公园 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:MongoDB启动终止错误代码
喜欢 (0)
[399397742@qq.com]
分享 (0)