2016-12-29 4 views
-2
[[email protected] 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. 

ответ

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 inteface или порт 80 недоступен, уже используется или заблокирован. В случае OS 98 это должен быть порт.