IP address in access_log are always 0.0.0.0

IP address in access_log are always 0.0.0.0

am 24.02.2010 19:39:26 von Frank Chiulli

List:
I believe that this is an apr or apr-utils issue. However, I could
not find a mailing list for either one. If I need to ask this
question elsewhere just let me know and I'll be gone.

The web server is running Red Hat Enterprise Linux AS release 4 Nahant
Update 6. Pretty much stock.

I was asked to update subversion to 1.6.6 on this box as well as
others. As part of that update, I updated both apr and apr-util from
0.9.4 to 0.9.13. Initially everything seemed to be ok. Then someone
noticed that all the IP addresses in /var/log/httpd/access_log had
changed from IPv4 to IPv6. So we changed the listen line in
httpd.conf to 'Listen 0.0.0.0:80'. Then all the addresses in
access_log were reported as 0.0.0.0. We have also tried putting the
exact IP address in that line rather than 0.0.0.0 with the same
result.

If I revert back to the old versions of apr and apr-util, the
addresses are reported correctly again.

I have googled for a solution and searched usenet but did not find a solution.

Does anyone on this list have a suggestion/solution?

Thanks,
Frank

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: IP address in access_log are always 0.0.0.0

am 26.02.2010 00:58:00 von wrowe

On 2/24/2010 12:39 PM, Frank Chiulli wrote:
>
> I was asked to update subversion to 1.6.6 on this box as well as
> others. As part of that update, I updated both apr and apr-util from
> 0.9.4 to 0.9.13. Initially everything seemed to be ok. Then someone
> noticed that all the IP addresses in /var/log/httpd/access_log had
> changed from IPv4 to IPv6.

Pick up httpd 2.0.63 and the current apr versions! You need to understand
that 0.9.4 -> 0.9.13 (which is already years too old!!!) was a larger
jump than binary compatibility will permit, and that you broke binary
compatibility again when you let APR pick up the presence of IPv6, which
might or might not have been present when the 0.9.4 was first installed.

0.9 doesn't exactly respect the same binary compatibility rules as versions
1.0 and later, because the rules were still evolving rapidly. When finally
the httpd 2.2 shipped, using apr 1.x, things had settled in and both the
projects are better able to enforce binary compatibility.

With your old and new APR libraries, you just swapped in a BMW engine
underneath the hood of your VW beetle, and this probably isn't the only
side effect of a badly fit component.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org