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

"/etc/init/mongod stop" not working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.6.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: