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

RPM init script hard codes path of pid file which will change if user specifies new data directory

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 1.6.5
    • 2.1.1
    • Build
    • Redhat Enterprise 5.4
    • Fully Compatible

    Description

      The init script supplied does not stop the server in some environments because killproc() in the stop() section hard-codes the path of the PID file. If the user specifies a new 'dbpath' in /etc/mongod.conf, then the PID file will be placed there instead, and killproc won't find it.

      Attachments

        Issue Links

          Activity

            People

              miketheman Michael A. Fiedler
              mspiegle Michael Spiegle
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: