No modules available to load

General support questions
Post Reply
garethw
Posts: 2
Joined: 2018/10/14 15:02:11

No modules available to load

Post by garethw » 2018/10/14 15:20:47

Hi All,

I'm attempting to harden my VPS install of Plesk 17.5.3 on a Centos 6.10 base and wanted to make a separate /tmp mount using a file.

I've created the file with dd, formatted it ext3 and added it to fstab with no problem but when I try and mount the file I get the following message
mount: Could not find any loop device. Maybe this kernel does not know
about the loop device? (If so, recompile or `modprobe loop'.)
I tried runing modprobe as the error suggested and got
FATAL: Module loop not found.
uname -r gives me 2.6.32-042stab127.2
running find /lib/modules/$(uname -r) -name *loop* -print gives me nothing
ls /lib/modules/$(uname -r) gives
4.0K -rw-r--r-- 1 root root 45 Oct 14 11:13 modules.alias
4.0K -rw-r--r-- 1 root root 12 Oct 14 11:13 modules.alias.bin
4.0K -rw-r--r-- 1 root root 69 Oct 14 11:13 modules.ccwmap
0 -rw-r--r-- 1 root root 0 Oct 14 11:13 modules.dep
4.0K -rw-r--r-- 1 root root 12 Oct 14 11:13 modules.dep.bin
4.0K -rw-r--r-- 1 root root 73 Oct 14 11:13 modules.ieee1394map
4.0K -rw-r--r-- 1 root root 141 Oct 14 11:13 modules.inputmap
4.0K -rw-r--r-- 1 root root 81 Oct 14 11:13 modules.isapnpmap
4.0K -rw-r--r-- 1 root root 74 Oct 14 11:13 modules.ofmap
4.0K -rw-r--r-- 1 root root 99 Oct 14 11:13 modules.pcimap
4.0K -rw-r--r-- 1 root root 43 Oct 14 11:13 modules.seriomap
4.0K -rw-r--r-- 1 root root 131 Oct 14 11:13 modules.softdep
4.0K -rw-r--r-- 1 root root 49 Oct 14 11:13 modules.symbols
4.0K -rw-r--r-- 1 root root 12 Oct 14 11:13 modules.symbols.bin
4.0K -rw-r--r-- 1 root root 189 Oct 14 11:13 modules.usbmap
Now, I'm not totally sure, and normally work on Ubuntu servers, but I thought that this directory should contain a whole load of directories with a load of .ko files.

Am I missing something here or do I have no modules available?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No modules available to load

Post by TrevorH » 2018/10/14 16:23:38

uname -r gives me 2.6.32-042stab127.2
Unfortunately what you have there is not a CentOS system, it's an openvz container. It'll have no control over kernel modules etc so you'll need to talk to your hoster and get them to set it up on the host for you... or look for another provider who'll give you a real system not a container.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

garethw
Posts: 2
Joined: 2018/10/14 15:02:11

Re: No modules available to load

Post by garethw » 2018/10/14 22:18:28

Ah, that would explain it, Thanks Trevor.

I will talk to my vps provider and ask them to provide access to the modules I need.

Post Reply