Page 1 of 1

Iptables not started because of error (SVC_RUN_EXCEPT)

Posted: Thu May 17, 2012 7:54 pm
by aciid
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!!

Re: Iptables not started because of error (SVC_RUN_EXCEPT)

Posted: Sat May 19, 2012 10:40 pm
by aciid
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'"

Re: Iptables not started because of error (SVC_RUN_EXCEPT)

Posted: Mon May 21, 2012 9:20 pm
by aciid
Someone please help?

Thanks

Re: Iptables not started because of error (SVC_RUN_EXCEPT)

Posted: Thu Jan 24, 2013 8:19 pm
by danblee
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/