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

Re: [cobalt-users] Cron <root@www> run-parts /etc/cron.daily



Hello

> > After  installing  the webalizer pakackage yesterday, it looks like it
> > is  working fine now.  However I got a Cron email sent to the admin of the
> > server that I have never received before:
> >
> > Warning: Truncating oversized referrer field
> > Warning: Truncating oversized referrer field
> > Warning: Truncating oversized referrer field
> > Warning: Truncating oversized referrer field

This is webalizer being verbose and outputting all errors when it is run via cron each night. To stop this you need to edit
webalizer.conf.

pico -w /etc/webalizer.conf

Look for this:

# The Quiet option suppresses output messages... Useful when run
   # as a cron job to prevent bogus e-mails. Values can be either
   # "yes" or "no". Default is "no". Note: this does not suppress
   # warnings and errors (which are printed to stderr).

   #Quiet no     <---  Change to yes

   # ReallyQuiet will supress all messages including errors and
   # warnings. Values can be 'yes' or 'no' with 'no' being the
   # default. If 'yes' is used here, it cannot be overriden from
   # the command line, so use with caution. A value of 'no' has
   # no effect.

   #ReallyQuiet no     <---  Change to yes

Thats it. Check your log files the next day.

Ja