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

Window Service doesnot start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: 3.0.0, 3.0.1, 3.0.2, 3.0.3
    • Fix Version/s: None
    • Component/s: Admin
    • Environment:
      Window 7 64bit
    • Operating System:
      Windows
    • Steps To Reproduce:
      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"

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: