[SERVER-8570] Warning messages given on MongoDB startup when some parameters are set to their default values Created: 14/Feb/13  Updated: 09/Sep/14  Resolved: 09/Sep/14

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 2.2.0, 2.4.0-rc0
Fix Version/s: 2.6.0

Type: Bug Priority: Minor - P4
Reporter: Simon Harvey Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 6.2 and 6.3


Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

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.



 Comments   
Comment by Ramon Fernandez Marina [ 09/Sep/14 ]

This issue has been fixed in the 2.6 series.

Generated at Thu Feb 08 03:17:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.