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).
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.