There was an error in this gadget

Saturday, August 14, 2010

service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])

"service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['iptables_openvpn']) "

This is mostly the iptables modules issue in the node, do the following steps to solve the issue.



** First check the TUN/TAP is enabled or not

Run the following command in your VPS to check the TUN/TAP is enabled or   not.
# cat /dev/net/tun
If this shows "File descriptor in bad state" means TUN/TAP is enabled in your -vps. If  not enable it.



** Edit /etc/vz/vz.conf and add "ipt_state" and "iptable_nat" to the end of the list of IPTABLES modules(From node).



** Install the following kernel module using the following command(From node).

         # modprobe ipt_mark
         # modprobe ipt_MARK



** Now restart the container(From node).

         # vzctl restart xxx


This will solve your issue.


         

2 comments:

  1. Hi!

    I have the same error. I tried to load the modules on the physical machine like you suggested, and modprobe did not complain.

    However lsmod does not show me those modules as loaded (see: http://pastie.org/1260838) and the vpn error persists after the container has been restartet.

    Do you have an idea what can be wrong?

    best
    martin

    ReplyDelete
  2. Do you got any error while running the modprobe command ?

    ReplyDelete