apache still broken

Jakub Bogusz qboosh at pld-linux.org
Thu Sep 16 20:00:41 CEST 2004


poldek> upgrade apache*
[...]
Executing rpm --upgrade -vh --root / --noorder...
Preparing...                ########################################### [100%]
   1:apache-apxs            ########################################### [ 17%]
   2:apache                 ########################################### [ 33%]
Stopping httpd.prefork service.....................................[ DONE ]
Waiting for httpd to stop..........................................[ DONE ]
Starting httpd.prefork service.....................................[ DONE ]
   3:apache-mod_ssl         ########################################### [ 50%]
Stopping httpd.prefork service.....................................[ DONE ]
Waiting for httpd to stop..........................................[ DONE ]
Starting httpd.prefork service.....................................[ DONE ]
   4:apache-mod_auth        ########################################### [ 67%]
Stopping httpd.prefork service.....................................[ DONE ]
Starting httpd.prefork service.....................................[ FAIL ]
(48)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
   5:apache-mod_dir         ########################################### [ 83%]
Run "/etc/rc.d/init.d/httpd start" to start apache http daemon.
   6:apache-mod_status      ########################################### [100%]
Run "/etc/rc.d/init.d/httpd start" to start apache http daemon.
poldek>

and httpd is still running, but init script think it's not.
I must have called manually:
# httpd.prefork -f /etc/httpd/httpd.conf -k stop
# /etc/rc.d/init.d/httpd restart
httpd.prefork service is not running.
Starting httpd.prefork service.....................................[ DONE ]

It seems that in some situations this init script condition fails:

if [ ! $PID -eq 0 -a $RET -eq 0 ]; then


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list