Running Fedora 9 from RedHat.
I have a bash script (set up as a cron job) that restarts my iptables firewall each day. This morning, I checked my mail to find that it wouldn't start. When I tried to run iptables manually just to find out which firewall rules were in place, I got the following:
iptables: /sbin/iptables /lib/iptables /usr/share/man/man8/iptables.8.gz
iptables v1.4.0: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
/root#yum -y update
Loaded plugins: refresh-packagekit
Setting up Update Process
No Packages marked for Update
Huh? I don't know what insmod is, so I looked into it and found the following link:
...but I don't see how that has anything to do with my problem. This is a man page for installing kernel modules, and iptables is already isntalled according to the output above...or whereis wouldn't have found it. And the firewall script launched and ran iptables perfectly every day for literally YEARS prior to this morning. Why is it suddenly claiming "iptables who"? And as you can see, I'm running the latest kernel version - the yum command would have remedied this if I wasn't.
My cron job also runs the yum command each night, and it's possible that it may have picked up something-or-other which changed the system configuration, but I cannot imagine what.
I take it this means my firewall is down...?
Any ideas on fixing this would be appreciated.