Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Don't know why this is getting down voted, seems legit! –  SimonJGreen Mar 12 '12 at 21:51
    
@SimonJGreen the OP wants to do things which are beyond their control. –  Tom O'Connor Mar 13 '12 at 8:58

2 Answers 2

up vote 1 down vote accepted

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

share|improve this answer
    
What do you mean by "haven't configured the server correctly"? –  toom Mar 12 '12 at 22:34
    
In openVZ you need to configure the host to explicitly allow this like Tom suggested. –  Lucas 'Paul' Kauffman Mar 13 '12 at 8:10

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.

share|improve this answer
    
No, I don't have access to the VM host. –  toom Mar 12 '12 at 22:34
2  
Well, you're SOL then. –  Tom O'Connor Mar 12 '12 at 22:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.