logrotate Problem

Herta Van den Eynde herta.vandeneynde at gmail.com
Tue Jan 8 11:10:03 UTC 2008


On 08/01/2008, Marcos Aurelio Rodrigues <deigratia33 at gmail.com> wrote:
> give more information to us...
>
> but, questions for you. Is the cron running?
>
> is there a file? /etc/cron.daily/logrotate
>
>
>
> --
> ========================================
> Marcos Aurelio Rodrigues (DEiGrAtiA-33)
> <deigratia33 at gmail.com>
> CCNA
> Mirabilia laudo semprer, Dei
> ========================================
>
>
> On Jan 8, 2008 4:47 AM, Vivek Mangal <vivek.mangal9685 at gmail.com> wrote:
>
> > Hello All,
> >
> > I have a Problem to create the log file
> > i configured logrotate.conf as
> >
> > \\\\\\\\ /etc/logrotate.conf file\\\\\\\\\\
> > # 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
> > # RPM packages drop log rotation information into this directory
> > include /etc/logrotate.d
> > # no packages own wtmp -- we'll rotate them here
> > /var/log/wtmp {
> >    monthly
> >    create 0664 root utmp
> >    rotate 1
> > }
> > \\\\\\\\\\End of Log file \\\\\\\\\\
> > --

Also verify that /etc/logrotate.d/syslog exists.  If it exists, please
post it contents.

Kind regards,

Herta




More information about the redhat-list mailing list