apache启动错误(尝试从svn迁移到git)

时间:2016-12-29 19:00:59

标签: apache svn

[ticksystem@fast svn]$ apachectl status

* httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Active: failed (Result: exit-code) since Thu 2016-12-29 12:15:46 EST; 3min 7s ago
    Docs: man:httpd(8)
          man:apachectl(8)
 Process: 11321 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
 Process: 11319 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 11319 (code=exited, status=1/FAILURE)

Dec 29 12:15:46 fast.tdi.net httpd[11319]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Dec 29 12:15:46 fast.tdi.net httpd[11319]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Dec 29 12:15:46 fast.tdi.net httpd[11319]: no listening sockets available, shutting down
Dec 29 12:15:46 fast.tdi.net httpd[11319]: AH00015: Unable to open logs
Dec 29 12:15:46 fast.tdi.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Dec 29 12:15:46 fast.tdi.net kill[11321]: kill: cannot find process ""
Dec 29 12:15:46 fast.tdi.net systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 29 12:15:46 fast.tdi.net systemd[1]: Failed to start The Apache HTTP Server.
Dec 29 12:15:46 fast.tdi.net systemd[1]: Unit httpd.service entered failed state.
Dec 29 12:15:46 fast.tdi.net systemd[1]: httpd.service failed.

1 个答案:

答案 0 :(得分:0)

仔细查看日志:

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 

(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

这些事件意味着IP接口或端口80不可用,已被使用或被阻止。在OS 98的情况下,它应该是端口。