Errors in configuration file leads to server crashing with no info in log

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.9, 3.0.4
    • Component/s: Admin
    • None
    • ALL
    • Hide

      Add this to the configuration file:
      storage.smallFiles=true
      then restart the server.

      Show
      Add this to the configuration file: storage.smallFiles=true then restart the server.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      After editing the configuration file (and unintentionally adding some errors), I have restarted the service with:
      sudo service mongodb restart
      This results in the following message to the console:
      mongodb stop/waiting
      mongodb start/running, process XXXX
      However, ps aux | grep mongo reports no mongo server running, and nothing it is written to the log.

      If the server crashes due to a badly written configuration file, it should write to the log the cause and, even better, the lines in the configuration file that led to errors.

      OS: Ubuntu 14.04, also on CentOS 7

            Assignee:
            Sam Kleinman (Inactive)
            Reporter:
            Valentin Florian
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: