Submitted by saoullabit on Tue, 12/22/2009 - 10:20 Pro Licensee
Hi,
I've just looking for the logs on one virtual server and there a many days that are missing in the log reports in Webaliser from 12/06 to 12/19. Please take a look at the attached file.
Can you please tell me what to do/fix ?
Regards, Marc.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 12/22/2009 - 13:39 Comment #1
Are there entries for those days in the actual log files for the domain under /var/log/virtualmin ?
Submitted by saoullabit on Wed, 12/23/2009 - 04:57 Pro Licensee Comment #2
Hi, there is no /var/log/virtualmin ...
Marc.
Submitted by JamieCameron on Wed, 12/23/2009 - 12:14 Comment #3
Ok .. how about in the
logs
directory in each domain's home directory?Submitted by saoullabit on Wed, 12/23/2009 - 14:34 Pro Licensee Comment #4
this does not impact -all- the domains
here the result of /home/guvirt/logs
-rwx------ 1 guvirt govirt 0 2008-05-28 21:59 .nodelete
-rw-r--r-- 1 guvirt govirt 2,0M 2009-11-22 06:25 access_log.5.gz
-rw-r--r-- 1 guvirt govirt 51K 2009-11-22 06:25 error_log.5.gz
-rw-r--r-- 1 guvirt govirt 2,0M 2009-11-29 06:25 access_log.4.gz
-rw-r--r-- 1 guvirt govirt 48K 2009-11-29 06:25 error_log.4.gz
-rw-r--r-- 1 guvirt govirt 2,1M 2009-12-06 06:25 access_log.3.gz
-rw-r--r-- 1 guvirt govirt 50K 2009-12-06 06:25 error_log.3.gz
-rw-r--r-- 1 guvirt govirt 20 2009-12-06 06:25 access_log.2.gz
-rw-r--r-- 1 guvirt govirt 184 2009-12-13 06:25 error_log.2.gz
-rw-r--r-- 1 guvirt govirt 20 2009-12-13 06:25 access_log.1.gz
-rw-r--r-- 1 guvirt govirt 185 2009-12-20 06:25 error_log.1.gz
drwxr-x--- 2 guvirt govirt 4,0K 2009-12-20 06:25 .
drwxr-x--- 17 guvirt govirt 4,0K 2009-12-23 13:01 ..
-rw-r--r-- 1 guvirt govirt 291K 2009-12-23 21:24 error_log
-rw-r--r-- 1 guvirt govirt 18M 2009-12-23 21:24 access_log
Marc.
Submitted by JamieCameron on Wed, 12/23/2009 - 15:36 Comment #5
So if you look at the access_log file for a domain for which the problem happened, does it have lines for the missing dates?
They may be in one of the older logs like access_log.1.gz , which you can list with the zless command.
Submitted by saoullabit on Thu, 12/24/2009 - 02:03 Pro Licensee Comment #6
Hi,
access.log.3 contains the logs until the 12/06. Access.log.2, Access.log.1 are empty files ! acces.log contains log sine the 12/20
Of course Webalizer could not calculate log if the is no log !
The question is: Why thoses log files are empty ?
Marc.
Submitted by JamieCameron on Thu, 12/24/2009 - 13:48 Comment #7
No idea, sorry .. unless they were rotated without Apache being restarted properly.
Do any of your other domains have similarly truncated Apache log files?
Submitted by saoullabit on Sat, 05/15/2010 - 10:06 Pro Licensee Comment #8
works for now ... did not find out what was the problem. It works now that's all I need :-)
SaouLLaBiT