Error: csf is being restarted, try again in a moment

1 post Page 1 of 1
mojocreator
Junior Member
Posts: 5
Joined: 03 Apr 2017, 00:05


Having an issue when trying to restart the CSF module.
Code: Select all
Error: csf is being restarted, try again in a moment: Resource temporarily unavailable at /usr/sbin/csf line 175.
This is line 175
Code: Select all
# start csflock
sub csflock {
	my $lock = shift;
	if ($lock eq "lock") {
		sysopen ($CSFLOCKFILE, "/var/lib/csf/csf.lock", O_RDWR | O_CREAT) or die ("Error: Unable to open csf lock file: $!");
		flock ($CSFLOCKFILE, LOCK_EX | LOCK_NB) or die "Error: csf is being restarted, try again in a moment: $!";
	} else {
		close ($CSFLOCKFILE);
	}
	return;
}
I just keep seeing the same error log over and over.
Code: Select all
Feb 17 09:36:40 battle lfd[25595]: csf is currently restarting - command [/sbin/iptables  -D DENYIN ! -i lo -s 123.201.139.185 -j DROP] skipped on line 8193
eb 17 10:05:39 battle lfd[3462]: csf is currently restarting - command [/sbin/iptables  -D DENYIN ! -i lo -s 27.33.125.20 -j DROP] skipped on line 8193
Feb 17 10:05:44 battle lfd[3502]: csf is currently restarting - command [/sbin/iptables  -D DENYIN ! -i lo -s 27.33.125.20 -j DROP] skipped on line 8193
Feb 17 10:05:49 battle lfd[3542]: csf is currently restarting - command [/sbin/iptables  -D DENYIN ! -i lo -s 27.33.125.20 -j DROP] skipped on line 8193
Feb 17 10:05:54 battle lfd[3577]: csf is currently restarting - command [/sbin/iptables  -D DENYIN ! -i lo -s 27.33.125.20 -j DROP] skipped on line 8193
Feb 17 10:05:59 battle lfd[3621]: csf is currently restarting - command [/sbin/iptables  -D DENYIN ! -i lo -s 27.33.125.20 -j DROP] skipped on line 8193
1 post Page 1 of 1