Current time: 11-26-2024, 04:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
apache error
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #11
RE: apache error
I think it's not in the virtual hosts - because the error.log is the common error-log of apache.

Do you have entries in the access.log for the same timestamps?

/J
11-22-2007 06:00 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: #12
RE: apache error
joximu Wrote:I think it's not in the virtual hosts - because the error.log is the common error-log of apache.

Do you have entries in the access.log for the same timestamps?

/J

no Sad
11-22-2007 07:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #13
RE: apache error
Quote:[client 127.0.0.1]
do you have awstats dynamic enabled? ... mod_proxy is used for that, so it might be related to it
11-22-2007 10:03 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: #14
RE: apache error
raphael Wrote:
Quote:[client 127.0.0.1]
do you have awstats dynamic enabled? ... mod_proxy is used for that, so it might be related to it

no...I even reinstalled apache and it didn't help, any ideas?
11-23-2007 04:43 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: #15
RE: apache error
Well, I just think how I'd deal with this subject...

There are 2 questions: who/what is the client (which process)
and which folder is meant on the server side...

for the cleint - I'd run sniffit or tcpdump on localhost/lo/127.0.0.1.. and on the server - well, this is maybe hard to find out - if all folders exists... hm...

I'm sure you checked all folders which come up with

grep -r htdocs /etc/apache2

... cheers
J
11-23-2007 07:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #16
RE: apache error
the other way to do it is by stracing the apache proc
11-24-2007 09:11 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: #17
RE: apache error
I'll figure out something..tnx all....
11-24-2007 07:43 PM
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: #18
RE: apache error
I have straced apache process and only thing that I saw was this:

Code:
stat64("/var/www/virtual/domain.net/htdocs/images/izvori/dnevni", 0xbfffd94c) = -1 ENOENT (No such file or directory)
open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/var/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/var/www/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
open("/var/www/virtual/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net", {st_mode=S_IFDIR|0770, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/htdocs/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs/images", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/htdocs/images/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs/images/izvori", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/htdocs/images/izvori/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs/images/izvori/dnevni", 0xbfffd94c) = -1 ENOENT (No such file or directory)


this occures for many domains not only one....


could this be the cause for the error?
11-28-2007 11:30 PM
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: #19
RE: apache error
The files on the filesystem could not be found. But the links are right. User uses joomla.

In the htdocs folder the file is called /var/www/virtual/domain.net/htdocs/images/izvori/dnevni.jpg

but the link is http://domain.net/images/izvori/dnevni and the link displays...

Could this be some kind of rewrite?
(This post was last modified: 11-28-2007 11:43 PM by grungy.)
11-28-2007 11:35 PM
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: 2 Guest(s)