[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: RAQ3 Logs & stats not generating for sites



http://www.cobalt.com/support/download/raq3.eng.html has an OS patch
which apparently fixes this. When you get to the website look for "OS
Update 3.0". Our RaQ3 is not experiencing this problem, so I can't
report firsthand on the use of this patch as we haven't utilized it.

Jim Napier
Quantified Systems, Inc.
jnapier@xxxxxxxxxxxxxx

> Date: Mon, 29 Jan 2001 19:40:19 -0700
> To: cobalt-users@xxxxxxxxxxxxxxx
> From: Greg Hewitt-Long <greg@xxxxxxxxxxxxxxxxxxx>
> Subject: [cobalt-users] RAQ3 Logs & stats not generating for sites
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
> 
> Firstly, I apologize if this has been answered, but I couldn't find it, and even saw a similar posting go completely un-answered in the January posts:
> 
> Since 7th Jan, logs have not generated for ANY virtual site on our RAQ3...
> 
> The 'access' logfile in /var/log/httpd is clearing daily, but the web.log files in /home/sites/site##/logs/ are not updating.
> 
> I've run /etc/cron.daily/logrotate manually as root, and no errors are reported - main access file slims to nothing (and starts filling again), but no site logs are generated.
> 
> In case of permissions problems, I backed up and removed all web.log files using:
> 
> # cd /home/sites/
> # tar cvf - site*/logs/web.log | gzip > logs.tar.gz
> # rm site*/logs/web.log
> 
> Then ran a logrotate -f to force log rotation (as per the man page for logrotate), and still no logs for sites on the RAQ3...
> 
> I'm guessing that it's something REAL simple, but I've got none of the following creating,
> 
> -rw-r--r--   1 wyb site2     3022193 Jan  6 04:06 web.cache
> -rw-r--r--   1 wyb site2      504886 Jan  6 04:12 ftp.cache
> -rw-r--r--   1 wyb site2      452239 Jan  6 04:55 mail.cache
> -rw-r--r--   1 wyb site2      904442 Jan  7 04:10 web.stats
> -rw-r--r--   1 wyb site2     3029862 Jan  7 04:10 web.cache.new
> -rw-r--r--   1 wyb site2      452134 Jan  7 04:14 ftp.stats
> -rw-r--r--   1 wyb site2      228413 Jan  7 04:14 ftp.log.1.gz
> -rw-r--r--   1 wyb site2      505065 Jan  7 04:14 ftp.cache.new
> -rw-r--r--   1 wyb site2      206449 Jan  7 04:58 mail.stats
> -rw-r--r--   1 wyb site2      222530 Jan  7 04:58 mail.log.1.gz
> -rw-r--r--   1 wyb site2      453451 Jan  7 04:58 mail.cache.new
> -rw-rw-r--   1 wyb site2      466926 Jan 29 05:10 dnscache.dat
> 
> plus web.log, which of course doesn't exist, as I removed it!
> 
> I've also tried re-creating empty web.log files, ensuring traffic exists for the domain (loading a page and then checking using grep that lines existed in the /var/log/httpd/access file, then running :
> 
> /usr/sbin/logrotate -f /etc/logrotate.conf
> 
> I'm tearing my hair out on this now... (not much left)... ANY ideas gratefully received...  either to the group, or to me directly at: mailto:greg@xxxxxxxxxxxxxxxxxxx?SUBJECT=RAQ3-Logfiles
> 
> I'd like if possible, the correct permissions and ownerships on the following (to make sure I've not messed them up)
> 
> /etc/logrotate.d
> /etc/logrotate.d/*
> 
> /home/sites/site##/
> /home/sites/site##/logs/
> /home/sites/site##/logs/*
> 
> I know it's dangerous, but I even tried chmod 777 on the /home/site/site##/logs/ folder (ownership was httpd) and chmod 666 (with ownership root) on an empty web.log file - still nothing appeared in the logfile!?!?!
> 
> TIA
> 
> Greg Hewitt-Long
> 
> --
> http://www.webyourbusiness.com/
> Providers of E-Commerce Software &
> Web Design Consultancy and Services.
> PH: (970)266-0195 FAX: (970)266-0158
>