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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin, Packaging
    • Server Development Platform
    • Build 2016-11-21
    • 5

      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.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            yonido Yoni Douek
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: