开发者社区> 问答> 正文

systemctl start httpd.servicem没反应

关联开发者云场景 基于ECS搭建云上博客

systemctl start httpd.servicem没反应,要重新输入

展开
收起
h5rkrqsez7si2 2020-09-21 15:40:09 2405 0
1 条回答
写回答
取消 提交回答
  • 下一站是幸福

    journalctl -xe查看日志

    -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

    -- Unit NetworkManager.service has finished shutting down. Mar 29 22:55:49 localhost.localdomain polkitd[9208]: Unregistered Authentication Agent for unix-process:318 Mar 29 22:55:56 localhost.localdomain polkitd[9208]: Registered Authentication Agent for unix-process:31881 Mar 29 22:55:56 localhost.localdomain polkitd[9208]: Unregistered Authentication Agent for unix-process:318 Mar 29 22:56:01 localhost.localdomain polkitd[9208]: Registered Authentication Agent for unix-process:31890 Mar 29 22:56:01 localhost.localdomain systemd[1]: Reloading. Mar 29 22:56:01 localhost.localdomain polkitd[9208]: Unregistered Authentication Agent for unix-process:318 Mar 29 22:56:07 localhost.localdomain polkitd[9208]: Registered Authentication Agent for unix-process:31908 Mar 29 22:56:07 localhost.localdomain systemd[1]: Reloading. Mar 29 22:56:07 localhost.localdomain polkitd[9208]: Unregistered Authentication Agent for unix-process:319 Mar 29 22:58:27 localhost.localdomain polkitd[9208]: Registered Authentication Agent for unix-process:32033 Mar 29 22:58:27 localhost.localdomain systemd[1]: Starting The Apache HTTP Server... -- Subject: Unit httpd.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

    -- Unit httpd.service has begun starting up. Mar 29 22:58:27 localhost.localdomain httpd[32039]: AH00526: Syntax error on line 4 of /etc/httpd/conf.d/ws Mar 29 22:58:27 localhost.localdomain httpd[32039]: Invalid command 'WSGIDaemonProcess', perhaps misspelled Mar 29 22:58:27 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1 Mar 29 22:58:27 localhost.localdomain kill[32041]: kill: cannot find process "" Mar 29 22:58:27 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status Mar 29 22:58:27 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server. -- Subject: Unit httpd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

    -- Unit httpd.service has failed.

    -- The result is failed. Mar 29 22:58:27 localhost.localdomain systemd[1]: Unit httpd.service entered failed state. Mar 29 22:58:27 localhost.localdomain systemd[1]: httpd.service failed. Mar 29 22:58:27 localhost.localdomain polkitd[9208]: Unregistered Authentication Agent for unix-process:320

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    

    发现问题

    Invalid command 'WSGIDaemonProcess', perhaps misspelled

    2021-04-02 22:06:55
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载