i Have you tried inside /etc/logrotate.d/
On Thu, Jun 12, 2003 at 10:05:18AM +1000, [EMAIL PROTECTED] wrote:
>
> G'day all...
>
> Cron is sending me this error message (see attached email below), however /etc/
> cron.daily has no line 1420.
>
> /etc/cron.daily/logrotate is:
>
> #!/bin/sh
>
> test -x /usr/sbin/logrotate || exit 0
> /usr/sbin/logrotate /etc/logrotate.conf
>
> ---
>
> ...and /etc/logrotate.conf is:
>
> # see "man logrotate" for details
> # rotate log files weekly
> weekly
>
> # keep 4 weeks worth of backlogs
> rotate 4
>
> # create new (empty) log files after rotating old ones
> create
>
> # uncomment this if you want your log files compressed
> #compress
>
> # packages drop log rotation information into this directory
> include /etc/logrotate.d
>
> # no packages own wtmp, or btmp -- we'll rotate them here
> /var/log/wtmp {
> monthly
> create 0664 root utmp
> rotate 1
> }
>
> /var/log/btmp {
> missingok
> monthly
> create 0664 root utmp
> rotate 1
> }
>
> # system-specific logs may be configured here
>
> ---
>
> I can't seem to find any files that have 1420 lines.
>
> Any ideas?
>
> Warmest regards
>
> Mike
> ---
> Michael S. E. Kraus
> Network Administrator
> Capital Holdings Group (NSW) Pty Ltd
> p: (02) 9955 8000
> ----- Forwarded by Michael Kraus/CapitalHoldingsGroup/AU on 12/06/2003 10:01 AM
> -----
> [EMAIL
> PROTECTED]@ccaappiittaallhhoollddiinnggss..ccoomm..aauu
> ((CCrroonn
> DDaaeemmoonn)) To:
> 12/06/2003 06:28 AM [EMAIL PROTECTED]
> cc:
> Subject: Cron
> <[EMAIL PROTECTED]> test -e /usr/sbin/anacron
> || run-parts --report /etc/cron.daily
>
>
>
> /etc/cron.daily/logrotate:
> 2003/06/12 06:27:06| parseConfigFile: line 1420 unrecognized: 'n'
>
>
> --
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
pgp00000.pgp
Description: PGP signature
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
