securetmp on centos 7 error
Hello.
I installed Cpanel on a Centos 7.4 server.
Everthing went fine and looks working.
Now I tried to secure my tmp partition and I get this error:
[quote]*** Notice *** No loop module detected
If the loopback block device is built as a module, try running `modprobe loop` as root via ssh and running this script again.
If the loopback block device is built into the kernel itself, you can ignore this message.
I've found a couple of threads about this on the cpanel forums and it said try "modprobe loop" which doesn't give me any result:
How can I fix this?
I've found a couple of threads about this on the cpanel forums and it said try "modprobe loop" which doesn't give me any result:
root@srv ~ # modprobe loop
root@srv ~ #How can I fix this?
-
Hello, Can you provide the output of /etc/fstab and can let us know if this is a vz or open vz server? Thank you, 0 -
Hello. I tried to make it a 10 GB /tmp but it looks like it only made 4 GB. proc /proc proc defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/md/0 none swap sw 0 0 /dev/md/1 /boot ext3 defaults 0 0 /dev/md/2 / ext4 usrjquota=quota.user,jqfmt=vfsv0 0 0 /usr/tmpDSK /tmp ext3 defaults,noauto 0 0
This is my df -h output at the moment:Filesystem Size Used Avail Use% Mounted on /dev/md2 1.8T 6.4G 1.7T 1% / devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 17M 16G 1% /run tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/md1 488M 184M 279M 40% /boot /dev/loop0 3.9G 8.4M 3.7G 1% /tmp tmpfs 3.2G 0 3.2G 0% /run/user/0
The server is no VPS, it's a real dedicated server running Centos 7.4, no virtualization. Thank you.0 -
Oke thank you, but it's working correctly? I don't need to worry about the "loop module" not being detected notice? 0 -
Hello, It's there and seems to be configured correctly you can confirm this by running: losetup -f in this case it appears to be the second notice: If the loopback block device is built into the kernel itself, you can ignore this message. Thank you, 0
Please sign in to leave a comment.
Comments
5 comments