Generic produces this when trying to restart

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.
Post Reply
bloggerman
Junior Member
Posts: 25
Joined: 20 Jan 2007, 04:26

Generic produces this when trying to restart

Post by bloggerman »

This is on a CentOS and in Generic mode:

> /etc/init.d/csf restart
Stopping csf:Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Error: Setting LF_SSHD is repeated in /etc/csf/csf.conf - you must remove the duplicates and then restart csf and lfd., at line 68
[ OK ]

Starting csf:Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Error: Setting LF_SSHD is repeated in /etc/csf/csf.conf - you must remove the duplicates and then restart csf and lfd., at line 68
[ OK ]
lyttek
Junior Member
Posts: 33
Joined: 14 Dec 2006, 15:07

Post by lyttek »

I've seen this as well on multiple machines... the following entries are duplicated:

LF_SSHD = "1"

LF_FTPD = "1"

LF_SMTPAUTH = "0"

LF_POP3D = "0"

LF_IMAPD = "0"

LF_HTACCESS = "0"

LF_MODSEC = "0"

They are always added on directly underneath the associated _PERM setting.
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

I'll check the generic update code for this today.
Post Reply