@yi_liu Based on the error messages, it seems that an uninitialized replica set member cannot be used to execute commands like ping and replsetGetStatus. You may have to run the replSetInitiate command to actually initialize the node.
– Divjot
@yi_liu Based on the error messages, it seems that an uninitialized replica set member cannot be used to execute commands like ping and replsetGetStatus. You may have to run the replSetInitiate command to actually initialize the node.
– Divjot