安装 imagemagick 后无法启动 Apache HTTP 服务器

安装 imagemagick 后无法启动 Apache HTTP 服务器

请帮我解决这个错误,谢谢

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 Sat 2019-06-08 12:53:19 UTC; 20s ago
  Process: 30942 ExecStop=/usr/sbin/apachectl stop (code=exited, status=1/FAILURE)
  Process: 28902 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=1/FAILURE)
  Process: 31361 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
 Main PID: 1083 (code=exited, status=0/SUCCESS)

Jun 08 12:53:19 sitehosting systemd[1]: Starting The Apache HTTP Server...
Jun 08 12:53:19 sitehosting apachectl[31361]: AH00526: Syntax error on line 35 of /etc/apache2/sit
Jun 08 12:53:19 sitehosting apachectl[31361]: SSLCertificateFile: file '/etc/letsencrypt/live/sshi
Jun 08 12:53:19 sitehosting apachectl[31361]: Action 'start' failed.
Jun 08 12:53:19 sitehosting apachectl[31361]: The Apache error log may have more information.
Jun 08 12:53:19 sitehosting systemd[1]: apache2.service: Control process exited, code=exited statu
Jun 08 12:53:19 sitehosting systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 08 12:53:19 sitehosting systemd[1]: Failed to start The Apache HTTP Server.

答案1

根据您的屏幕截图,您的 apache 配置文件中有一个错误。也许 image Magick 错误地编辑了 apache 文件?运行“apachectl configtest”

相关内容