Server broken with 2.0.47-1
My apache2 servers don't work with 2.0.47-1! I have downgraded to
2.0.46-3.
There is no obvious cause but a ps reveals:
www-data 552 0.0 0.0 0 0 ? Z 01:32 0:00 [apache2] <defunct>
And these messages in suexec.log:
[2003-07-18 01:46:41]: too few arguments
[2003-07-18 01:46:43]: too few arguments
[2003-07-18 01:46:49]: too few arguments
Could it be related to this patch?:
http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=198981
In my SSL logs I'm seeing this:
[Fri Jul 18 00:39:39 2003] [notice] Apache/2.0.47 (Debian GNU/Linux) mod_ssl/2.0
.47 OpenSSL/0.9.7b configured -- resuming normal operations
[Fri Jul 18 00:39:39 2003] [info] Server built: Jul 15 2003 13:47:34
[Fri Jul 18 00:41:16 2003] [warn] child process 17416 still did not exit, sendin
g a SIGTERM
[Fri Jul 18 00:41:16 2003] [warn] child process 17416 still did not exit, sendin
g a SIGTERM
[Fri Jul 18 00:41:17 2003] [warn] child process 17416 still did not exit, sendin
g a SIGTERM
[Fri Jul 18 00:41:21 2003] [error] child process 17416 still did not exit, sendi
ng a SIGKILL
[Fri Jul 18 00:41:31 2003] [info] removed PID file /var/run/apache2_proxy.pid (p
id=17410)
I can make it happen in real time without even accessing a document. Start
with 2.0.46-3:
web:/var/log/apache2# /etc/init.d/apache2 stop
web:/var/log/apache2# ps aux
[confirmed apache2 no longer running]
web:/var/log/apache2# apt-get upgrade -u
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
apache2-common apache2-mpm-worker libapr0
3 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3255kB of archives.
After unpacking 995kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 54549 files and directories currently installed.)
Preparing to replace libapr0 2.0.46-3 (using .../libapr0_2.0.47-1_i386.deb) ...
Unpacking replacement libapr0 ...
Preparing to replace apache2-mpm-worker 2.0.46-3 (using .../apache2-mpm-worker_2.0.47-1_i386.deb) ...
Unpacking replacement apache2-mpm-worker ...
Preparing to replace apache2-common 2.0.46-3 (using .../apache2-common_2.0.47-1_i386.deb) ...
Unpacking replacement apache2-common ...
Setting up libapr0 (2.0.47-1) ...
Setting up apache2-common (2.0.47-1) ...
Installing new version of config file /etc/apache2/mods-available/dav.load ...
Setting up apache2-mpm-worker (2.0.47-1) ...
web:/var/log/apache2# /etc/init.d/apache2 start
Starting Apache 2...
And straight away I'll stop apache2:
web:/var/log/apache2# /etc/init.d/apache2 stop
Now I check the ssl logs and see:
[Fri Jul 18 02:04:33 2003] [info] Init: Initializing OpenSSL library
[Fri Jul 18 02:04:33 2003] [info] Init: Seeding PRNG with 512 bytes of entropy
[Fri Jul 18 02:04:33 2003] [info] Init: Generating temporary RSA private keys (5
12/1024 bits)
[Fri Jul 18 02:04:33 2003] [info] Init: Generating temporary DH parameters (512/
1024 bits)
[Fri Jul 18 02:04:33 2003] [info] Init: Initializing (virtual) servers for SSL
[Fri Jul 18 02:04:33 2003] [info] Server: Apache/2.0.47, Interface: mod_ssl/2.0.
47, Library: OpenSSL/0.9.7b
[Fri Jul 18 02:04:33 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/
apache2/suexec2)
[Fri Jul 18 02:04:33 2003] [info] Init: Initializing OpenSSL library
[Fri Jul 18 02:04:33 2003] [info] Init: Seeding PRNG with 512 bytes of entropy
[Fri Jul 18 02:04:33 2003] [info] Init: Generating temporary RSA private keys (5
12/1024 bits)
[Fri Jul 18 02:04:33 2003] [info] Init: Generating temporary DH parameters (512/
1024 bits)
[Fri Jul 18 02:04:33 2003] [info] Shared memory session cache initialised
[Fri Jul 18 02:04:33 2003] [info] Init: Initializing (virtual) servers for SSL
[Fri Jul 18 02:04:33 2003] [info] Server: Apache/2.0.47, Interface: mod_ssl/2.0.
47, Library: OpenSSL/0.9.7b
[Fri Jul 18 02:04:33 2003] [notice] Apache/2.0.47 (Debian GNU/Linux) mod_ssl/2.0
.47 OpenSSL/0.9.7b configured -- resuming normal operations
[Fri Jul 18 02:04:33 2003] [info] Server built: Jul 15 2003 13:47:34
[Fri Jul 18 02:04:36 2003] [warn] child process 582 still did not exit, sending
a SIGTERM
[Fri Jul 18 02:04:36 2003] [warn] child process 582 still did not exit, sending
a SIGTERM
[Fri Jul 18 02:04:37 2003] [warn] child process 582 still did not exit, sending
a SIGTERM
[Fri Jul 18 02:04:41 2003] [error] child process 582 still did not exit, sending
a SIGKILL
[Fri Jul 18 02:04:58 2003] [info] removed PID file /var/run/apache2_server.pid (
pid=568)
[Fri Jul 18 02:04:58 2003] [notice] caught SIGTERM, shutting down
Regards,
Adam
Reply to: