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

Mongod service failed to start

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.12
    • Component/s: None
    • Labels:
      None
    • Environment:
      MongoDB version 3.6
      Linux
      Recplica set is enabled and this instance is secondary node.
    • ALL

      HI ,

       

      I need some help in starting mongod service on one of our servers, the service was running fine before i tried to comment out: wiredTigerDirectoryForIndexes in mongod.conf file.

      As of now, the service is stopped and when i try to start it using mongod command it fails with following error:

       

      2019-07-03T11:55:31.026+0800 I STORAGE [initandlisten] exception in initAndListen: InvalidOptions: Requested option conflicts with current storage engine option for directoryForIndexes; you requested false but the current server storage is already set to true and cannot be changed, terminating

      I have reverted back the changes but it seems not to pick up the chanege. I am not using root acces but i am using sudo option to make any change. Is there any ther option i can try before running mongo repair as this is a production machine.

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            mishu.sharma@gmail.com Manisha Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: