Node stuck in "stateStr" : "STARTUP"

Want to create a 3 node Replica Set.

Primary and 1 secondary node is added to replica set.

after adding 2nd secondary node, it is stuck in state “STARTUP” and not coming to “SECONDARY” state like the other node.

What does rs.conf() show?
STARTUP means it is not part of any replicaset
Please check your config files.If anything missed in 3rd node cfg file
What does mongod.log show

1 Like