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

mongod.pid is not removed when calling db.shutdownServer(), preventing subsequent init.d start

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Admin, Packaging
    • Labels:
    • Sprint:
      Build 2016-11-21
    • Story Points:
      5

      Description

      We're running mongod as an init.d service (Amazon linux), v.3.2.10 -
      no matter how we stop mongod (shutdownServer or "service stop") - on the next start we get:

      Error starting mongod. /var/run/mongodb/mongod.pid exists.
      

      We then rm the pid file and start, but this is very annoying.
      This did not happen in 3.2.1. Please advise on init.d changes we can apply to fix this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-build Backlog - Build Team
              Reporter:
              yonido Yoni Douek
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: