guangyingushi1 2021-03-21 14:01 采纳率: 0%
浏览 192

CentOS7开启httpd失败

systemctl start httpd 显示[root@localhost ~]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.


[root@localhost ~]# systemctl status httpd.service 
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since 日 2021-03-21 13:55:20 CST; 3min 28s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 10600 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 10598 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 10598 (code=exited, status=1/FAILURE)

3月 21 13:55:20 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
3月 21 13:55:20 localhost.localdomain httpd[10598]: AH00543: httpd: bad user name apache
3月 21 13:55:20 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
3月 21 13:55:20 localhost.localdomain kill[10600]: kill: cannot find process ""
3月 21 13:55:20 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
3月 21 13:55:20 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
3月 21 13:55:20 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
3月 21 13:55:20 localhost.localdomain systemd[1]: httpd.service failed.

 

  • 写回答

1条回答 默认 最新

  • qq_41716948 2021-03-22 09:57
    关注

    看下日志

    评论

报告相同问题?

悬赏问题

  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c