Koozali.org: home of the SME Server

Cron run-parts /etc/cron.daily ERROR

Derek

Cron run-parts /etc/cron.daily ERROR
« 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?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cron run-parts /etc/cron.daily ERROR
« Reply #1 on: December 22, 2005, 12:00:36 AM »
Quote from: "Derek"
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.

Derek

Cron run-parts /etc/cron.daily ERROR
« Reply #2 on: December 22, 2005, 03:12:13 AM »
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
}