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

[cobalt-users] Raq3i : need /etc/cron.daily/analog file



Oops.. got delete happy.. can some please send me..

/etc/cron.daily/analog

I installed the webalizer pkg yesterday and indeed I have stats this AM <yippee>

But I still don't have the rotate down properly. My own site is only giving me 3 days, other 5 days, some (slow traffic) show longer periods.

Additionally, webalizer truncated some of my log files
[snip]
Warning: Truncating oversized request field
Warning: Truncating oversized referrer field [4818]
Warning: Truncating oversized request field [4818]
Error: Skipping oversized log record
Error: Skipping oversized log record
[snip]

maybe someone can set me straight here??

/etc/logrotate.d/home looks like:

/home/sites/home/logs/mail.log {
   missingok
   compress
   size 30M
}

/home/sites/home/logs/ftp.log {
   missingok
   compress
   size 30M
}

/home/sites/home/logs/web.log {
   missingok
   compress
   size 30M
}


/etc/logrotate.conf looks like:

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# send errors to root
errors root

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
compress

# Put in a generic size limit so things don't go wild
size 10M

# RPM packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
    monthly
    size 2M
    create 0664 root root
    rotate 1
}

/var/log/lastlog {
    monthly
    size 2M
    rotate 1
}

# system-specific logs may be configured here

Sometime yesterday I ran webalizer and it generated reports for all the sites on the box.. but when I call it today, it updated some stats but not all (3 total - home, site9 & site12). One site (site21) the stats directory was created but no stats produced at all the directory is empty. On the sites that were not updated today, the web.log is zero bytes since the crons ran at 4am This concerns me very much.. site21 logs directory shows no activity at all.. ever! I guess I'll have to call my host people to look into that!

My site (home - beautytech.com) is not reporting properly.. I know I get more traffic than it shows here.. I suppose that has to do with the truncated log files.

Any help here would be very appreciated..

some links to peek:
http://www.airsourceonelimited.com/stats/usage_200007.html
http://www.bahamas-music.com/stats/usage_200007.html
http://www.nailsdirect.com/stats/usage_200007.html
http://www.charni.com/stats/usage_200007.html (not updated)
http://www.beautytech.com/stats/usage_200007.html



Regards,
Debbie  ^v^   ///\o/\\\    ^v^
webmaster@xxxxxxxxxxxxxx (AIM NailGdsss  ICQ 354179)
WWWeb Services, Ronkonkoma, NY
877-669-7953 - voicemail/fax
BeautyTech / SalonMart
http://beautytech.com/   http://salonmart.com