Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Derek on December 21, 2005, 03:23:17 PM
-
Can anyone help out, i am now getting this error in the cron daily
/etc/cron.daily/logrotate:
error: modjk:12 unknown option 'dateext' -- ignoring line
error: modjk:14 unknown option 'maxage' -- ignoring line
error: modjk:14 unexpected text
Any thoughts on where to look and fix this?
-
Can anyone help out, i am now getting this error in the cron daily
/etc/cron.daily/logrotate:
error: modjk:12 unknown option 'dateext' -- ignoring line
error: modjk:14 unknown option 'maxage' -- ignoring line
error: modjk:14 unexpected text
Any thoughts on where to look and fix this?
Presumably you know what modjk is. It's not part of the standard install.
Look in /etc/logrotate.d/modjk - the logrotate command doesn't like something it finds there.
-
THis is the file, it is from installing Open-Exchange is a Tomcat Apache plugin, but i dont know what is causing the error in the cron or how to stop it, anyone with any ideas it would be appreciated.
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------
/var/log/httpd/mod_jk.log {
compress
dateext
copytruncate
maxage 30
size 1M
notifempty
rotate 99
}