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

Windows service install fails unless logpath is specifed on command line for 32 bit platforms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • 2.6.1-rc0
    • None
    • Packaging
    • None
    • ALL
    • Hide
      • Create directories for data (c:\data), logs (c:\logs) & cfg (c:\cfg)
      • Download MSI for Windows 32
      • Create mongod.cfg

        logpath=c:\logs\mongod.log
        dbpath=c:\data\db

      • Run mongod from command line (successful)

        mongod --config \cfg\mongod.cfg

      • Install service from command line

        mongod --config \cfg\mongod.cfg --install

      • Check Services and log file

        2014-04-24T13:38:53.482+0000 --install has to be used with --logpath

      Show
      Create directories for data (c:\data), logs (c:\logs) & cfg (c:\cfg) Download MSI for Windows 32 Create mongod.cfg logpath=c:\logs\mongod.log dbpath=c:\data\db Run mongod from command line (successful) mongod --config \cfg\mongod.cfg Install service from command line mongod --config \cfg\mongod.cfg --install Check Services and log file 2014-04-24T13:38:53.482+0000 --install has to be used with --logpath

    Description

      Windows service fails to install if logpath is specified in the config file. Note this works for 64 bit (ZIP & MSI) and 32 bit (ZIP) packages.

      Attachments

        Issue Links

          Activity

            People

              mark.benvenuto@mongodb.com Mark Benvenuto
              jonathan.abrahams Jonathan Abrahams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: