How to empty the accumulated errors in the folder?

Status
Not open for further replies.

JavierTG22

New Member
Feb 24, 2022
2
0
1
55
Hello everyone

I have a Fusion PBX and it has been blocked due to accumulation of errors, the way I had to prevent it from blocking services was by increasing the storage capacity, the query is, is there any way to configure it so that it is emptied every certain time? or by command line, how to empty the errors?

Thank you
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
I'm not sure that I understand your question. If you are referring to the FreeSWITCH log file then you can start a new one with:

Code:
fs_cli -x "fsctl send_sighup"

And then delete the old one if you wish.
 

JavierTG22

New Member
Feb 24, 2022
2
0
1
55
The issue is that my PBX began to block services to the point of not allowing access via the Web or SSH, I have the PBX in an Amazon Instance, I had to stop the instance and activate it again, that's the only way I managed to enter, checking the server errors shows us this, we find that there is no more space on the hard disk, I want to know how to empty the errors either by command line or by setting web.

1646052644567.png
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
You may simply have run out of disk space.

Go into /var/log and remove some logfiles then investigate why the disk is full
 
Status
Not open for further replies.