[K12OSN] Cron-Error
Eric Harrison
eharrison at mail.mesd.k12.or.us
Mon Oct 31 20:06:55 UTC 2005
Petre Scheie wrote:
> The system's daily maintenance cron jobs are stored in /etc/cron.daily.
> Included in there is logrotate, used for rotating logs so they don't
> fill up the disk(s). When logrotate is called, it looks in
> /etc/logrotate.d/ to see what log files it should rotate. One of the
> scripts in /etc/logrotate.d/ is schoolbell. If you look at
> /etc/logrotate.d/schoolbell, you'll see that it says schoolbells log
> files are /var/log/schoolbell/*.log. But I suspect your system may be
> missing the /var/log/schoolbell directory, or there are no *.log files
> within it. So, it spits out the error. If you're not running
> schoolbell, you could just remove the /etc/logrotate.d/schoolbell script.
>
> Petre
>
> he schoolbell script that's in /etc/logrotate.d
>
> Mark Sarria wrote:
>
>> Hello List,
>>
>> Can anyone tell me what this error is about.
>>
>> Error: stat of /var/log/schoolbell/*.log failed: No such file or
>> directory
>>
>> I have K12 Fedora 3 installed running as my samba-ldap server.
>>
>> Thanks
>>
>> -mark
Removing /etc/logrotate.d/schoolbell would do the trick.
The next time I rebuild the packages, I'll add "missingok" to
/etc/logrotate.d/schoolbell and /etc/logrotate.d/schooltool so they
won't generate this meaningless error...
-Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/k12osn/attachments/20051031/397cdbc8/attachment.sig>
More information about the K12OSN
mailing list