iptables failed to start on new Centos 7 server
Re: iptables failed to start on new Centos 7 server
Hi, pwd, ok, I reinstall iptables, but no change, same error "Applying firewall rules: iptables-restore: line 14 failed".
Re: iptables failed to start on new Centos 7 server
What if You type this rules one by one in terminal and then trych iptables-save.
"God, root, what is difference?"
Re: iptables failed to start on new Centos 7 server
I downloaded a iptables file from another server (CentOS 7, iptables work fine), then upload it to this new serve, iptables service still cannot start.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: iptables failed to start on new Centos 7 server
What is the output of "uname -a" ?
Re: iptables failed to start on new Centos 7 server
uname -a:
Linux ... 3.10.0-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
Linux ... 3.10.0-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: iptables failed to start on new Centos 7 server
You are not running CentOS. You are running an OpenVFZ container.
You cannot load modules,
The network is not CentOS so centos network utilities don't work with it.
For more information and support see http://openvz.org/Main_Page
You cannot load modules,
The network is not CentOS so centos network utilities don't work with it.
For more information and support see http://openvz.org/Main_Page
Re: iptables failed to start on new Centos 7 server
This is a dedicated server, not VPS.
I run
Return:
CentOS Linux release 7.1.1503 (Core)
I run
Code: Select all
cat /etc/centos-release
CentOS Linux release 7.1.1503 (Core)
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: iptables failed to start on new Centos 7 server
Not according to the kernel you are running.
If that is what they told you, you have been cheated.
If that is what they told you, you have been cheated.
Re: iptables failed to start on new Centos 7 server
I have buy VPS from this hosting provider, CentOS 7 VPS, iptables can work fine.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: iptables failed to start on new Centos 7 server
Go to http://openvz.org/Main_Page and see for yourself.
That is an OpenVZ kernel. Not CentOS.
That is an OpenVZ kernel. Not CentOS.