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

"/etc/init/mongod stop" not working

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 2.6.4
    • None
    • 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

    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

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

              Dates

                Created:
                Updated:
                Resolved: