After ubuntu server upgrade, it has error with commandline "iptables -L"
after I upgrade ubuntu server to Ubuntu 1404 , Linux 3.16.0-23-generic #30-Ubuntu SMP Thu Oct 16 13:22:53 UTC 2014 i686 i686 i686 GNU/Linux,
it has error when run command “iptables -L”, errors:
modprobe: ERROR: ../libkmod/libkmod.c:556 kmodsearchmoddep() could not open moddep file ’/lib/modules/3.16.0-23-generic/modules.dep.bin’
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.
Actually there is no folder named 3.16.0-23-generic under folder /lib/modules/, there is folder named 3.13.0-40-generic
anyone can help me about this?
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.