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

Warning messages given on MongoDB startup when some parameters are set to their default values

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6.0
    • Affects Version/s: 2.2.0, 2.4.0-rc0
    • Component/s: Admin
    • Labels:
      None
    • Environment:
      RHEL 6.2 and 6.3
    • Fully Compatible
    • ALL

      When certain mongod.conf configuration file settings are set to default values such as below, MongoDB issues a warning for each one, but starts up OK as also shown below.

      nohttpinterface = false
      noscripting = false

      1. service mongod restart
        Stopping mongod: [ OK ]
        Starting mongod: warning: remove or comment out this line by starting it with '#', skipping now : nohttpinterface = false
        warning: remove or comment out this line by starting it with '#', skipping now : noscripting = false
        forked process: 32090
        using syslog ident: mongod.27017
        child process started successfully, parent exiting

      I think specifying a default value in the config file should be perfectly legitimate as it reinforces explicitly what the setting is and no warning should be given.

            Assignee:
            Unassigned Unassigned
            Reporter:
            simon.harvey@citi.com Simon Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: