这是在 SLES 12 中
我尝试搜索此内容,但没有看到任何其他问题。当试图停止 mongodb 服务时,我输入:
sudo systemctl stop mongod.service
这本身不会返回任何错误,它运行得很好,但是当我运行时:
sudo systemctl status mongod.service
我得到:
mongod.service - mongodb database
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled)
Active: failed (Result: exit-code) since Tue 2018-02-06 08:22:04 EST; 19min ago
Main PID: 4877 (code=exited, status=1/FAILURE)
Feb 06 08:22:04 riskdb mongod[4877]: about to fork child process, waiting u...s.
Feb 06 08:22:04 riskdb mongod[4877]: forked process: 4879
Feb 06 08:22:04 riskdb mongod[4877]: ERROR: child process failed, exited wi... 1
Hint: Some lines were ellipsized, use -l to show in full.
如果有人有任何很棒的想法,如果您需要我提供更多信息,请告诉我。
谢谢。