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

mongod with WT does not start on Windows unless dbpath is specified

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.14
    • 3.3.12
    • None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-09-19

    Description

      If dbpath is not specified, mongod shuts down with the following error message.

      2016-09-06T13:57:15.086-0400 I STORAGE  [initandlisten] exception in initAndListen: 40311 Cannot start server. The command line option '--repairpath' is only supported by the mmapv1 storage engine, terminating
      

      This error message was added in: https://github.com/mongodb/mongo/commit/078f29b7ed3361c6d19ce55a7fa32643c9987cbd

      This error occurs because dbpath = "c:\data\db" and repairpath = "/data/db" due to this code: https://github.com/mongodb/mongo/blob/master/src/mongo/db/mongod_options.cpp#L1322-L1329

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: