apache2.service启动错误(版本2.4.29)

  • Post author:
  • Post category:其他


● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Sat 2019-10-05 00:19:17 PDT; 8min ag

Oct 05 00:19:17 ubuntu systemd[1]: Starting The Apache HTTP Server...
Oct 05 00:19:17 ubuntu apachectl[60311]: AH00526: Syntax error on line 162 of /e
Oct 05 00:19:17 ubuntu apachectl[60311]: Invalid command 'Require', perhaps miss
Oct 05 00:19:17 ubuntu apachectl[60311]: Action 'start' failed.
Oct 05 00:19:17 ubuntu apachectl[60311]: The Apache error log may have more info
Oct 05 00:19:17 ubuntu systemd[1]: apache2.service: Control process exited, code
Oct 05 00:19:17 ubuntu systemd[1]: apache2.service: Failed with result 'exit-cod
Oct 05 00:19:17 ubuntu systemd[1]: Failed to start The Apache HTTP Server.
lines 1-14/14 (END)...skipping...

问一下,这种错误怎么解决呀



版权声明:本文为qq_43115981原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。