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

Duplicate (but identical) option in config file causes server to fail to start with no clue as to why

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.8.0
    • Admin
    • None
    • Ubuntu 10.10 AMD64 10gen stable build
    • ALL

    Description

      Due to a bug in a shell script that tries to ensure journalling is on (I wish you had made that the default for the packaged builds) I ended up with the option twice. Ie my /etc/mongodb.conf ended with

      journal = true
      journal = true

      If you try to start the server "service mongodb start" then it will say started successfully and give a pid. However a ps will show no process. There is also absolutely nothing in /var/log/mongodb/mongodb.log or in any other logfile in /var/log.

      Trying to find out why the server didn't start was rather difficult.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rogerbinns Roger Binns
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: