3

I just got a virtual server (I think virtuozzo) with root access. I wanted to install shorewall but when I want to start it I get the error message

# shorewall start
Compiling...
Processing /etc/shorewall/shorewall.conf...
ERROR: Your kernel/iptables do not include state match support. No version of Shorewall will run on this system

So now I'm wondering what can I do? The system ist ubuntu 11.10.

Wesley
  • 32,320
  • 9
  • 80
  • 116
toom
  • 187
  • 1
  • 4
  • 11

2 Answers2

8

Virtuozzo is an interesting type of virtualisation. It's actually a "jail" - in the FreeBSD sense, rather than a hypervisor type Virtual Machine, like KVM. As a result, you need to tune the options of the Virtual Machine Host, to allow certain kernel functions to be passed through.

I believe that Virtuozzo is effectively OpenVZ (or similar enough) underneath, so you'll need to edit /etc/vz/vz.conf and add "ipt_state" to the IPTABLES variable, then restart the VM. (source)

Of course, you might not be able to do this, if you don't have control over the VM Host.

Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
1

I'm thinking you are on openVZ and they haven't configured the server correctly.

Lucas Kauffman
  • 16,818
  • 9
  • 57
  • 92