Page 1 of 1

Log scanner reports sent randomly

Posted: 29 Jul 2016, 10:53
by SamSpade
I noticed that the Log Scanner Report is not sent on a daily basis as it is configured. So one day i receive the report the other day I do not receive the report.

I observed this behaviour on two servers. I already removed CSF and re-installed it but no way. It still sends the reports randomly.

Checked also the crontab list but did not find any abnormalities.

Do you have any idea where to look and to fix the problem?

TIA and kind regards
Sam

Re: Log scanner reports sent randomly

Posted: 29 Jul 2016, 15:23
by ForumAdmin
Looking at the code it appears to be a conflict between a daily report and the fact lfd restarts on a daily basis automatically. To work around the issue until we are able to develop a solution you could set LOGSCANNER_INTERVAL to "manual" and create a cronjob which runs daily, e.g.:

Code: Select all

0 1 * * * /usr/sbin/csf --logrun

Re: Log scanner reports sent randomly

Posted: 01 Aug 2016, 08:04
by SamSpade
Thanks, that did the trick :)

Re: Log scanner reports sent randomly

Posted: 25 Aug 2016, 21:42
by Friends4U
Tnx !