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

Window Service doesnot start

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0, 3.0.1, 3.0.2, 3.0.3
    • Component/s: Admin
    • Environment:
      Window 7 64bit
    • Windows
    • Hide

      1. Install mongod as a service in window with any config.
      2. Try to start the mongodb service using "net start mongodb"

      Show
      1. Install mongod as a service in window with any config. 2. Try to start the mongodb service using "net start mongodb"

      After install mongod as a service in Window 7 64bit, when trying to start the service it fails to start.

      This problem starting coming in the 3.x update.

      Things already done for resolving the issue:-

      • Ran the server as normal executable. The server starts normally and is working fine. (Not as a service)
      • Added config directly to service as arguments
        eg. D:\servers\db\mongodb\bin\mongod.exe --dbpath=D:\servers\db\mongodb\data --logpath=D:\servers\db\mongodb\log\mongo.log --logappend --service
        The service still fails
      • The same config checked with mongo 2.x works both as a service as well as a standalone server
      • Tired server with fresh location for data. Still fails as a service.
      • No mongo logs are recorded when the server is run as a service and it fails
      • Window returns an error
        The service is not responding to the control function.
        More help is available by typing NET HELPMSG 2186.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            cosmosgenius Sharat M R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: