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

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



Package: apache2.2-common
Version: 2.2.9-6
Severity: important


After upgrade to lenny apache started to fail after logrotate.
I found that after reload or restart it was still running, listening on
network socket but not answering reqests. The only way was to kill it
with kill -9. Log for reload says just:

[notice] Graceful restart requested, doing restart

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. 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.

Regards
Vladislav Kurz


-- Package-specific info:
List of enabled modules from 'apache2 -M':
  actions alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi deflate dir env expires
  ext_filter imagemap include mime_magic mime negotiation php5
  proxy_connect proxy_ftp proxy_http proxy rewrite setenvif ssl
  status suexec userdir vhost_alias

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (60, 'testing'), (30, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686-bigmem
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork           2.2.9-6    Apache HTTP Server - traditional n

apache2 recommends no packages.

Versions of packages apache2.2-common depends on:
ii  apache2-utils           2.2.9-5          utility programs for webservers
ii  libapr1                 1.2.7-8.2        The Apache Portable Runtime Librar
ii  libaprutil1             1.2.12+dfsg-7    The Apache Portable Runtime Utilit
ii  libc6                   2.7-10           GNU C Library: Shared libraries
ii  libmagic1               4.17-5etch3      File type determination library us
ii  libssl0.9.8             0.9.8g-10        SSL shared libraries
ii  lsb-base                3.1-23.2etch1    Linux Standard Base 3.1 init scrip
ii  mime-support            3.39-1           MIME files 'mime.types' & 'mailcap
ii  net-tools               1.60-17          The NET-3 networking toolkit
ii  perl                    5.10.0-11        Larry Wall's Practical Extraction 
ii  procps                  1:3.2.7-3        /proc file system utilities
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

-- no debconf information



Reply to: