mongod bind_ip绑定外网时没报错,但mongod没有启动成功,求解释
发布于 1个月前 作者 adam1985 203 次浏览 来自 问答

port=1234 dbpath=/usr/local/mongodb/data logpath=/usr/local/mongodb/logs logappend=true fork=true auth=true bind_ip = 10.10.0.25,10.10.0.26 /usr/src/mongodb/bin/mongod -f /etc/mongodb.conf --journal

[root@iZ94weqnz89Z mptool]# /usr/src/mongodb/bin/mongod -f /etc/mongodb.conf --journal about to fork child process, waiting until server is ready for connections. forked process: 17237 child process started successfully, parent exiting [root@iZ94weqnz89Z mptool]# ps aux | grep mongo root 17298 0.0 0.0 4352 716 pts/0 S+ 11:42 0:00 grep mongo [root@iZ94weqnz89Z mptool]#

回到顶部