Environment sanity check for the cPanel installer
cPanel requires a certain type of server environment to operate in. More information on this can be found here: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/InstallationGuide/ConfiguringOs
On behalf of a number of technical analysts that work for cPanel, we'd like to request that the cPanel installer check for the following:
* SELinux (verify not enabled)
* disk space (verify sufficient disk space)
* run level (verify is at 3)
* NetworkManager (verify not running, verify not enabled)
* extra yum groups (verify not installed)
* valid hostname (verify is an FQDN)
* sufficient memory (verify minimum requirements are met)
* /tmp perms (verify perms are 1777)
It is not sufficient to rely on a perfect server environment for each server that cPanel is installed on.
I understand that there are many, many ways in which a server can be set up improperly. The list above has been narrowed down to the problems that we (the technical analysts) have seen (multiple times in some cases), and cause or can lead to the most problems - either during the install (insufficient memory), or some time after (MySQL installed but completely broken). They should also be fairly simple and straightforward to check for.
The desired course of action if one of those conditions is found would be to:
A) print a brief message on the screen about the problem (e.g., "SELinux needs to be disabled before running the cPanel installer")
B) exit
Correcting the issue(s) should be done by the customer.
Thanks!
THANK YOU THANK YOU for this. All of our new orders are having this problem. So we had to reinstall fresh centos chmod /tmp to 1777 and then install cPanel/WHM otherwise NOTHING was working correctly..
Thanks once again!
THANK YOU THANK YOU for this. All of our new orders are having this problem. So we had to reinstall fresh centos chmod /tmp to 1777 and then install cPanel/WHM otherwise NOTHING was working correctly..
Thanks once again!
I have met mysql broken problem which has bothered me for a week. At last with the help of cPanel migration team, I found it was due to /tmp permission problems before installing cPanel.
So in my opinion environment check for cPanel installer is necessary as there are many, many misconfigured CentOS
I have met mysql broken problem which has bothered me for a week. At last with the help of cPanel migration team, I found it was due to /tmp permission problems before installing cPanel.
So in my opinion environment check for cPanel installer is necessary as there are many, many misconfigured CentOS
THANK YOU THANK YOU for this. All of our new orders are having this problem. So we had to reinstall fresh centos chmod /tmp to 1777 and then install cPanel/WHM otherwise NOTHING was working correctly..
Thanks once again!
THANK YOU THANK YOU for this. All of our new orders are having this problem. So we had to reinstall fresh centos chmod /tmp to 1777 and then install cPanel/WHM otherwise NOTHING was working correctly..
Thanks once again!
Some but not all of the above checks are already a part of the installer. SELinux is disabled early in the installer.
Some but not all of the above checks are already a part of the installer. SELinux is disabled early in the installer.
Yes, that's a must, in addition to other stuff so we can get a better install experience.
Please cPanel, have a look at your client's tickets to check possible issues and help us to prevent them.
Yes, that's a must, in addition to other stuff so we can get a better install experience.
Please cPanel, have a look at your client's tickets to check possible issues and help us to prevent them.
Replies have been locked on this page!