LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-30-2005, 11:54 AM   #1
ganesh_bhai
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
problem with iptables start


Hi all,
I am having problem with iptables start, I am using 2.4.22-1.2197.nptl(result of uname -r) kernel but when trying to start iptables it is giving error :
Applying iptables firewall rules: modprobe: Can't open dependencies file /lib/modules/2.4.22-1.2197.nptl/modules.dep


i have looked iinto the /lib/modules/ diretory I am having 2.4.22-1.2199.nptl derectory there but there is no 2.4.22-1.2197.nptl directory.

I have tried to install rpm for 2.4.22-1.2199.nptl , but it throws 2.4.22-1.2199.nptlalready installed
I have also tried to install rpm for 2.4.22-1.2197.nptl, it shows 2.4.22-1.2199.nptl is installed which is newer version then 2.4.22-1.2197.nptl

I have also made a link to 2.4.22-1.2199.nptl with 2.4.22-1.2197.nptl under modules directory, then it throws : ip_tables.o is compiled for 2.4.22-1.2199.nptl while your kernel version is 2.4.22-1.2197.nptl

Anyone can suggest me how I can syncronize my work so that can run iptables on my system, and what is the situation is?


Many thanks in advance

Regards
Ganesh
 
Old 03-30-2005, 01:17 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
If you reboot the system, is there an option to boot into the 2.4.22-1.2199.nptl kernel? If so, try selecting it and see if uname displays the proper kernel version.
 
Old 03-30-2005, 02:41 PM   #3
ganesh_bhai
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your response, I am using ssh for my remote machine. so not able to see the startup options.
 
Old 04-03-2005, 02:35 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Could you post the contents of /etc/grub.conf?
 
Old 05-04-2005, 04:12 AM   #5
ganesh_bhai
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,
I have recompiled the kernel from source rpm and restarted my machine, and its working fine with new installation
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can not start my iptables xudingding Linux - Security 6 10-13-2005 02:30 PM
Iptables ate start-up martincho Linux - Networking 1 09-28-2005 02:14 PM
Best place to start IPTABLES Firewall? rjw1678 Linux - Security 1 07-06-2005 04:29 PM
Configuring iptables at start up gezzam Mandriva 2 03-24-2005 01:12 AM
IPTABLES nat doesn't start up at boot soldieron Linux - Security 4 09-25-2003 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration