You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Randy Tejas <ra...@yahoo.com> on 2011/02/07 17:27:54 UTC

Re: [users@httpd] problem with extra numbers after %h hostname/ip address in access_log

The error_log also shows the problem:

[Mon Feb 07 10:26:01 2011] [error] [client 10.56.194.199194.199] File does not 
exist: /var/apache2/htdocs/favicon.ico





________________________________
From: Igor Galić <i....@brainsware.org>
To: users@httpd.apache.org
Sent: Sat, January 29, 2011 6:39:18 AM
Subject: Re: [users@httpd] problem with extra numbers after %h hostname/ip 
address in access_log


----- "Randy Tejas" <ra...@yahoo.com> wrote:

> Sorry I do not have control over software version as it is in a global
> solaris zone.
> 
> I have been restarting with svcadm restart svc:/network/http:apache2
> or
> /usr/apache2/bin/apachectl restart

Brrr... right.. Solaris stock Apache httpd is.. after all 30923804
years old. At a rough estimate. But that's probably not to blame here.

> and it doesn't help.
> 
> Netstat shows the right ip addresses:
> 
> [root@cgappd81 logs]# netstat -an | grep '\.80'
> *.80 *.* 0 0 49152 0 LISTEN
> 10.62.32.67.80 10.56.232.162.3233 65530 0 50400 0 ESTABLISHED
> *.80 *.* 0 0 49152 0 LISTEN
> [root@cgappd81 logs]#
> 
> The only change I have made to the conf file is to try to troubleshoot
> %h and the problem is contained therein. How is that variable created?
> (environment variable?)
> 
> I did just find that the problem crops up when you look at the env
> variables using perl.
> 
> REMOTE_ADDR = 10.56.232.162232.162
> SERVER_ADDR = 10.62.32.672.32.67
> 
> but not on
> HTTP_HOST = 10.62.32.67
> SERVER_NAME = 10.62.32.67
> 
> FWIW the first entry where the problem happens: 10.56.194.252194.252 -
> - [10/Jan/2011:16:57:37 -0600] "GET
> > /images/search/ac_collectio
> 
> there is no such /images directory or /images/search/ac_etc. but they
> got the appropriate 404.


From this I assume that it doesn't happen in the error log either.

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] problem with extra numbers after %h hostname/ip address in access_log

Posted by Hendrik Schmieder <he...@jedox.com>.
Randy Tejas schrieb:
> *From:* Igor Galić <i....@brainsware.org>
> *To:* users@httpd.apache.org
> *Sent:* Sat, January 29, 2011 6:39:18 AM
> *Subject:* Re: [users@httpd] problem with extra numbers after %h
> hostname/ip address in access_log
>
>
> ----- "Randy Tejas" <randytejas@yahoo.com <ma...@yahoo.com>>
> wrote:
>
>  > Sorry I do not have control over software version as it is in a global
>  > solaris zone.
>  >
>  > I have been restarting with svcadm restart svc:/network/http:apache2
>  > or
>  > /usr/apache2/bin/apachectl restart
>
> Brrr... right.. Solaris stock Apache httpd is.. after all 30923804
> years old. At a rough estimate. But that's probably not to blame here.
>
>  > and it doesn't help.
>  >
>  > Netstat shows the right ip addresses:
>  >
>  > [root@cgappd81 logs]# netstat -an | grep '\.80'
>  > *.80 *.* 0 0 49152 0 LISTEN
>  > 10.62.32.67.80 10.56.232.162.3233 65530 0 50400 0 ESTABLISHED
>  > *.80 *.* 0 0 49152 0 LISTEN
>  > [root@cgappd81 logs]#
>  >
>  > The only change I have made to the conf file is to try to troubleshoot
>  > %h and the problem is contained therein. How is that variable created?
>  > (environment variable?)
>  >
>  > I did just find that the problem crops up when you look at the env
>  > variables using perl.
>  >
>  > REMOTE_ADDR = 10.56.232.162232.162
>  > SERVER_ADDR = 10.62.32.672.32.67
>  >
>  > but not on
>  > HTTP_HOST = 10.62.32.67
>  > SERVER_NAME = 10.62.32.67
>  >
>  > FWIW the first entry where the problem happens: 10.56.194.252194.252 -
>  > - [10/Jan/2011:16:57:37 -0600] "GET
>  > > /images/search/ac_collectio
>  >
>  > there is no such /images directory or /images/search/ac_etc. but they
>  > got the appropriate 404.
>
>
>  From this I assume that it doesn't happen in the error log either.
>
>
 > ------
 > The error_log also shows the problem:
 >
 > [Mon Feb 07 10:26:01 2011] [error] [client 10.56.194.199194.199] File
 > does not exist: /var/apache2/htdocs/favicon.ico
 >
 >
 >

(moved answer where it belongs)

This is not really a problem.
Just put a favicon.ico in  /var/apache2/htdocs/.

   Hendrik




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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