[SERVER-62297] mongodb service fail to start Created: 29/Dec/21  Updated: 30/Dec/21  Resolved: 30/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Rana Saha Assignee: Edwin Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Production Environment


Attachments: PNG File Service Error.PNG    
Operating System: ALL
Participants:

 Description   

Hi Team,

 

I using MongoDB ReplicaSet(3 nodes) v5.0.2 in windows 2019 community edition. in the config file, if both Security and Replication parameters are enabled, I cannot start the mongodb service it throws the below error. Can you please help as it is blocking my task.

security:
authorization: enabled

replication:
  replSetName: "rs0"



 Comments   
Comment by Edwin Zhou [ 30/Dec/21 ]

Hi r.saha10051989@gmail.com,

You may be able to find some guidance in our docs [Deploy New Replica Set with Keyfile Access Control

https://docs.mongodb.com/manual/tutorial/deploy-replica-set-with-keyfile-access-control/#start-each-member-of-the-replica-set-with-access-control-enabled].

For this issue we'd like to encourage you to start by asking our community for help by posting on the MongoDB Developer Community Forums.

If the discussion there leads you to suspect a bug in the MongoDB server, then we'd want to investigate it as a possible bug here in the SERVER project.

Best,
Edwin

Comment by Rana Saha [ 30/Dec/21 ]

Hi Team,

Good Morning.

Any update on this, seeking your support and help to the earliest.

Just to keep you inform, I have downloaded and setup SSL in all the three nodes.

Do I need to create Keyfile as well for internal authentication for 3 nodes?

Please let me know if you need any input from my side.

 

Thanks,

Rana

Generated at Thu Feb 08 05:54:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.