By tomorrow68ty
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 kmod_search_moddep() 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?
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!
Thank you
sudo apt-get install linux-image-$(uname -r)
and rebooting worked for me
I had resized the droplet and ran into a couple of these strange behaviors …
Run the following command and then reboot your droplet to fix it:
sudo apt-get install linux-image-$(uname -r) That should install your Droplet’s kernel and the corresponding modules on the Droplet.
I found this solution at: https://www.digitalocean.com/community/questions/error-while-allowing-ssh-connections-on-ufw
if it didnt work, try to execute the command :
sudo apt-get install --reinstall linux-image-3.13.0
and just remember, this is only for ubuntu 14.04
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.