Installing a service with a relative path for config results in a mongos service that cannot be started

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.2.0-rc0
    • Component/s: Sharding
    • None
    • Environment:
      Windows 7, 2008+ build from 7/9/2012. 2.1.3-pre
    • Sharding
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Create a mongos.conf
      configdb = localhost:30000
      logpath = c:\data\mongos.log
      serviceName = TestMongoS
      serviceDisplayName = Modified Service Name
      serviceDescription = Modified Service Description

      Now install the service with mongos.conf --install --config mongos.conf (note mongos.conf is in current directory)

      The service succeeds in installing but net start TestMongoS would fail. We need to convert any relative paths for the config to absolute path.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Sridhar Nanjundeswaran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: