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

Windows Service: 'net stop mongodb' gives System error 109 has occurred. -- The pipe has been ended.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.5
    • Affects Version/s: 2.0.7, 2.2.0-rc1
    • Component/s: Packaging
    • Environment:
      Windows, mongod.exe or mongos.exe running as a service
    • Fully Compatible
    • Windows
    • Server 2.7.5

      When mongod.exe is installed as a service on Windows (with --install), the "net stop mongodb" command does not reply with "The Mongo DB service was stopped successfully." the way it did in version 2.1.0 but instead displays "System error 109 has occurred." and "The pipe has been ended.". This was likely broken by changes we made to our exit logic after 2.1.0 but before 2.2.0-rc1.

      This error message is actually the extent of the problem – we shut down cleanly and no errors are logged in the Windows Event Log.

            mark.benvenuto@mongodb.com Mark Benvenuto
            tad Tad Marshall
            12 Vote for this issue
            18 Start watching this issue