LFD keeps dying :(
Posted: 04 Oct 2019, 09:28
Hello!
We use CSF on 30+ servers since very long time ago, always without any serious issues. Only a few months ago, randomly LFD process just stops (many servers affected), giving this message and error bellow:
Oct 4 09:52:20 sh1 lfd[3171415]: iptables appears to have been flushed - running *csf startup*...
Oct 4 09:52:28 sh1 lfd[3171415]: csf startup completed
Oct 4 09:52:28 sh1 lfd[3315153]: *Error* csf reported an error (see /etc/csf/csf.error). *lfd stopped*, at line 7702
Oct 4 09:52:28 sh1 lfd[3315153]: daemon stopped
Oct 4 09:52:33 sh1 lfd[3171415]: *Error* pid mismatch or missing, at line 1120
Oct 4 09:52:33 sh1 lfd[3171415]: daemon stopped
root@s1 [/var/log]# cat /etc/csf/csf.error
Error: iptables command [/sbin/iptables -v -I SMTPOUTPUT -p tcp -m multiport --dports 25,26,465,587 -j LOGDROPOUT] failed, at line 1165 in /usr/sbin/csf
-----------------------
I can't seem to figure out what is going on. Any hint / help / suggestion would be much appreciated.
Thank you!
We use CSF on 30+ servers since very long time ago, always without any serious issues. Only a few months ago, randomly LFD process just stops (many servers affected), giving this message and error bellow:
Oct 4 09:52:20 sh1 lfd[3171415]: iptables appears to have been flushed - running *csf startup*...
Oct 4 09:52:28 sh1 lfd[3171415]: csf startup completed
Oct 4 09:52:28 sh1 lfd[3315153]: *Error* csf reported an error (see /etc/csf/csf.error). *lfd stopped*, at line 7702
Oct 4 09:52:28 sh1 lfd[3315153]: daemon stopped
Oct 4 09:52:33 sh1 lfd[3171415]: *Error* pid mismatch or missing, at line 1120
Oct 4 09:52:33 sh1 lfd[3171415]: daemon stopped
root@s1 [/var/log]# cat /etc/csf/csf.error
Error: iptables command [/sbin/iptables -v -I SMTPOUTPUT -p tcp -m multiport --dports 25,26,465,587 -j LOGDROPOUT] failed, at line 1165 in /usr/sbin/csf
-----------------------
I can't seem to figure out what is going on. Any hint / help / suggestion would be much appreciated.
Thank you!