UFW Installation - Ubuntu 12.04.x x64 vmlinuz-3.8.0-37-generic?

Originally, I was currently trying to install UFW for security reasons on my WebServer (Which was originally running Ubuntu 12.04.x x64 vmlinuz-3.8.0-37-generic), following this guide here:

Basically, I did a “sudo apt-get install ufw”, and when I type “ufw status” the message I had received is as follows:

“ERROR: problem running iptables: FATAL: Could not load /lib/modules/3.8.0-37-generic/modules.dep: No such file or directory … ip tables v1.4.12: can’t initialize iptables table ‘filter’: Table does not exist … Perhaps iptables or your kernel needs to be upgraded.”

Currently, I’ve reverted to Ubuntu 12.04.x x64 vmlinuz-3.2.0-60-virtual, and it now functions as it should (As I did a “ls /lib/modules/” and found the modules currently installed). Is there a way I can install modules/etc for Ubuntu 12.04.x x64 vmlinuz-3.8.0-37-generic, so UFW works on that kernel? (I’m new to this, so I’m not too familiar with the differences between some kernels).


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Any luck with this problem? I’m having the same, after an attempt to resize my droplet…

Yes. I’ve rebooted my droplet. The only module showing up is “floppy” after a reboot.