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

Re: [cobalt-users] Qube 2 Cron Daemon reports error with secureweb



On Tue, 2001-09-18 at 09:09, James Binnion wrote:
> 
> I get a email from the Cron Daemon every day that states the following:
> 
> 
> error: secureweb:2 unknown option 'missingok' -- ignoring line
> [snip]
>
> can someone tell me how to fix the error condition it is reporting on?

This is due to the version of logrotate running on your qube2. 
'missingok' is a directive added in newer versions that tells logrotate
that it is ok if the file is missing and don't complain.  In the version
on the Qube2, this wasn't there, do it would fail silently to rotate the
log if it didn't exists.

The way to fix it is to modify the 'secureweb' file and remove the
missingok line.  This file is most likely located in /etc/logrotate.d/. 
Just edit that file and remove the line, no need to restart anything.

-- 
Jeff Lovell
Sun Microsystems Inc.