@@ -31,26 +31,21 @@ issues with :program:`mongod` and :program:`mongos` instances.
31
31
32
32
Returned by :program:`mongod` if there is a mismatch between hostnames
33
33
specified on the command line and in the :data:`local.sources`
34
- collection. :program:`mongod` may also return this status if
35
- :term:`oplog` collection in the ``local`` database is not readable.
34
+ collection, in master/slave mode.
36
35
37
36
.. symbol: EXIT_REPLICATION_ERROR = 3
38
37
39
38
.. error:: 4
40
39
41
40
The version of the database is different from the version supported
42
41
by the :program:`mongod` (or :program:`mongod.exe`) instance. The
43
- instance exits cleanly. Restart :program:`mongod` with the
44
- :option:`--upgrade <mongod --upgrade>` option to upgrade the
45
- database to the version supported by this :program:`mongod`
46
- instance.
47
-
42
+ instance exits cleanly.
43
+
48
44
.. symbol: EXIT_NEED_UPGRADE = 4
49
45
50
46
.. error:: 5
51
47
52
- Returned by :program:`mongod` if a :dbcommand:`moveChunk` operation
53
- fails to confirm a commit.
48
+ Returned by :program:`mongos` if a problem is encountered during initialization.
54
49
55
50
.. symbol: EXIT_SHARDING_ERROR = 5
56
51
@@ -65,7 +60,7 @@ issues with :program:`mongod` and :program:`mongos` instances.
65
60
66
61
Returned by MongoDB applications which encounter an unrecoverable
67
62
error, an uncaught exception or uncaught signal. The system exits
68
- without performing a clean shut down .
63
+ without performing a clean shutdown .
69
64
70
65
.. symbol: EXIT_ABRUPT = 14
71
66
@@ -74,7 +69,7 @@ issues with :program:`mongod` and :program:`mongos` instances.
74
69
*Message:* ``ERROR: wsastartup failed <reason>``
75
70
76
71
Returned by MongoDB applications on Windows following an error in the
77
- WSAStartup function.
72
+ WSAStartup function, used to initialize the networking subsystem .
78
73
79
74
*Message:* ``NT Service Error``
80
75
@@ -83,36 +78,13 @@ issues with :program:`mongod` and :program:`mongos` instances.
83
78
84
79
.. symbol: EXIT_NTSERVICE_ERROR = 20
85
80
86
- .. error:: 45
87
-
88
- Returned when a MongoDB application cannot open a file or cannot
89
- obtain a lock on a file.
90
-
91
- .. Symbol: EXIT_FS
92
-
93
- .. error:: 47
94
-
95
- MongoDB applications exit cleanly following a large clock skew (32768
96
- milliseconds) event.
97
-
98
- .. symbol: EXIT_CLOCK_SKEW
99
-
100
81
.. error:: 48
101
82
102
- :program:`mongod` exits cleanly if the server socket closes. The
103
- server socket is on port ``27017`` by default, or as specified to
104
- the :option:`--port <mongod --port>` run-time option.
105
-
83
+ A newly started :program:`mongod` or :program:`mongos` could not start listening for incoming connections,
84
+ due to an error.
85
+
106
86
.. symbol: EXIT_NET_ERROR = 48
107
87
108
- .. error:: 49
109
-
110
- Returned by :program:`mongod.exe` or :program:`mongos.exe` on Windows
111
- when either receives a shutdown message from the
112
- :guilabel:`Windows Service Control Manager`.
113
-
114
- .. symbol: EXIT_WINDOWS_SERVICE_STOP 49
115
-
116
88
.. error:: 100
117
89
118
90
Returned by :program:`mongod` when the process throws an uncaught exception.
0 commit comments