LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 03-29-2010, 01:07 PM   #1
gosta100
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
problem with iptable on a debian image


Hello everyone,

I am using Debian Lenny with hypervisor Xen. I have set up a vm (Debian Lenny) and tried to run a custom firewall. The output to: iptables --list is:

Code:
FATAL: Could not load /lib/modules/2.6.26-2-xen-amd64/modules.dep: No such file or directory
iptables v1.4.2: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Actually there is no folder: /lib/modules/2.6.26-2-xen-amd64/ . Probably i did something wrong when creating the vm's image.

Is there a way to fix this without having to recreate the vm from scratch?

Thank you.
 
Old 03-30-2010, 04:31 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Sounds like perhaps you don't have the modules for the running kernel installed, install them.
 
Old 04-02-2010, 06:10 PM   #3
gosta100
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rweaver View Post
Sounds like perhaps you don't have the modules for the running kernel installed, install them.
What modules do i need to install and how do i do that?

Thank you.
 
Old 04-06-2010, 11:18 AM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
You would want to install the linux-modules package for your running kernel. For example... I'd run something like 'apt-get install linux-modules-2.6.26-2-xen-686' for my machine.
 
  


Reply

Tags
debian, lenny, xen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is an iptable? & how to seperate the network on the basis of iptable vinod.wagh Linux - Networking 1 09-11-2008 01:28 AM
problem using vmware(Windows XP image) in debian arifmeraj Debian 2 09-04-2007 12:15 AM
IPtable script problem match1980 Linux - Networking 5 05-26-2005 06:38 AM
iptable problem on 2.6.0 nikhil93 Linux - Networking 1 01-06-2004 01:13 PM
Problem with IPtable dr490n Linux - Software 1 04-28-2002 04:58 AM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration