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

"/etc/init/mongod stop" not working

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.4
    • Component/s: None
    • Labels:
      None
    • ALL
    • Hide

      Use a line the one below and try to stop daemon using /etc/init.d/mongod :
      pidfilepath = /var/run/mongodb/mongodb.pid

      Show
      Use a line the one below and try to stop daemon using /etc/init.d/mongod : pidfilepath = /var/run/mongodb/mongodb.pid

      Hi,
      using mongodb-org-server-2.6.4-1.x86_64,
      The command
      /etc/init.d/mongod stop
      doesn't work if /etc/mongod.conf contains a line pidfilepath with white space between the equal and effective pid file path, the stop script is trying to find the file with white spaces and so doesn't work.
      Tested on CentOS 6.5 x86_64.
      Regards.

            Assignee:
            Unassigned Unassigned
            Reporter:
            lglayal Laurent Glayal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: