MOngoDB修复异常

时间:2019-08-08 07:32:21

标签: mongodb mongodb-query mongorestore mongorepository

我正在尝试从下面的代码修复命令...

 mongod --dbpath /someser/arbiterDB/project/data  --config  /mongoDB/config/pro/mongo.conf --repair

我遇到了以下异常情况

2019-08-08T15:19:27.045+0800 I STORAGE  [initandlisten] exception in 
initAndListen: NotMaster: Not primary while creating collection 
admin.system.version, terminating
2019-08-08T15:19:27.045+0800 I REPL     [initandlisten] shutting down 
replication subsystems
2019-08-08T15:19:27.045+0800 W REPL     [initandlisten] 
ReplicationCoordinatorImpl::shutdown() called before startup() finished.  
Shutting down without cleaning up the replication system
2019-08-08T15:19:27.045+0800 I STORAGE  [initandlisten] WiredTigerKVEngine 
shutting down

可能是什么错误?在配置文件中,我设置了BindIpReplication

0 个答案:

没有答案