Centos 7とApacheに関する問題

Centos 7とApacheに関する問題
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since lun 2017-06-05 10:27:06 PDT; 47s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 37620 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 37609 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 37609 (code=exited, status=1/FAILURE)

jun 05 10:27:05 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
jun 05 10:27:06 localhost.localdomain httpd[37609]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on ...ection
jun 05 10:27:06 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
jun 05 10:27:06 localhost.localdomain kill[37620]: kill: cannot find process ""
jun 05 10:27:06 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
jun 05 10:27:06 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
jun 05 10:27:06 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
jun 05 10:27:06 localhost.localdomain systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

ベストアンサー1

Apacheの設定を見てください。表示されたログによると、エラーがあるようです。

jun 05 10:27:06 localhost.localdomain httpd[37609]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on ...ection

おすすめ記事