运行systemctl启动apache2时出现Systemctl错误

时间:2019-12-04 17:24:17

标签: apache2

apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Wed 2019-12-04 22:26:15 IST; 13min ago
  Process: 4637 ExecStart=/usr/sbin/apachectl start (code=exited, status=127)

Dec 04 22:26:15 base systemd[1]: Starting The Apache HTTP Server...
Dec 04 22:26:15 base apachectl[4637]: /usr/sbin/apachectl: 174: /usr/sbin/apachectl: /usr/sbin/apache2: not found
Dec 04 22:26:15 base apachectl[4637]: Action 'start' failed.
Dec 04 22:26:15 base apachectl[4637]: The Apache error log may have more information.
Dec 04 22:26:15 base systemd[1]: apache2.service: Control process exited, code=exited status=127
Dec 04 22:26:15 base systemd[1]: apache2.service: Failed with result 'exit-code'.
Dec 04 22:26:15 base systemd[1]: Failed to start The Apache HTTP Server.

0 个答案:

没有答案