加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 无法在CentOS 7上重启httpd.service(Apache服务器)

发布时间:2020-12-13 17:08:16 所属栏目:Linux 来源:网络整理
导读:我在centOS apache服务器上使用了“service httpd restart”命令,发生以下错误: Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service and “journalctl -xe” for details. 我该如何
我在centOS apache服务器上使用了“service httpd restart”命令,发生以下错误:

Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service and “journalctl -xe” for details.

我该如何解决这个错误?我尝试使用“yum reinstall httpd”命令重新安装我的httpd,但它不起作用.

解决方法

Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service and “journalctl -xe” for details.

(empahsis mine)

How do I solve this error?

>仔细阅读错误消息,请注意它提供了有关如何收集更多信息的有用信息,特别是它提到了应该运行的2个命令

> systemctl status httpd.service
> journalctl -xe

>运行有用的错误消息中提到的命令(后者可能最有用),但同时查看两者.>仔细阅读命令提供的信息内容.它将包含可用于解决问题的信息.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读