Installing cpanel fails on CloudLinux 6 and 7
I have tried over the l;ast few days to install cPanel on CloudLinux 6 and 7 using OpenVZ templates. I create them with 8GB of RAM, 20GB of diskspace, run yum update then install cPanel using the following command:
It has been failing at the same point each time (or appears to be):
It appears to fail with the last package being cpanel-qrcodejs. I ping httpupdate.cpanel.net which succeeds. I checked the diskspace and inodes:
There is plenty of spare disk space and plenty of spare inodes. The only firewall(s) are iptables based and as far as I tellthe cPanel servers are not blocked. At the moment I am stumped and this is stopping the update of our cPanel VPS templates. Any help anyone can provide is greatly appreciated and I thank you in advance. Andy.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latestIt has been failing at the same point each time (or appears to be):
[2017-08-30 14:36:34 +0000] installing package cpanel-chosen-1.5.1-1.cp1158.noarch needs 421 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] installing package compat-MySQL50-shared-5.0.96-4.cp1136.x86_64 needs 427 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] installing package cpanel-perl-524-Crypt-OpenSSL-DSA-0.19-1.cp1162.x86_64 needs 431 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] installing package cpanel-perl-524-Devel-GlobalDestruction-XS-0.03-1.cp1162.x86_64 needs 434 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] installing package cpanel-ace-editor-1.2.6-1.cp1166.noarch needs 815 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] installing package cpanel-d3-js-3.5.6-1.cp1152.noarch needs 820 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] installing package cpanel-fontawesome-4.3.0-1.cp1146.noarch needs 2029 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] installing package cpanel-qrcodejs-0.0.1-1.cp1154.noarch needs 2034 inodes on the / filesystem
[2017-08-30 14:36:34 +0000] see https://go.cpanel.net/rpmcheckfailed for more information
[2017-08-30 14:36:34 +0000] Removing staged files and directories for cpanel
2017-08-30 14:36:34 936 (DEBUG): The installation process detected a failed synchronization. The system will reattempt the synchronization with the updatenow.static file...
2017-08-30 14:36:34 942 (FATAL): The installation process was unable to synchronize cPanel & WHM. Verify that your network can connect to httpupdate.cpanel.net and rerun the installer.
Removing /root/installer.lock.It appears to fail with the last package being cpanel-qrcodejs. I ping httpupdate.cpanel.net which succeeds. I checked the diskspace and inodes:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 20G 3.4G 17G 17% /
devtmpfs 4.0G 0 4.0G 0% /dev
tmpfs 4.0G 0 4.0G 0% /dev/shm
tmpfs 4.0G 52K 4.0G 1% /run
tmpfs 4.0G 0 4.0G 0% /sys/fs/cgroup
]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 131072 65978 65094 51% /
devtmpfs 1048576 53 1048523 1% /dev
tmpfs 1048576 1 1048575 1% /dev/shm
tmpfs 1048576 105 1048471 1% /run
tmpfs 1048576 10 1048566 1% /sys/fs/cgroupThere is plenty of spare disk space and plenty of spare inodes. The only firewall(s) are iptables based and as far as I tellthe cPanel servers are not blocked. At the moment I am stumped and this is stopping the update of our cPanel VPS templates. Any help anyone can provide is greatly appreciated and I thank you in advance. Andy.
-
Hi, We don't support CloudLinux + OpenVZ. I suspect something really weird is going on because of that combination. You need to use only CloudLinux, or OpenVZ and CentOS. 0 -
Hi, We don't support CloudLinux + OpenVZ. I suspect something really weird is going on because of that combination. You need to use only CloudLinux, or OpenVZ and CentOS.
Apologies, it is CentOS not CloudLinux. We have CloudLinux on other servers.0 -
[2017-08-30 14:36:34 +0000] installing package compat-MySQL50-shared-5.0.96-4.cp1136.x86_64 needs 427 inodes on the / filesystem
Hello, Can you check to verify the VPS hardware node is not nearing it's inode capacity? Also, check to see if the VPS is reaching any resource limits. For OpenVZ, you should be able to use a command like this:cat /proc/user_beancounters
Thank you.0 -
Hi, I have checked and nothing is hitting limits either on the VPS hardware or in the VPS itself. I did wonder if increasing the number of inodes and rebuilding the VPS would fix this. I have built other VPSs with other panels and they had no issues. I am going to rebuild the VPS from scratch startIng with Centos 6 with 20000000 inodes and see if that works. 0
Please sign in to leave a comment.
Comments
4 comments