[prev in list] [next in list] [prev in thread] [next in thread]
List: taroon-list
Subject: Re: Logs not rotating
From: Dominic Rivera <dominic () semicolonpee ! com>
Date: 2004-06-29 15:31:51
Message-ID: 71AC68F1-C9E1-11D8-A179-000D934FBB26 () semicolonpee ! com
[Download RAW message or body]
Try:
]# logrotate --debug --verbose --force
which will force logrotate to try and rotate all of your logs, and
output them in a verbose fashion in debug mode so your logs will not
actually get rotated.
Note that logrotate will also include all of the files in
/etc/logrotate.d
I suspect you will find the problem with the first command, if not send
the output and we can try and help you.
-Dominic
On Jun 29, 2004, at 8:14 AM, Karasik, Vitaly wrote:
> 1) it seems to be original one. In fact, you can check if you have
> original logrotate config by running
>
> rpm -V logrotate
>
> 2) try to run
>
> logrotate /etc/logrotate.conf
>
> command manually nad check return code [echo $? ]
>
> you may add "-v" key for verbose
>
> 3) >wildcards are used to
>> describe the files to be rotated
>
> about which file are you speaking?
>
>
>> -----Original Message-----
>> From: Richard R. Danielson [mailto:rdan@vianet.on.ca]
>> Sent: Tue, June 29, 2004 2:48 PM
>> To: Karasik, Vitaly; 'Discussion of Red Hat Enterprise Linux
>> 3 (Taroon)'
>> Subject: RE: Logs not rotating
>>
>>
>> Thanks for the response. I'm not sure where to find the
>> customized one. My
>> logrotate.conf file is as follows:
>>
>> # 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
>> }
>>
>> # system-specific logs may be also be configured here.
>>
>> Rick Danielson
>>
>> -----Original Message-----
>> From: Karasik, Vitaly [mailto:vkarasik@ndsisrael.com]
>> Sent: June 29, 2004 7:39 AM
>> To: rdan@vianet.on.ca; Discussion of Red Hat Enterprise Linux
>> 3 (Taroon)
>> Subject: RE: Logs not rotating
>>
>> do you use original logrotate config or the customized one?
>>
>>
>>
>>
>>
> ***********************************************************************
> ************
> Information contained in this email message is intended only for use
> of the individual or entity named above. If the reader of this message
> is not the intended recipient, or the employee or agent responsible to
> deliver it to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is
> strictly prohibited. If you have received this communication in error,
> please immediately notify the postmaster@nds.com and destroy the
> original message.
> ***********************************************************************
> ************
>
>
> --
> Taroon-list mailing list
> Taroon-list@redhat.com
> http://www.redhat.com/mailman/listinfo/taroon-list
>
>
Dominic Rivera (dominic@semicolonpee.com)
(503) 810-9408
6233 SW Arbor Grove Dr
Corvallis, Or 97333
--
Taroon-list mailing list
Taroon-list@redhat.com
http://www.redhat.com/mailman/listinfo/taroon-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic