Fork me on GitHub

Failed to issue method call: Unit httpd.service failed to load: No such file or directory.

centos7修改httpd.service后运行systemctl restart httpd.service提示

Failed to issue method call: Unit httpd.service failed to load: No such file or directory.

执行

systemctl daemon-reload

在次运行即可

systemctl restart httpd.service

 这是由于没有重新加载/usr/lib/systemd/system目录下的service导致的。

posted @ 2016-03-10 22:56  秋楓  阅读(1755)  评论(0编辑  收藏  举报