Current time: 11-29-2024, 07:17 PM Hello There, Guest! (LoginRegister)


Post Reply 
apache error
Author Message
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #1
apache error
I am getting the following error in my /var/log/apach2/error.log file:

Code:
[Wed Nov 21 11:18:35 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:18:59 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:00 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:01 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:02 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:03 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:04 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:05 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:06 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:07 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:08 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:09 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:10 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:12 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:14 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:18 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:18 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:20 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:47 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:48 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:49 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:50 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:51 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:19:54 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:11 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:13 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:15 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:25 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:26 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:27 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:28 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:29 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:30 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:31 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:32 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:34 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:55 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:56 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:58 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:20:59 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:21:03 2007] [error] [client 127.0.0.1] File does not exist: /htdocs
[Wed Nov 21 11:21:04 2007] [error] [client 127.0.0.1] File does not exist: /htdocs

after some time the apache server gets really slow....no htdocs folders are missing in /var/www/virtual



help?! Smile
(This post was last modified: 11-21-2007 08:23 PM by grungy.)
11-21-2007 08:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: apache error
suse?
11-22-2007 12:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: apache error
Right user and permission on the htdocs folder ?

Greez BeNe
11-22-2007 01:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #4
RE: apache error
Debian Etch.......

which htdocs folder?
11-22-2007 01:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #5
RE: apache error
grungy Wrote:Debian Etch.......

which htdocs folder?

The client is 127.0.0.1? That seems weird... And also, when apache puts a message like this in its logs, it usually puts the full filesystem path to the file that is missing (atleast on my redhat system).

Do you somehow actually have a site up hosted on /htdocs ?

-
Jesse
11-22-2007 03:32 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #6
RE: apache error
Well if one of the htdocs folder was deleted apache would display the full path of the folder.. taht's during apache startup, I have tested that..

I host many sites, no htdocs are missing and I have no entry for /htdocs

Sad
11-22-2007 03:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #7
RE: apache error
grungy Wrote:Well if one of the htdocs folder was deleted apache would display the full path of the folder.. taht's during apache startup, I have tested that..

I host many sites, no htdocs are missing and I have no entry for /htdocs

Sad

Can you run a quick: `ls -la /var/www/virtual/*/htdocs` and just make sure that all the permissions on the htdocs folders are in sync? Maybe one of them is owned by root or something? Just an idea...
11-22-2007 03:59 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #8
RE: apache error
Ok, so I did:

ls -all /var/www/virtual/*/ | grep htdocs


and no folders are owned by root, only 4 htdocs folders have the group part owned by apache user that is www-data, like this:

drwxrwxr-x 11 vu2018 www-data 1024 2007-10-02 19:09 htdocs
11-22-2007 04:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #9
RE: apache error
So all the rest of them are like vu2345:vu2345, just the 4 are vu2345:www-data? I'd try changing those to all match with the same user/group, just for consistancy.

It doesn't seem like this would matter though, since they are chmod 775.
11-22-2007 04:12 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #10
RE: apache error
pasichnyk Wrote:So all the rest of them are like vu2345:vu2345, just the 4 are vu2345:www-data? I'd try changing those to all match with the same user/group, just for consistancy.

It doesn't seem like this would matter though, since they are chmod 775.


Did it.....still have the same problem....Sad
11-22-2007 04:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)