Monday, June 06, 2011

nat disabled after kernel update (xen)

Iptables problem

Trying to start iptables gives :

iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Trying to “modprobe iptables” also gives an error message :

FATAL: Could not load /lib/modules/2.6.18-53.1.6.el5xen/modules.dep: No such file or directory

Here what I did to fix the problem:

  • yum install kernel-xen kernel-xen-devel
  • /sbin/depmod

After that, /sbin/iptables -L now works correctly!

ref: http://blog.jphoude.qc.ca/2007/11/17/xen-troubleshooting-centos-5/

found reference for openvz: http://thelinuxnoob.com/linux/enable-nat-module-for-vps-can%E2%80%99t-initialize-iptables-table-nat%E2%80%99-table-does-not-exist/

No comments:

Related Posts Plugin for WordPress, Blogger...