Apache 1.3.12 access.log logging error

Apache 1.3.12 access.log logging error

Post by Eran Lach » Tue, 29 Feb 2000 04:00:00



Hello,

   Just compiled 1.3.12 on an SGI Origin 200 running Irix 6.5.6m
and gcc. Apache compiled and installed without a gliche.
However, my access.log shows every entry as originating from
255.255.255.255.

   If you have an idea as to how to solve this, please email me

Thanks,

-Eran

 
 
 

Apache 1.3.12 access.log logging error

Post by Joshua Sliv » Wed, 01 Mar 2000 04:00:00



> Hello,
>    Just compiled 1.3.12 on an SGI Origin 200 running Irix 6.5.6m
> and gcc. Apache compiled and installed without a gliche.
> However, my access.log shows every entry as originating from
> 255.255.255.255.

The library/compilers on some versions of Irix are messed up.
Try searching deja.com for similar things.

--
Joshua Slive

http://finance.commerce.ubc.ca/~slive/

 
 
 

Apache 1.3.12 access.log logging error

Post by Thomas Bind » Wed, 01 Mar 2000 04:00:00


[Posted and mailed]

Hi!



Quote:> However, my access.log shows every entry as originating from
> 255.255.255.255.

Don't use gcc or - not recommended - use a gcc which builds o32 objects.

Current gcc and IRIX cc have a minor difference when it comes to passing
small structs as function arguments, which result in inet_ntoa() always
return "255.255.255.255" (or sometimes "0.0.0.0") when the source was
compiled with gcc.

Use IRIX cc instead, or check the latest egcs, maybe the problem has
been resolved by now. The last time I checked, the problem was known,
but a solution was said to require major changes in the code generation
process.

> If you have an idea as to how to solve this, please email me directly


I've also sent this as a mail, but would you please not forget that this
is a public newsgroup, not a private helpdesk? Others may be interested
in the answer as well, and it's also considered impolite to publically
ask for a question, let someone do the "dirty work" for you (especially
as this very question could've been easily solved by consulting Deja
News, maybe even some FAQ) and then even expect to be served the answer.

Ciao

Thomas

--