httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Warner <>
Subject [users@httpd] Debian Apache2 2.0.47-1 broken with my configuration
Date Fri, 18 Jul 2003 11:37:56 GMT
Hi all,

What was meant to be a routine upgrade from libapr0_2.0.46-3_i386.deb,
apache2-common_2.0.46-3_i386.deb and apache2-mpm-worker_2.0.46-3_i386.deb
to 2.0.47-1 has exposed a bug within Apache, the Debian packages or my

I have spent many hours since I first tried upgrading 2.0.46-3 in the early
hours of the morning attempting to isolate the problem, complicated by the
fact that the server is in public use.

I have gone right through the configuration and made it as close to
Debian's default configuration and as minimal as possible. These are the
only differences between Debian's default apache2.conf and mine:

< LockFile /var/lock/apache2/accept.lock
> <IfDefine proxy>
>   LockFile /var/lock/apache2/accept_proxy.lock
> </IfDefine>
> <IfDefine server>
>   LockFile /var/lock/apache2/accept_server.lock
> </IfDefine>
< PidFile /var/run/
> <IfDefine proxy>
>   PidFile /var/run/
> </IfDefine>
> <IfDefine server>
>   PidFile /var/run/
> </IfDefine>
< NameVirtualHost *
> #NameVirtualHost *
< ErrorLog /var/log/apache2/error.log
> <IfDefine proxy>
>   ErrorLog /var/log/apache2/error_proxy.log
> </IfDefine>
> <IfDefine server>
>   ErrorLog /var/log/apache2/error_server.log
> </IfDefine>
< UseCanonicalName Off
> UseCanonicalName On

The "proxy" loads the modules

The "server" loads the modules:

The servers listen on ports:
<IfDefine proxy>
Listen 80
Listen 443

<IfDefine server>
Listen 81

My entire /etc/apache2 configuration can be downloaded from here [I also
included my custom /etc/init.d/apache2 file (as etc-init.d-apache2)]:

The "server" starts up fine, i.e. I can locally bypass the proxy and
access it. The "proxy" fails to even start up properly. Please refer to
this strace:
<>    (186kB)
<> (13kB)

Created using this command in the startup:
strace -f /usr/sbin/apache2ctl -D proxy -k start &> /tmp/apache2-proxy-strace

Note that even though the strace ends in...

[pid  1500] <... clone resumed> child_stack=0xbedffbd0, flags=CLONE_VM|CLONE_FS|
[pid  1509] rt_sigsuspend(~[ILL TRAP ABRT BUS FPE KILL SEGV USR2 PIPE STOP SYS R
TMIN 33] [tcb table full]
 <unfinished ...>
[pid  1503] <... clone resumed> child_stack=0xbf1ffbd0, flags=CLONE_VM|CLONE_FS|
[pid  1510] rt_sigsuspend(~[ILL TRAP ABRT BUS FPE KILL SEGV USR2 PIPE STOP SYS R
TMIN 33] [tcb table full]
 <unfinished ...>
Process 1499 detached
Process 1500 detached
Process 1498 detached
Process 1501 detached
Process 1502 detached
Process 1503 detached
Process 1504 detached
Process 1505 detached
Process 1506 detached
Process 1507 detached
Process 1508 detached
Process 1509 detached
Process 1510 detached
Process 1511 detached

...I had only started the processes, not stopped them.

If you soon download the files they're coming from the problem server
which is quickly back to 2.0.46-3.

I initially raised this issue in Debian's Apache mailing list:

This response is hopefully more useful. For example it appears I had
earlier performed an strace on the wrong Apache "server".

Many thanks,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message