File does not exist error in my error log
File does not exist error in my error log
am 24.08.2009 13:58:22 von jkamaraj
Hi,
=20
I recently upgraded from apache 1.3.37 to 1.3.41 ,I didn't change
any of the configuration parameter.
When I am using the apache 1.3.37 ,my http logs contain only 404
request, but there is no equivalent error line in error_log file
,provided LogLevel equals error .
Even with same LogLevel under apache 1.3.41 we are getting 404
request in our http log ,along with these we are also getting the error
[Mon Aug 24 05:00:29 2009] [error] [client 85.185.96.194] File does not
exist in our error_logs.=20
How to suppress only this error 'File does not exist ' not appear in
my error log ?
If possible provide me the reason why it is getting logged in
apache 1.3.41 but not in 1.3.37 .
Thanks,
Jai
=20
------------------------------------------------------------ ---------
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: File does not exist error in my error log
am 24.08.2009 14:34:42 von aw
Kamaraj, Jayakumar wrote:
> Hi,
>
> I recently upgraded from apache 1.3.37 to 1.3.41 ,
on which kind of platform ?
I didn't change
> any of the configuration parameter.
mmm. Maybe you did not, but maybe the update did ?
> When I am using the apache 1.3.37 ,my http logs
which exact file name is this ?
contain only 404
> request,
please show the exact line from the logfile
but there is no equivalent error line in error_log file
which exact filename is this ?
> ,provided LogLevel equals error .
>
> Even with same LogLevel under apache 1.3.41 we are getting 404
> request in our http log ,along with these we are also getting the error
> [Mon Aug 24 05:00:29 2009] [error] [client 85.185.96.194] File does not
> exist in our error_logs.
please show the exact line, as it appears in the logfile
> How to suppress only this error 'File does not exist ' not appear in
> my error log ?
You should probably find the reason for the error itself, not just
trying to suppress the error message.
> If possible provide me the reason why it is getting logged in
> apache 1.3.41 but not in 1.3.37 .
Not without the information requested above, and the following :
- which URL is the client trying to access ?
- if this is a file, does that file exist ? please provide the complete path
- where is your Apache configuration file ? (complete path)
- what is the value of "DocumentRoot" in that configuration file ?
------------------------------------------------------------ ---------
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: File does not exist error in my error log
am 24.08.2009 14:51:30 von jkamaraj
Hi,
For your questions here are my possible answers
Which kind of platform ?
Linux fw01 2.6.18-1.2798.fc6PAE #1 SMP Mon Oct 16 14:54:22 EDT 2006 i686 =
i686 i386 GNU/Linux
Error line in http access log :
2009-08-24~05:28:22~10.181.4.3~-~test123.com~pw12~10.183.22. 42~GET~/2.jpg=
~~404~0~19910~-~0~Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; =
rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2~s_cc=3Dtrue/***truncated**/=20
Error line in error_log :
[Mon Aug 24 05:28:22 2009] [error] [client 10.180.4.3] File does not =
exist: /data/*/www/2.jpg .
The url tried is http://jkamarajfree.9f.com/2.jpg=20
That file is not existing in the server also .We expected the 404 error =
in http access log but not the equivalent file doesnot exist error in =
error_log.
The DocumentRoot directive is not defined in the conf file ,since it is =
shared host type. The conf file is located in =
/home/free/conf/httpd.conf.
Please let me know if you want any more details.
Thanks,
Jai
-----Original Message-----
From: Andr=E9 Warnier [mailto:aw@ice-sa.com]=20
Sent: Monday, August 24, 2009 6:05 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] File does not exist error in my error log
Kamaraj, Jayakumar wrote:
> Hi,
> =20
> I recently upgraded from apache 1.3.37 to 1.3.41 ,
on which kind of platform ?
I didn't change
> any of the configuration parameter.
mmm. Maybe you did not, but maybe the update did ?
> When I am using the apache 1.3.37 ,my http logs
which exact file name is this ?
contain only 404
> request,
please show the exact line from the logfile
but there is no equivalent error line in error_log file
which exact filename is this ?
> ,provided LogLevel equals error .
>=20
> Even with same LogLevel under apache 1.3.41 we are getting 404=20
> request in our http log ,along with these we are also getting the=20
> error [Mon Aug 24 05:00:29 2009] [error] [client 85.185.96.194] File=20
> does not exist in our error_logs.
please show the exact line, as it appears in the logfile
> How to suppress only this error 'File does not exist ' not appear=20
> in my error log ?
You should probably find the reason for the error itself, not just =
trying to suppress the error message.
> If possible provide me the reason why it is getting logged in=20
> apache 1.3.41 but not in 1.3.37 .
Not without the information requested above, and the following :
- which URL is the client trying to access ?
- if this is a file, does that file exist ? please provide the complete =
path
- where is your Apache configuration file ? (complete path)
- what is the value of "DocumentRoot" in that configuration file ?
------------------------------------------------------------ ---------
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
------------------------------------------------------------ ---------
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: File does not exist error in my error log
am 24.08.2009 15:17:02 von aw
Kamaraj, Jayakumar wrote:
> Hi,
>
> For your questions here are my possible answers
>
> Which kind of platform ?
>
> Linux fw01 2.6.18-1.2798.fc6PAE #1 SMP Mon Oct 16 14:54:22 EDT 2006 i686 i686 i386 GNU/Linux
>
> Error line in http access log :
>
> 2009-08-24~05:28:22~10.181.4.3~-~test123.com~pw12~10.183.22. 42~GET~/2.jpg~~404~0~19910~-~0~Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2~s_cc=true/***truncated**/
>
> Error line in error_log :
>
> [Mon Aug 24 05:28:22 2009] [error] [client 10.180.4.3] File does not exist: /data/*/www/2.jpg .
>
> The url tried is http://jkamarajfree.9f.com/2.jpg
> That file is not existing in the server also .We expected the 404 error in http access log but not the equivalent file doesnot exist error in error_log.
>
Well, basically if the file does not exist, and a client is trying to
access it, you will get such an error line in the error log.
That is how Apache works, and it is the case in all Apache versions
which I know, including 2.x.
It is, after all, an error.
Now the question is, why does that client try to access a file that does
not exist ?
Is it one of your own pages that has a bad link in it ?
> The DocumentRoot directive is not defined in the conf file, since it
is shared host type.
That is something I do not really understand.
But I guess that the hosting organisation must be doing some heavy
URL-rewriting, to accomodate many "virtual" sites.
You could also ask them if they do not know a trick to hide these error
messages, if that is what you really want.
I personally would advise against it, because you would also not see
whenever someone is really trying to scan your site for security
weaknesses etc..
Now another purely personal opinion : this kind of "web server sharing"
is ok if this is your own personal website, for non-professional use.
But if you intend to do any serious professional stuff on this website,
then you really want your own full webserver, with full control over the
configuration.
------------------------------------------------------------ ---------
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: File does not exist error in my error log
am 24.08.2009 15:49:46 von Tom Evans
On Mon, 2009-08-24 at 17:28 +0530, Kamaraj, Jayakumar wrote:
> Hi,
>
> I recently upgraded from apache 1.3.37 to 1.3.41 ,I didn't change
> any of the configuration parameter.
> When I am using the apache 1.3.37 ,my http logs contain only 404
> request, but there is no equivalent error line in error_log file
> ,provided LogLevel equals error .
>
> Even with same LogLevel under apache 1.3.41 we are getting 404
> request in our http log ,along with these we are also getting the error
> [Mon Aug 24 05:00:29 2009] [error] [client 85.185.96.194] File does not
> exist in our error_logs.
> How to suppress only this error 'File does not exist ' not appear in
> my error log ?
> If possible provide me the reason why it is getting logged in
> apache 1.3.41 but not in 1.3.37 .
>
> Thanks,
> Jai
>
>
This code hasn't changed between 1.3.37 and 1.3.41, so any effect you
are seeing is misidentified. Are you sure that you didn't get them with
the earlier version, or that you are logging at the exact same log
level?
To answer your question, this error is logged at APLOG_ERR (in both
versions), so you would see it in 'error' and higher LogLevels. If you
want to suppress it, you must log at a lower level if you do not want to
see it, eg 'crit', 'alert' or 'emerg'. See
http://httpd.apache.org/docs/1.3/mod/core.html#loglevel for more
details.
Cheers
Tom
------------------------------------------------------------ ---------
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: File does not exist error in my error log
am 25.08.2009 06:44:00 von jkamaraj
Hi,
Thanks for your reply. I will try once more comparing this with
my old apache version error logs and will inform you.
Thanks,
Jai
-----Original Message-----
From: Tom Evans [mailto:tevans.uk@googlemail.com]=20
Sent: Monday, August 24, 2009 7:20 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] File does not exist error in my error log
On Mon, 2009-08-24 at 17:28 +0530, Kamaraj, Jayakumar wrote:
> Hi,
> =20
> I recently upgraded from apache 1.3.37 to 1.3.41 ,I didn't change=20
> any of the configuration parameter.
> When I am using the apache 1.3.37 ,my http logs contain only 404=20
> request, but there is no equivalent error line in error_log file=20
> ,provided LogLevel equals error .
>=20
> Even with same LogLevel under apache 1.3.41 we are getting 404=20
> request in our http log ,along with these we are also getting the=20
> error [Mon Aug 24 05:00:29 2009] [error] [client 85.185.96.194] File=20
> does not exist in our error_logs.
> How to suppress only this error 'File does not exist ' not appear=20
> in my error log ?
> If possible provide me the reason why it is getting logged in=20
> apache 1.3.41 but not in 1.3.37 .
>=20
> Thanks,
> Jai
>=20
> =20
This code hasn't changed between 1.3.37 and 1.3.41, so any effect you
are seeing is misidentified. Are you sure that you didn't get them with
the earlier version, or that you are logging at the exact same log
level?=20
To answer your question, this error is logged at APLOG_ERR (in both
versions), so you would see it in 'error' and higher LogLevels. If you
want to suppress it, you must log at a lower level if you do not want to
see it, eg 'crit', 'alert' or 'emerg'. See
http://httpd.apache.org/docs/1.3/mod/core.html#loglevel for more
details.
Cheers
Tom
------------------------------------------------------------ ---------
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
------------------------------------------------------------ ---------
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: File does not exist error in my error log
am 25.08.2009 06:51:05 von jkamaraj
Hi,
Basically this many errors comes for just favicon.ico .Anyway we will =
compare with our old apache logs and will inform you .
Thanks,
Jai
-----Original Message-----
From: Andr=E9 Warnier [mailto:aw@ice-sa.com]=20
Sent: Monday, August 24, 2009 6:47 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] File does not exist error in my error log
Kamaraj, Jayakumar wrote:
> Hi,
>=20
> For your questions here are my possible answers
>=20
> Which kind of platform ?
>=20
> Linux fw01 2.6.18-1.2798.fc6PAE #1 SMP Mon Oct 16 14:54:22 EDT 2006=20
> i686 i686 i386 GNU/Linux
>=20
> Error line in http access log :
>=20
> 2009-08-24~05:28:22~10.*.*.*~-~test123.com~pw12~10.183.22.42 ~GET~/2.
> jpg~~404~0~19910~-~0~Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;=20
> rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2~s_cc=3Dtrue/***truncated**/
>=20
> Error line in error_log :
>=20
> [Mon Aug 24 05:28:22 2009] [error] [client 10.180.4.3] File does not =
exist: /data/*/www/2.jpg .
>=20
> The url tried is http://jkamarajfree.9f.com/2.jpg That file is not=20
> existing in the server also .We expected the 404 error in http access =
log but not the equivalent file doesnot exist error in error_log.
>=20
Well, basically if the file does not exist, and a client is trying to =
access it, you will get such an error line in the error log.
That is how Apache works, and it is the case in all Apache versions =
which I know, including 2.x.
It is, after all, an error.
Now the question is, why does that client try to access a file that does =
not exist ?
Is it one of your own pages that has a bad link in it ?
> The DocumentRoot directive is not defined in the conf file, since it =
is shared host type.
That is something I do not really understand.
But I guess that the hosting organisation must be doing some heavy =
URL-rewriting, to accomodate many "virtual" sites.
You could also ask them if they do not know a trick to hide these error =
messages, if that is what you really want.
I personally would advise against it, because you would also not see =
whenever someone is really trying to scan your site for security =
weaknesses etc..
Now another purely personal opinion : this kind of "web server sharing"=20
is ok if this is your own personal website, for non-professional use.=20
But if you intend to do any serious professional stuff on this website, =
then you really want your own full webserver, with full control over the =
configuration.
------------------------------------------------------------ ---------
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
------------------------------------------------------------ ---------
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: File does not exist error in my error log
am 25.08.2009 09:05:14 von aw
Kamaraj, Jayakumar wrote:
> Hi,
>
> Basically this many errors comes for just favicon.ico .
Well if that is the case, just create that file and your errors will
disappear.
But this does not match your logfile message below. That one says the
file is 2.jpg.
....
>>
>> Error line in error_log :
>>
>> [Mon Aug 24 05:28:22 2009] [error] [client 10.180.4.3] File does not exist: /data/*/www/2.jpg .
>>
------------------------------------------------------------ ---------
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