LFD fails on all new installations

Post Reply
Emilio
Junior Member
Posts: 12
Joined: 02 Apr 2007, 15:28

LFD fails on all new installations

Post by Emilio »

Hello, I recently tried to install CSF in cPanel servers and "cPanel DNS Only" and I got the same error every time I edit the configuration file for the csf firewall and lfd:

cPanel v78.0.12
ConfigServer Security & Firewall - csf v12.09
Linux version 3.10.0-957.5.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Fri Feb 1 14:54:57 UTC 2019

WAITLOCK=1
WAITLOCK_TIMEOUT=300

Code: Select all

perl /usr/local/csf/bin/csftest.pl
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...OK
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK

Code: Select all

Job for lfd.service failed because a fatal signal was delivered to the control process. See "systemctl status lfd.service" and "journalctl -xe" for details.
● lfd.service - ConfigServer Firewall & Security - lfd
   Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Tue 2019-02-26 15:15:46 UTC; 9ms ago
  Process: 13564 ExecStart=/usr/sbin/lfd (code=killed, signal=KILL)

Feb 26 15:15:45 servername.dot.com systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Feb 26 15:15:46 servername.dot.com systemd[1]: lfd.service: control process exited, code=killed status=9
Feb 26 15:15:46 servername.dot.com systemd[1]: Failed to start ConfigServer Firewall & Security - lfd.
Feb 26 15:15:46 servername.dot.com systemd[1]: Unit lfd.service entered failed state.
Feb 26 15:15:46 servername.dot.com systemd[1]: lfd.service failed.
Feb 26 15:15:45 servername.dot.com systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Feb 26 15:15:46 servername.dot.com systemd[1]: lfd.service: control process exited, code=killed status=9
Feb 26 15:15:46 servername.dot.com systemd[1]: Failed to start ConfigServer Firewall & Security - lfd.
Feb 26 15:15:46 servername.dot.com systemd[1]: Unit lfd.service entered failed state.
Feb 26 15:15:46 servername.dot.com systemd[1]: lfd.service failed.[/code]

Code: Select all

journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit lfd.service has failed.
--
-- The result is failed.
Feb 26 15:15:31 servername.dot.com systemd[1]: Unit lfd.service entered failed state.
Feb 26 15:15:31 servername.dot.com systemd[1]: lfd.service failed.
Feb 26 15:15:45 servername.dot.com systemd[1]: Starting ConfigServer Firewall & Security - lfd...
-- Subject: Unit lfd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit lfd.service has begun starting up.
Feb 26 15:15:46 servername.dot.com systemd[1]: lfd.service: control process exited, code=killed status=9
Feb 26 15:15:46 servername.dot.com systemd[1]: Failed to start ConfigServer Firewall & Security - lfd.
-- Subject: Unit lfd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit lfd.service has failed.
--
-- The result is failed.
Feb 26 15:15:46 servername.dot.com systemd[1]: Unit lfd.service entered failed state.
Feb 26 15:15:46 servername.dot.com systemd[1]: lfd.service failed.
Thanks in advance,
Emilio.
Emilio
Junior Member
Posts: 12
Joined: 02 Apr 2007, 15:28

Re: LFD fails on all new installations

Post by Emilio »

TESTING =Off

Code: Select all

Feb 28 17:10:51 ns1 lfd[7517]: daemon stopped
Feb 28 17:16:39 ns1 lfd[7680]: *Error* LF_DAEMON not enabled in /etc/csf/csf.conf, at line 82
Feb 28 17:16:39 ns1 lfd[7680]: daemon stopped
Feb 28 17:22:28 ns1 lfd[7775]: *Error* LF_DAEMON not enabled in /etc/csf/csf.conf, at line 82
Feb 28 17:22:28 ns1 lfd[7775]: daemon stopped

Code: Select all

● lfd.service - ConfigServer Firewall & Security - lfd
   Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-02-28 18:28:57 CET; 8ms ago
  Process: 23555 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
 Main PID: 23568 (lfd - starting)
   CGroup: /system.slice/lfd.service
           └─23568 lfd - startin
Would you recommend me how to find the problem?
Thanks,
Emilio.
Emilio
Junior Member
Posts: 12
Joined: 02 Apr 2007, 15:28

Re: LFD fails on all new installations

Post by Emilio »

LF_DAEMON=On
LF_CSF=On

Restarting lfd...

Code: Select all

● lfd.service - ConfigServer Firewall & Security - lfd
   Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-02-28 17:34:49 UTC; 21ms ago
  Process: 9436 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
 Main PID: 9449 (lfd - starting)
   CGroup: /system.slice/lfd.service
           └─9449 lfd - startin
lfd.service: main process exited, code=killed, status=9/KILL
Stopped ConfigServer Firewall & Security - lfd.
Unit lfd.service entered failed state.
lfd.service failed.
Starting ConfigServer Firewall & Security - lfd...
PID file /var/run/lfd.pid not readable (yet?) after start.
Started ConfigServer Firewall & Security - lfd.
ess
Junior Member
Posts: 1
Joined: 15 Aug 2019, 07:32

Re: LFD fails on all new installations

Post by ess »

Can anyone please help me? I am using WHM and in that whois not working ":There was a problem connecting to the domain registry. Please check port 43 is open in your servers firewall.:

But i checked port and it has added.Even i disabled and enabled then also not working.'

Please assist to resolve.




lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2019-08-15 08:09:54 BST; 6ms ago
Process: 4016338 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 4016348 (lfd - starting)
CGroup: /system.slice/lfd.service
└─4016348 lfd - startin

Aug 15 08:09:53 essdslnx.mporis.com systemd[1]: Unit lfd.service entered failed state.
Aug 15 08:09:53 essdslnx.mporis.com systemd[1]: lfd.service failed.
Aug 15 08:09:53 essdslnx.mporis.com systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Aug 15 08:09:54 essdslnx.mporis.com systemd[1]: Started ConfigServer Firewall & Security - lfd.
Post Reply