Page 1 of 1

iptables: Memory allocation problem

Posted: 31 Oct 2016, 15:46
by radar
Hello,

I have CSF installed and updated to version 9.26 on a Centos VPS. Currently my CSF status Firewall Status is Enabled but Stopped. When I try to start the Firewall, I get the error "iptables: Memory allocation problem" and "Error: FASTSTART: (TCP_IN IPv4) [] [iptables-restore: line 26 failed]. Try restarting csf with FASTSTART disabled, at line 4904"

I am new to using CSF and do not understand how to resolve this issue in order to start the firewall. Please advise, thanks

Re: iptables: Memory allocation problem

Posted: 26 Jul 2017, 21:26
by rommys
HI! After the last update v10.15 my server isdown if I Start the CSF...

In email i recived similar alert to this post.. My server is centos with cpanel. and now my CSF version is 10.16

/usr/local/bandmin/bandmin
iptables: Memory allocation problem.


In CSF system logs see this alert:

Jul 25 01:15:10 XXXXX lfd[16383]: csf is currently restarting - command [/sbin/iptables -L LOCALINPUT -n] skipped on line 2778
Jul 25 01:15:10 XXXXX lfd[22919]: csf is currently restarting - command [/usr/sbin/exim -bpc] skipped on line 3086
Jul 25 01:15:12 XXXXX lfd[16383]: TERM
Jul 25 01:15:12 XXXXX lfd[16383]: daemon stopped

After its the server was down. Then I restarted the server and saw the csf "stop"..
I Try restart but recibed this alert in iptables logs:

Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...FAILED [FATAL Error: iptables: Resource temporarily unavailable.] - Required for csf to function
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...FAILED [Error: iptables: Resource temporarily unavailable.] - Required for SMTP_BLOCK and UID/GID blocking features
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK

RESULT: csf will not function on this server due to FATAL errors from missing modules [1]

Can you helpme please!!