“systemctl stop”不会停止服务

时间:2018-02-06 13:44:13

标签: mongodb suse systemctl sles

这是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. 

如果有任何想法会很棒,如果您需要我提供更多信息,请告诉我。

感谢。

0 个答案:

没有答案