Log scanner reports sent randomly

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
4 posts Page 1 of 1
SamSpade
Junior Member
Posts: 5
Joined: 29 Jul 2016, 10:42


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
ForumAdmin
Moderator
Posts: 1433
Joined: 01 Oct 2008, 09:24


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
SamSpade
Junior Member
Posts: 5
Joined: 29 Jul 2016, 10:42


Thanks, that did the trick :)
Friends4U
Junior Member
Posts: 2
Joined: 21 Aug 2016, 11:20


Tnx !
4 posts Page 1 of 1