Iptables not started because of error (SVC_RUN_EXCEPT)

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
aciid
OpenVpn Newbie
Posts: 18
Joined: Thu May 17, 2012 7:35 pm

Iptables not started because of error (SVC_RUN_EXCEPT)

Post by aciid » Thu May 17, 2012 7:54 pm

Running OpenVZ vps with Centos 6 64bit

I get this error when clicking the "start the server" on the openvpnas admin webpage:

Code: Select all

Error:
iptables service not started because of error (SVC_RUN_EXCEPT)

Tun is enabled

Code: Select all

[root@secret ~]# cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
I have Iptables installed and activated, here is iptables -L

Code: Select all

Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:smtp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:mysql
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp-data
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:https
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ndmp
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     udp  --  anywhere             anywhere            udp dpt:openvpn
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:943

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
I can start openvpnas fine with init or service command, and it always says [OK] but apparently doesn't actually start the server according to the admin web UI.

Please help!!

aciid
OpenVpn Newbie
Posts: 18
Joined: Thu May 17, 2012 7:35 pm

Re: Iptables not started because of error (SVC_RUN_EXCEPT)

Post by aciid » Sat May 19, 2012 10:40 pm

Also when I try login and "connect" (not on the admin page) at the login screen I get

"Unexpected error: JSONDialog: spawnProcess: 'NoneType' object has no attribute 'get'"

aciid
OpenVpn Newbie
Posts: 18
Joined: Thu May 17, 2012 7:35 pm

Re: Iptables not started because of error (SVC_RUN_EXCEPT)

Post by aciid » Mon May 21, 2012 9:20 pm

Someone please help?

Thanks

danblee
OpenVpn Newbie
Posts: 4
Joined: Mon Nov 15, 2010 7:27 pm

Re: Iptables not started because of error (SVC_RUN_EXCEPT)

Post by danblee » Thu Jan 24, 2013 8:19 pm

Hey I know this is an old post, but I thought this would help. Odds are you are not only running this on a VPS, but your host is using OpenVZ, which means TUN/TAP is not enabled on the container. I made a quick post about it on my blog. Hope this helps!

http://danblee.com/iptables-service-not ... un_except/

Post Reply