Another app is currently holding the xtables lock

Support for security such as Firewalls and securing linux
Post Reply
yeknafar
Posts: 13
Joined: 2018/07/12 21:13:09

Another app is currently holding the xtables lock

Post by yeknafar » 2018/07/26 19:55:05

Hello

I wanted to config IPtable.
I set the rule in /etc/sysctl.conf
I added this rule too iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP


As was said in :
https://javapipe.com/ddos/blog/iptables ... rotection/


I did this too:


iptables -P INPUT DROP
iptables -P FORWARD DROP

but now when I want to login to CWP it takes a about 3 minutes to let me in/
I think the problem is with the rule:
I want to detelet it but it says :

Another app is currently holding the xtables lock. Perhaps you want to use the -w option?

I think it doesnot stop.
When I use #service iptables stop
The output is:
Redirecting to /bin/systemctl stop iptables.service

Does it means Iptables has stoped?
After that I can not enter the CWP quicker.
I think Iptables was not installed. I used yum and installed it. maybe it caused the problem..


How can I solve it

Thanks
Modify message

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Another app is currently holding the xtables lock

Post by TrevorH » 2018/07/26 20:14:52

The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

yeknafar
Posts: 13
Joined: 2018/07/12 21:13:09

Re: Another app is currently holding the xtables lock

Post by yeknafar » 2018/07/26 20:18:25

The problem with CWP is solved now but the problem is IPtable.

Thanks

Post Reply