OpenVZ Forum


Home » General » Support » ip6tables error
ip6tables error [message #14049] Wed, 13 June 2007 11:11 Go to next message
thequestion is currently offline  thequestion
Messages: 6
Registered: June 2007
Junior Member
I'm using openvz kernel : 2.6.18-8.el5.028stab031.1PAE

and inside me VE I'm getting the following error when I hit:

ip6tables -L

ip6tables -L
FATAL: Could not load /lib/modules/2.6.18-8.el5.028stab031.1PAE/modules.dep: No such file or directory
ip6tables v1.3.6: can't initialize ip6tables table `filter': iptables who? (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.


But iptables work:

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Is this a known bug?
Re: ip6tables error [message #14056 is a reply to message #14049] Wed, 13 June 2007 14:38 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi Stefan,

are some ip6tables kernel-modules are loaded in VE0 (Hardwarenode) ?

Please print output of
VE0# lsmod | grep ^ip6

if no ip6tables are loaded, please load a minimal set in VE0:

VE0# modprobe ip6_tables
VE0# modprobe ip6table_filter
VE0# modprobe ip6table_mangle
VE0# modprobe ip6t_REJECT

[Updated on: Wed, 13 June 2007 14:39]

Report message to a moderator

Re: ip6tables error [message #34810 is a reply to message #14049] Wed, 04 February 2009 08:50 Go to previous messageGo to next message
thequestion is currently offline  thequestion
Messages: 6
Registered: June 2007
Junior Member
Hi time to pick this thread up Smile

I'm still having the same issue and soon we'll go into production use. Here is some info about my system, including the answer of the question:

lsmod | grep ^ip6
ip6t_REJECT            38788  0
ip6table_mangle        37632  45
ip6table_filter        37760  45
ip6_tables             50880  2 ip6table_mangle,ip6table_filter


uname -r
2.6.18-92.1.13.el5.028stab059.6


cat /etc/vz/vz.conf | grep ip6
## IPv6 ip6tables kernel modules
IP6TABLES="ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT"


Still I get this error inside the container:

ip6tables v1.4.0: can't initialize ip6tables table `filter': Invalid argument
Perhaps ip6tables or your kernel needs to be upgraded.
FATAL: Could not load /lib/modules/2.6.18-92.1.13.el5.028stab059.6/modules.dep: No such file or directory


Ping etc works just like it should:

ping6 ipv6.google.com
PING ipv6.google.com(2001:4860:0:1001::68) 56 data bytes
64 bytes from 2001:4860:0:1001::68: icmp_seq=1 ttl=55 time=259 ms


Does anyone know what it might be or if there is any more info I can provide to make it easier to find.
Re: ip6tables error [message #37750 is a reply to message #34810] Fri, 16 October 2009 13:35 Go to previous messageGo to next message
jonasb is currently offline  jonasb
Messages: 20
Registered: July 2007
Junior Member
Any news on this?
Re: ip6tables error [message #37774 is a reply to message #37750] Mon, 19 October 2009 14:12 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi Jonas,

can you please provide info about architecture of your hardwarenode and out OpenVZ CT Template.

Bye,
Thorsten
Re: ip6tables error [message #37775 is a reply to message #37774] Mon, 19 October 2009 14:33 Go to previous messageGo to next message
jonasb is currently offline  jonasb
Messages: 20
Registered: July 2007
Junior Member
We run CentOS both 32 and 64-bit.
On the containers we have used Debian, Ubuntu, CentOS, Gentoo.
Re: ip6tables error [message #37776 is a reply to message #37775] Mon, 19 October 2009 16:33 Go to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi Jonas,

see bug http://bugzilla.openvz.org/1348

Your hardwarenode (ct0) architecture is a x86_64 and the "ip6tables -L" error occurs only on a container with an x64_32 architecture.

ct0 # uname -p; cat /proc/net/ip6_tables_names; ip6tables -L

ct (x86_64) # vzctl exec <ctid> 'uname -p; cat /proc/net/ip6_tables_names; ip6tables -L'

ct (x86_32) # vzctl exec <ctid> 'uname -p; cat /proc/net/ip6_tables_names; ip6tables -L'

^_ known error Wink

Bye,
Thorsten
Previous Topic: openvz start faild
Next Topic: ubuntu 9.10, how to have openvz capable kernel
Goto Forum:
  


Current Time: Sat Nov 23 11:10:22 GMT 2024

Total time taken to generate the page: 0.05831 seconds