LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   problem with iptables start (https://www.linuxquestions.org/questions/linux-security-4/problem-with-iptables-start-307834/)

ganesh_bhai 03-30-2005 11:54 AM

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

Capt_Caveman 03-30-2005 01:17 PM

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.

ganesh_bhai 03-30-2005 02:41 PM

Thanks for your response, I am using ssh for my remote machine. so not able to see the startup options.

Capt_Caveman 04-03-2005 02:35 PM

Could you post the contents of /etc/grub.conf?

ganesh_bhai 05-04-2005 04:12 AM

Hi,
I have recompiled the kernel from source rpm and restarted my machine, and its working fine with new installation


All times are GMT -5. The time now is 03:22 AM.