mongodb重启报错解决

时间:2024-10-11 16:03:20

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