"/etc/init/mongod stop" not working

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.4
    • Component/s: None
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Laurent Glayal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: