I’m totally stuck with iptables and don’t find the way to fix it. All started when I updated the kernel version:
ERROR: problem running iptables: modprobe: ERROR: could not insert ‘ip_tables’: Exec format error iptables v1.4.21: can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
modprobe: ERROR: could not insert ‘ip_tables’: Exec format error
I’ve upgraded to lastest available kernel in DigitalOcean: 3.16.0-23-generic
uname -r gets:
3.16.0-23-generic ; so it matches the kernel selected in DigitalOcean Control Panel
Any idea on how to get this fixes is welcome.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!