Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18492

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

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

      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 Sam Kleinman (Inactive)
            Reporter:
            martin.meier Martin Meier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: