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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.0.0, 3.0.3
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:

      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

            Activity

              People

              Assignee:
              sam.kleinman Sam Kleinman (Inactive)
              Reporter:
              martin.meier Martin Meier
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: