Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.0.0, 3.0.3
Description
I updated mongodb via repo.mongodb.org, but it did not start the service when it is done because:
ERROR: Cannot write pid file to /var/run/mongod.pid: Permission denied
The /etc/init.d/mongod script does not check for permissions of the mongodb user on the pid file. I think that would be the best place to solve this issue.
Attachments
Issue Links
- depends on
-
DOCS-5696 clarify pidfile setting
-
- Closed
-
- is duplicated by
-
SERVER-20075 Debian init script not setting correct permissions on PIDFILEPATH
-
- Closed
-