Setting pidFilePath to /var/run/mongod.pid in config file on Debian prevents service from starting

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.0, 3.0.3
    • Component/s: Packaging
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Sam Kleinman (Inactive)
              Reporter:
              Martin Meier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: