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

[cobalt-users] Recieving a cron error in my email.



I am receiving this error in my mail box daily.


Subject:
Cron <root@www> run-parts /etc/cron.daily

Contents:
Warning: Truncating oversized referrer field


Every day it adds an additional warning.

Day1
Warning: Truncating oversized referrer field
Day2
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field
Day3
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field
********************************************
Here is the contents of     etc/cron.daily/logrotate
#!/bin/sh

/usr/sbin/logrotate /etc/logrotate.conf
********************************************

Here the content of /etc/logrotate.conf
************
# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 1

# 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 1M

# 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
****************

I am also running Webalizer which is also in the cron.daily folder.

Does anyone know how i can fix this.
Is It correct for those file sizes to only be 1 and 2 Meg?

Thanks,
David