On January 13, 2004 04:22 am, Muhammad Talha wrote: > Dear all > > i have upgraded kernel 2.4.20 to kernel 2.6.1 and i have same problem with > 2.6.0 kernel as well > OS Redhat > module-init-tools 0.9.13 > > but i am iptables stop working its was iptables-1.2.7 > then i upgraded to iptables to 1.2.9 ( lastest ) still same problem > > error message i get > > iptables v1.2.9:can't initialize iptables table 'filter' iptables who? (do > you need to insmod) > Perhaps iptables or kernel needs to be upgraded. > > i aslo get these kind of errors when compiling iptables-1.2.9 > > /usr/src/linux-2.6.1/include/linux/compiler-gcc3.h:22:1 warning > ""__attribute_pure__" redefined > In file included from /usr/include/feature.h:291 > from /usr/include/stdio.h:28 > from extensions/libipt_conntrack.c:5 > /usr/include/sys/cdefs.h:183 warning this the location of the prevoius > definiation > The redefinition warnings are just that -- warnings -- they only indicate that the headers in /usr/include/x don't agree with stuff in netfilter ... they won't likely inhibit the compile or the operation of iptables. for both users with the 'failed to initialize' error -- 1) did you build iptables as modules or into the kernel? -- 2) are you *certain* you disabled ipchains. 3) are you *certain* that you built iptables with the correct kernel? -- if you change kernels you usually have to rebuilt the iptables code -- export KERNEL_DIR=xxxxx make where xxxxx is the full path to your appropriate kernel source code. this is usually caused after a kernel rebuild by building modules and NOT loading them, especially if the iptables stuff was built into the kernel in the previous kernel. -- try insmod ip_tables you might get yet another error ... Ummm ...anyone know off the top if RedHat puts iptables in as modules or builds it in? Alistair