mongodb重启报错解决

mongodb关闭后重启失败 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb

Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed:

SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused :

//执行如下命令:

./mongod --config /usr/local/mongo/bin/mongodb.conf //关于子进程等待服务连接,

子进程开启父进程退出 about to fork child process, waiting until server is ready for connections.child process started successfully, parent exiting

posted @ 2020-12-24 13:29  余生请多指教ANT  阅读(1597)  评论(0)    收藏  举报