-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Server Development Platform
-
Build 2016-11-21
-
5
We're running mongod as an init.d service (Amazon linux), v.3.2.10 -
no matter how we stop mongod (shutdownServer or "service stop") - on the next start we get:
Error starting mongod. /var/run/mongodb/mongod.pid exists.
We then rm the pid file and start, but this is very annoying.
This did not happen in 3.2.1. Please advise on init.d changes we can apply to fix this.
- is duplicated by
-
SERVER-41877 Pid File Exists
- Closed
- related to
-
SERVER-13607 mongod 2.4.10 does not delete PID file on exit
- Closed