Archive

Posts Tagged ‘kernel panic’

Iptables kernel panic

August 21, 2010 Leave a comment

A quick and dirty workaround to the known issue with RHEL4/CentOS4 APF and IPTABLES kernel panic.

In the file /etc/init.d/iptables go to line 197 and change it from this:

rmmod_r ${IPV}_tables
let ret+=$?;
rmmod_r ${IPV}_conntrack
let ret+=$?;

To this:

rmmod_r ${IPV}_conntrack
let ret+=$?;
rmmod_r ${IPV}_tables
let ret+=$?;

You are taking lines 197 and 198 and moving them down 2 spots to be after the ip_conntrack.

Enjoy 🙂

Categories: Linux Tags: ,