Kernel appears to have no modules
- by George Reith
Useful info:
OS: CentOS 5.8 final
Kernel: 2.6.32-042stab056.8
My kernel came prebuilt with the server, I don't know anything about kernels and not a lot about linux however as far as I do know I should have some modules loaded by the kernel.
I came across this problem because I am unable to run iscsi as it is expecting certain modules to be loaded.
lsmod returns nothing.
depmod -a returns:
WARNING: Couldn't open directory /lib/modules/2.6.32-042stab056.8: No such file or directory
FATAL: Could not open /lib/modules/2.6.32-042stab056.8/modules.dep.temp for writing: No such file or directory
I have rebooted and nothing has changed.
Does anyone know why this is happening?