Page 1 of 1

faststart error

Posted: 05 May 2016, 08:10
by bwebsrl
I get this error every day

You have an unresolved error when starting csf:
Error: FASTSTART: (Packet Filter IPv4) [] [iptables-restore: line 2 failed]. Try restarting csf with FASTSTART disabled, at line 4800 in /usr/sbin/csf

You need to restart csf successfully to remove this warning, or delete /etc/csf/csf.error

if I disable faststart csf is very slow to restart why there are too many rules

Re: faststart error

Posted: 05 May 2016, 08:17
by bwebsrl
if try restart lfd i get this error

Job for lfd.service failed because a configured resource limit was exceeded. See "systemctl status lfd.service" and "journalctl -xe" for details.


root@ssd1 [/etc/csf]# systemctl status lfd.service
â lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Thu 2016-05-05 09:17:07 CEST; 40s ago
Process: 24378 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 18837 (code=killed, signal=KILL)

May 05 09:17:06 ssd1.blooweb.net systemd[1]: Starting ConfigServer Firewall & Security - lfd...
May 05 09:17:07 ssd1.blooweb.net lfd[24378]: Error: You have an unresolved error when starting csf. You need to restart csf successfully before starting lfd (see /etc/csf/csf.error)
May 05 09:17:07 ssd1.blooweb.net systemd[1]: PID file /var/run/lfd.pid not readable (yet?) after start.
May 05 09:17:07 ssd1.blooweb.net systemd[1]: Failed to start ConfigServer Firewall & Security - lfd.
May 05 09:17:07 ssd1.blooweb.net systemd[1]: Unit lfd.service entered failed state.
May 05 09:17:07 ssd1.blooweb.net systemd[1]: lfd.service failed.

Re: faststart error

Posted: 09 May 2016, 08:10
by Elizine
Try restarting csf with FASTSTART disabled, at line 3777

Edit csf config file located at /etc/csf/csf.conf and disable FASTSTART by editing FASTSTART = “1” to
FASTSTART = “0”.

Once the change is made restart csf by running csf -r, csf should be running fine now.