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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.1-rc0
    • Component/s: 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

      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.

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

              Created:
              Updated:
              Resolved: