As I mentioned in previous post I did a few upgrades to EasyApache4 on couple of WHM/cPanel servers recently. While providing with an impressive list of advantages this upgrade could render some of the hosted sites offline because of missing PHP modules and incompatible PHP versions. In order to minimize the downtime all hosted sites has to be verified for availability. There could be easily hundreds of web sites hosted on single WHM/cPanel server and checking all of them manually will take a lot of time. In Linux almost anything could be automated.
Read more »
Tag Archives: cpanel
Sysadmin: check massive list of urls for HTTP status code reply in single line
cPanel: Upgrade to EasyApache4 important points to consider
So, you also decided to take a leap? It’s about time – a lot of new features are coming with EasyApache4 but in order to reduce downtime one has to be careful in the process.
I’ve done a couple upgrades of a company cPanel servers to EasyApache4 recently – not so easy procedure after all although definitely an improvement to the whole cPanel/WHM ecosystem.
Read more »
sysadmin: cPanel installation script detected MySQL and failed
While trying to install cPanel control panel on just reimaged server I’ve got an interesting error, I’ve never seen before:
1 2 3 4 |
2016-01-01 18:24:03 523 ( INFO): Checking for an existing MySQL or MariaDB instance... 2016-01-01 18:24:03 527 (ERROR): The installation process found evidence that MySQL or MariaDB was installed on this server. 2016-01-01 18:24:03 528 (FATAL): You must install cPanel & WHM on a clean server. Removing /root/installer.lock. |
Centos: How to fix cPanel update insufficient disk space
There are certain situations when you can encounter such cPanel update error message.
In order to update cPanel has to download new files and packages to replace outdated. For this it requires about 1.8Gb of free space on /usr partition. What can you do to fix the problem if you get this error message ?
Read more »
Centos: cPanel update demands to upgrade MySQL
I’ve hit cpanel update “blocker” the other day going from version 11.38 to 11.40.
1 |
[20131113.193112] E Blocker found: Newer releases of cPanel & WHM are not compatible with your MySQL version: 5.0. Upgrade your MySQL server to a version greater or equal to 5.1 |
cPanel update demands to upgrade MySQL and would not take no for an answer – why?
MySQL version 5.1 hits end-of-life on December 2013 and even though Red Hat mysql 5.0 is different from vanilla version and has to be supported until the end of Centos 5 support, cPanel wants to cover all bases and we really don’t have a choice in the situation.
Now, what we should to to continue?
Read more »
Centos: how to install cpanel
“Extremely friendly…widely used …de-facto industry standard” cPanel all this and more. And I dislike it as much as it popular (I’ll talk about it later).
What surprised me that cpanel.net web site does not contain the link to the installation instruction on it’s front page which should be only logical.
Read more »
Django on cpanel server for shared web hosting

django congrats on successful install
I had a customer request to install Django on cpanel server shared account the other day – took me some time to get it going, mostly because of easyapache not willing to play nice.
Other then that, Jimmy’s blog entry here provides excellent instructions on how to configure it, the only difference being that his cpanel server already had mod_fcgid installed.
So, what I’ll do is just quick recap:
Things to do as root
- Make sure your apache had mod_fcgid compiled, if not – run easyapache script from SSH or from WHM web page and make sure mod_fcgid option checked
- Install easy_install script –
123456#cd /usr/src/#wget http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c11-py2.4.egg#sh setuptools-0.6c11-py2.4.egg - Use easy_install to install a couple Python packages –
123456#cd /usr/src#./easy_install flup#./easy_install django - Restart apache, make sure mod_fcgid is loaded
This is it – you can notify customer that he can do his django magic – all prerequisites are in place.