CSF Fatal Error : Could not load /lib/modules/2.6.32-32-pve/modul

kamranonline

New Member
Jun 3, 2013
18
1
3
Hi,

I received this error on my CSF.
Code:
[COLOR=#000000][FONT=Arial]Testing iptables...[/FONT][/COLOR]Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...FAILED [FATAL Error: FATAL: Could not load /lib/modules/2.6.32-32-pve/modules.dep: No such file or directory] - Required for csf to function
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...FAILED [Error: FATAL: Could not load /lib/modules/2.6.32-32-pve/modules.dep: No such file or directory] - Required for SMTP_BLOCK and UID/GID blocking features
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK

RESULT: csf will not function on this server due to FATAL errors from missing modules [1] [COLOR=#000000][FONT=Arial]...[/FONT][/COLOR][B]Done[/B][COLOR=#000000][FONT=Arial].[/FONT][/COLOR]

Code:
root@at [/]# uname -aLinux at. 2.6.32-32-pve #1 SMP Thu Aug 21 08:50:19 CEST 2014 x86_64 x86_64 x86_64 GNU/Linux

Code:
root@at1:/vz3# pveversionpve-manager/3.3-1/a06c9f73 (running kernel: 2.6.32-32-pve)
 
Testing ipt_multiport/xt_multiport...FAILED [FATAL Error: FATAL: Could not load /lib/modules/2.6.32-32-pve/modules.dep: No such file or directory] - Required for csf to function
Hi,
if the error message is right and your modules.dep is missing you can easily create an new one with
Code:
depmod
Udo
 
Hi,

root@at [/]# depmod
WARNING: Couldn't open directory /lib/modules/2.6.32-32-pve: No such file or directory
FATAL: Could not open /lib/modules/2.6.32-32-pve/modules.dep.temp for writing: No such file or directory