[SERVER-37319] MongoDB server is not started Created: 26/Sep/18 Updated: 25/Oct/18 Resolved: 25/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Madura Dissanayake | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
I changed the /etc/mongod.conf file to add relication and sharding, but it fails when I do start the MongoDB server. Following lines were added to the config file. #replication: Error : mongod.service - SYSV: Mongo is a scalable, document-oriented database. Sep 26 09:12:51 ip-192-168-100-187.ec2.internal systemd[1]: Starting SYSV: Mongo is a scalable, document-oriented database....
|
| Comments |
| Comment by Kelsey Schubert [ 25/Oct/18 ] | |||||||||||||||||||
|
Hi madurad We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket. Regards, | |||||||||||||||||||
| Comment by Nick Brewer [ 26/Sep/18 ] | |||||||||||||||||||
|
madurad This log doesn't show the mongod booting with the options that caused it to fail to boot:
Since the mongod boots without those options, I suspect that the shardsvr option is being added before this node has been added to a sharded cluster. Can you confirm this? Thanks, | |||||||||||||||||||
| Comment by Madura Dissanayake [ 26/Sep/18 ] | |||||||||||||||||||
| |||||||||||||||||||
| Comment by Nick Brewer [ 26/Sep/18 ] | |||||||||||||||||||
|
madurad Has this shard already been added to a cluster? The shardsvr option is not designed to be added to a mongod configuration before it has been added to a cluster. Could you include the mongod.log from the time the mongod failed to boot? Thanks, |