[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#493573: apache2: Restart and reload does not work



On Sunday 03 August 2008, Vladislav Kurz wrote:
> Log for restart says this:
>
> [error] child process 27290 still did not exit, sending a SIGKILL
> [error] child process 27291 still did not exit, sending a SIGKILL
> [error] child process 27292 still did not exit, sending a SIGKILL
> [error] child process 27293 still did not exit, sending a SIGKILL
> [error] child process 27294 still did not exit, sending a SIGKILL
> (the above lines were repeated 4 times)
> [notice] caught SIGTERM, shutting down
>
> After writing the notice about restart or shutdown, the old apache
> process was still running, but not processing requests. 

Which processes are still running? The one running as root or those 
running as www-data or both?

> New apache 
> process could not be started because ports were occupied:
>
> (98)Address already in use: make_sock: could not bind to address
> [::]:80 (98)Address already in use: make_sock: could not bind to
> address 0.0.0.0:80 no listening sockets available, shutting down
> Unable to open logs
>  failed!
>
> I couldnt find any more info in logs. If you point me how to get
> more debug info I'l provide it.

You can also try (as root)

lsof -i -P|egrep TCP.*:80

to determine if it is really apache that is keeping the listening 
sockets open. If not you might be running into bug #366124.




Reply to: