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

时间:2016-03-10 23:14:27   收藏:0   阅读:2084

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导致的。

原文:http://www.cnblogs.com/rwxwsblog/p/5263894.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!