[ARGUS] logrotate

Monah Baki monahbaki at gmail.com
Tue Sep 21 21:33:58 EDT 2021


Hi Carter,

The radium.out gets rotated every day in the format of radium.out-YYYYMMDD
(File size is in the MB), but I cannot "ra" or "ratop" any of the rotated
file nor the default radium.out. I can "ra" or "ratop" the radium.out only
when I delete radium.out and its starts populating. It's as if the
logrotate is somehow messing with all the files in /var/log/radium after
rotation.

my /etc/logrotate.d/radium:
      1 /var/log/radium/radium.out {
      2     daily
      3     missingok
      4     rotate 4
      5     minsize 1M
      6 }

I delete copytruncate just to make it as simple as possible will check
tomorrow if that resolved the issue.

On Tue, Sep 21, 2021 at 9:23 PM Carter Bullard <carter at qosient.com> wrote:

> Hey Monah,
> So not really sure that I understand ... is the file there ??  Is it
> getting bigger ?? Or is the file that ra is readiing got renamed and you're
> looking at a file that is done ??
> Carter
>
> [image: QoSient] <http://qosient.com/>
> Carter Bullard  <carter at qosient.com>• CEO
> 250 E 53rd Street Suite 501
> New York, New York 10022-2795
> Phone +1.212.588.9133 • Mobile +1.917.497.9494
>
> On Sep 21, 2021, at 1:11 PM, Monah Baki <monahbaki at gmail.com> wrote:
>
> 
> Hi all,
>
> I am having issues with reading my radium.out and any other rotated
> radium.out file
>
> my /etc/logrotate.d/radium:
>       1 /var/log/radium/radium.out {
>       2     daily
>       3     missingok
>       4     rotate 4
>       5     copytruncate
>       6     minsize 1M
>       7 }
>
> If I run run ra or ratop -r radium.out, it quickly goes into idle
>
>
> Thanks
> Monah
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20210921/d9aa01e9/attachment-0001.htm>


More information about the argus mailing list