OpenVZ Forum


Home » General » Support » [solved] iptables and multiport modul in openvz (iptables multiport modul does causes errors)
Re: iptables and multiport modul in openvz [message #38108 is a reply to message #38107] Wed, 18 November 2009 08:22 Go to previous messageGo to previous message
nicolas_79 is currently offline  nicolas_79
Messages: 3
Registered: November 2009
Junior Member
Hi fernandomm,

fernandomm wrote on Tue, 17 November 2009 18:54

Did you run depmod -a on the host server?



You will have to run depmod -a in the container. Probably it will then tell you that the target directory (/lib/modules/2.6.26-2-openvz-amd64/) does not exist. create it as root and then re-run depmod -a. iptables should then work with all loaded modules.

fernandomm wrote on Tue, 17 November 2009 18:54

The strange thing is that APF works on containers running CentOS.


as far as i can see the problem lies in the fact that the depmod file was not created in the debian template / container. this probably is based on the fact that this module dependency file normally is created when the kernel image is installed. as this is not necessary when using openvz it has to be done manually and is not described in the "debian template creation instructions" found in the wiki.

Since it works out for CentOS i could imagine that either the CentOS template contained this informations already (perhaps it was a preconfigured download) or something similar.

best regards

nicolas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use public and private IP's
Next Topic: request module: runaway loop modprobe binfmt-464c
Goto Forum:
  


Current Time: Thu Jul 18 19:29:33 GMT 2024

Total time taken to generate the page: 0.02573 seconds