apache2 restart

Elan Ruusamäe glen at delfi.ee
Mon Oct 6 23:32:52 CEST 2014


apache2 restart has been always unreliable in pld

but in 2.4 it's super annoying. each restart fails with an error

# service httpd restart
Checking Apache 2.4 Web Server configuration.......................[ DONE ]
Stopping Apache 2.4 Web Server service.............................[ DONE ]
Starting Apache 2.4 Web Server service.............................[ FAIL ]
(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
no listening sockets available, shutting down
AH00015: Unable to open logs

and the port is in use by the same apache itself. restarting seconds 
later always "fixes":

# service httpd restart
Checking Apache 2.4 Web Server 
configuration......................................................................[ 
DONE ]
Apache 2.4 Web Server service is not running.
Starting Apache 2.4 Web Server 
service............................................................................[ 
DONE ]


-- 
glen



More information about the pld-devel-en mailing list