Asterisk Logfile Noation full.0, full.1, full.2

For some reason, my asterisk logfiles are not resetting after 7 and instead are just continuing to pile up. Do I have an incorrect setting somewhere?

image

image

appears to be a permissions issue. I ran a fwconsole chown and the logfiles seem to be acting normally.

I logged into a system now. And it seems like this was caused by something back in July.

[email protected] asterisk]# ll | grep full
-rw-rw-r--  1 asterisk asterisk      53794 Jan 29 06:53 full
-rw-rw-r--  1 asterisk asterisk          0 Sep  4 04:02 full.0
-rw-rw-r--  1 asterisk asterisk          0 Sep  3 04:02 full.1
-rw-rw-r--  1 asterisk asterisk          0 Aug 19 04:02 full.10
-rw-rw-r--  1 asterisk asterisk          0 Aug 18 04:02 full.11
-rw-rw-r--  1 asterisk asterisk          0 Aug 14 04:02 full.12
-rw-rw-r--  1 asterisk asterisk          0 Aug 13 04:02 full.13
-rw-rw-r--  1 asterisk asterisk          0 Aug 12 04:02 full.14
-rw-rw-r--  1 asterisk asterisk          0 Aug 11 04:02 full.15
-rw-rw-r--  1 asterisk asterisk          0 Aug  7 04:02 full.16
-rw-rw-r--  1 asterisk asterisk          0 Aug  6 04:02 full.17
-rw-rw-r--  1 asterisk asterisk          0 Aug  5 04:02 full.18
-rw-rw-r--  1 asterisk asterisk          0 Aug  4 04:02 full.19
-rw-rw-r--  1 asterisk asterisk          0 Sep  2 04:02 full.2
-rw-rw-r--  1 asterisk asterisk          0 Jul 30  2020 full.20
-rw-rw-r--  1 asterisk asterisk  146599809 Jan 23 04:02 full-20210123
-rw-rw-r--  1 asterisk asterisk    2370421 Jan 24 04:02 full-20210124
-rw-rw-r--  1 asterisk asterisk    3505896 Jan 25 04:02 full-20210125
-rw-rw-r--  1 asterisk asterisk  370806742 Jan 26 04:02 full-20210126
-rw-rw-r--  1 asterisk asterisk  347525666 Jan 27 04:02 full-20210127
-rw-rw-r--  1 asterisk asterisk  301459945 Jan 28 04:02 full-20210128
-rw-rw-r--  1 asterisk asterisk  413069480 Jan 29 04:02 full-20210129
-rw-rw-r--  1 asterisk asterisk          0 Jul 29  2020 full.21
-rw-rw-r--  1 asterisk asterisk          0 Jul 28  2020 full.22
-rw-rw-r--  1 asterisk asterisk 1402293287 Aug 31 22:52 full.3
-rw-rw-r--  1 asterisk asterisk          0 Aug 28 04:02 full.4
-rw-rw-r--  1 asterisk asterisk          0 Aug 27 04:02 full.5
-rw-rw-r--  1 asterisk asterisk          0 Aug 26 04:02 full.6
-rw-rw-r--  1 asterisk asterisk          0 Aug 25 04:02 full.7
-rw-rw-r--  1 asterisk asterisk          0 Aug 21 04:02 full.8
-rw-rw-r--  1 asterisk asterisk          0 Aug 20 04:02 full.9

In this case on sept 5th last year logrotating was switched to date named files, logrotate would not be aware of full.[1-9]{1,2} files, they would need to be deleted manually

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.