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

Windows service: net stop MongoDB gives an error even after stopping the service

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.8.0-rc1
    • Affects Version/s: 2.6.5
    • Component/s: Admin
    • Windows
    • Hide
      • on 64 bit Windows system, download and install MongoDB community edition ZIP installer
      • follow the instructions from http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#configure-a-windows-service-for-mongodb to configure MongoDB as a Windows service
      • run net start MongoDB, and ensure that it started successfully
      • run net stop MongoDB
      • Notice that you get the following error:
        C:\>net stop MongoDB
        System error 109 has occurred.
        The pipe has been ended.
      • But the service is actually stopped. You can run net start MongoDB and it will start the service for you.
      Show
      on 64 bit Windows system, download and install MongoDB community edition ZIP installer follow the instructions from http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#configure-a-windows-service-for-mongodb to configure MongoDB as a Windows service run net start MongoDB, and ensure that it started successfully run net stop MongoDB Notice that you get the following error: C:\>net stop MongoDB System error 109 has occurred. The pipe has been ended. But the service is actually stopped. You can run net start MongoDB and it will start the service for you.

      On Windows 64 bit machine, Community edition ZIP installer, service stop command "net stop MongoDB" from http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#configure-a-windows-service-for-mongodb does stop the service but gives system error.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            jalpa.trivedi@mongodb.com Jalpa Trivedi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: