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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.0-rc0
    • Sharding
    • None
    • Windows 7, 2008+ build from 7/9/2012. 2.1.3-pre
    • Sharding
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            sridhar Sridhar Nanjundeswaran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: