Logrotate error - ALERT exited abnormally with [1]

0

Hi.

logrotate: ALERT exited abnormally with [1]

logrotate: error: failed to open config file sdnlogs: No such file or directory

 

These logs are shown frequently. After I googling, it might be a kernel issue. But, I don't know what to access LMOS's kernel. 

Firmware version is 7.1.34.12802.

Please let me know the way to access kemp's kernel or the way to solve the problem.

 

Thanks in advance

7 comments

Avatar
0
Tony Vaughan

Hello,

this is probably due to the SDN add-on, "SdnAdaptiv"
if you are not planning on using SDN adaptive balancing, you can delete this add-on and reboot the unit,
this should prevent the logs from appearing

Avatar
0
yeongil Hwang

Hello,

It works well. the logs are gone after deleting the addon. Thanks for your help.

But, I don't know whether logrotate works well or not. Could you explain the way to function logrotate in kemp LMOS?

Thanks in advance

Avatar
0
Tony Vaughan

Hello,

Log rotate will help prevent the hard disk being full by deleting the oldest log files,
this is manly used for ESP and WAF logs as they will generate more logs than the system messages normally would,

 

Avatar
0
yeongil Hwang

Hello, Tony.

 

Thanks for your kindness.

Thus, according to your answer, I understood that basic system logs such as warning message or system message are not rotated. Is it correct?
If so, do i have to check how big the log is manually?

I want to confirm it clearly.

Thanks in advance.

Avatar
0
Tony Vaughan

Hello,

in my previous post I mentioned that older logs are deleted,
they are actually compressed, sorry for my mistake

all logs should be available to be compressed,
however since ESP and WAF logs will normally generate more logs you would see these files be compressed first

at this time it is not possible to manually change how often the files are compressed, or to check the current amount of free space on the LoadMaster hard drive,

I would recommend opening a feature request for both these topics

just to note on a virtual LoadMaster the default hard drive size is 16 GBs,
14 GBs are partitioned for Logging

Avatar
0
yeongil Hwang

Hello, Tony

 

Thanks for your kind response.

 

I see. all logs will be compressed. So, could you tell me the default policy about compression such as how often or how big

 

Thanks in advance

young

Avatar
0
Tony Vaughan

Hello, 

since the original topic has been resolved "logrotate: error: failed to open config file sdnlogs: No such file or directory"
I have opened a ticket with my colleagues in support to follow up on your other questions,
you should get a response from them shortly