启动不了mongodb。。
Tofloor
poster avatar
dsy12138
deepin
2018-06-02 00:13
Author
求大佬指点。。。网上搜索删除.lock文件,删完也不好使
Reply Favorite View the author
All Replies
avatar
TLT
deepin
2018-06-02 00:28
#1
root用户登录
Reply View the author
avatar
guipf2017
deepin
2018-06-02 00:29
#2
看看日志啊  mongodb.log
Reply View the author
avatar
TLT
deepin
2018-06-02 00:49
#3
[mogon@sam_server_1 mongodb]$ ls
bin  conf  db  GNU-AGPL-3.0  log  mongo.pid  MPL-2  README  satrtMogon.sh  THIRD-PARTY-NOTICES
[mogon@sam_server_1 mongodb]$ ./bin/mongod -f conf/mongo.conf
about to fork child process, waiting until server is ready for connections.
forked process: 3617
ERROR: child process failed, exited with error number 1
To see additional information in this output, start without the "--fork" option.
[mogon@sam_server_1 mongodb]$ su
密码:
[root@sam_server_1 mongodb]# ./bin/mongod -f conf/mongo.conf
about to fork child process, waiting until server is ready for connections.
forked process: 3635
child process started successfully, parent exiting
[root@sam_server_1 mongodb]#
Reply View the author
avatar
dsy12138
deepin
2018-06-02 05:18
#4
https://bbs.deepin.org/post/157425
看看日志啊  mongodb.log

多谢提醒 原来我把log建成文件了而不是文件夹。。。谢谢大佬
Reply View the author
avatar
dsy12138
deepin
2018-06-02 05:19
#5
https://bbs.deepin.org/post/157425
[mogon@sam_server_1 mongodb]$ ls
bin  conf  db  GNU-AGPL-3.0  log  mongo.pid  MPL-2  README  satrtMo ...

多谢大佬 成功了 原来我把log建成文件了而不是文件夹。。。谢谢大佬
Reply View the author