Configserver CSF 2.73 issues

pucky

Verified User
Joined
Sep 9, 2006
Messages
758
lfd refuses to start. Keeps telling me that the firewall is in TEST mode and to turn on the firewall line 81.

Option is already on;

# Testing flag - enables a CRON job that clears iptables incase of
# configuration problems when you start csf. This should be enabled until you
# are sure that the firewall works - i.e. incase you get locked out of your
# server! Then do remember to set it to 0 and restart csf when you're sure
# everything is OK. Stopping csf will remove the line from /etc/crontab
#
# lfd will not start while this is enabled
TESTING = 0

Feb 10 05:47:10 lfd[28537]: *Error* lfd will not run with TESTING enabled in /etc/csf/csf.conf, at line 81
Feb 10 05:47:10 lfd[28537]: daemon stopped
Feb 11 00:00:01 lfd[21792]: *Error* lfd will not run with TESTING enabled in /etc/csf/csf.conf, at line 81
Feb 11 00:00:01 lfd[21792]: daemon stopped

No matter what i do ever since this thing updated auto i have been unable to get lfd running.

Nothing wrong with line 81, it reads;

# Not supported: <<<-------------------- LINE 81
# DYNDNS, CC_DENY, CC_ALLOW, CC_ALLOW_FILTER, LF_DSHIELD, LF_SPAMHAUS,
# SYNFLOOD, PORTFLOOD, DYNDNS, ICMP_IN, ICMP_OUT, LF_NETBLOCK, MESSENGER,
# CC_IGNORE, CONNLIMIT
#
# Partially supported:
# CC_LOOKUPS - reverse DNS only and requires the perl module Socket6 from cpan
#
# MESSENGER service - not supported: no REDIRECT support in ip6tables as yet
#
IPV6 = "0"

Nothing in /var/log/lfd.conf

Anyone else?
 
Last edited:
Only thing I can think of is that 0 you don't have between quotes, mine says
TESTING = "0"

You never know maybe that's it..
 
Fixed.

Turn Auto UPDATES off IN csf CONFIG.

For DA always run; csf -u

othewise it will really mess things up.

I ran csf -u from shell and it updated and resolved whatever that was.
 
Only thing I can think of is that 0 you don't have between quotes, mine says
TESTING = "0"

You never know maybe that's it..

Hmm strange, my 0 is like 0 without quotes. Ill try that next time.
 
Back
Top