结论先行:在CentOS中的/usr/local/soft/mongodb/data/db
其中/usr/local/soft/mongodb为自己选择的安装mongodb的路径,/data/db为自己选择创建的存放数据的路径
在CentOS上启用mongodb时,出现子线程错误,如:
ERROR: child process failed, exited with 48
To see additional information in this output, start without the "--fork" option.
有些博主说删了mongod.lock,所以mongod.lock在哪就不说一下吗…
下面这个屌X我的确很想将其公开处刑:
对于该ERROR,建议参考:
mongodb启动不了:child process failed, exited with error number 48
注意公网IP和内网IP的区别