Install Tomcat 7 on a cPanel Server

Update: cPanel is no longer supported by cPanel for CentOS 7 or newer. It is recommended that you use cpanel4j. The below instructions are no longer relevant for CentOS 6 or older servers, since cPanel now includes Tomat 7 in EasyApache 3. CPanel has soon promised that Tomcat 7 will be supported in a future…

Read more

Fixing cPanel Locale Errors

If you receive an “Internal Death” (generic cPanel speak for “something broke”) when accessing WHM and/or cPanel, the first thing you should do is check the cPanel error logs at /usr/local/cpanel/logs/error_log.  You may see something like this: die [Internal Death while parsing [stdin] xxxxx] Read of CDB_File failed: Protocol error at /usr/local/cpanel/Cpanel/CPAN/Locale/Maketext.pm line 217. Cpanel::CPAN::Locale::Maketext::maketext()…

Read more

Restoring DNS Zones on a cPanel Server

In rare situations, the DNS zones located in /var/named might disappear. We’ve heard of this happening after certain bind package updates, or simply due to administrator error. In either case, it may be possible to restore or at least recreate the missing zones.  Even if the server in question does not act as a nameserver,…

Read more

Using Skeleton Directories in cPanel

The skeleton (aka “skel”) directory is one of the frequently ignored features on Linux servers, especially for hosting providers.  With the skel directory, you can easily configure a default set of files to be automatically copied into new user accounts, which is particularly useful for customizing the holding pages for new customer websites.   On…

Read more

How to Change the Location of MySQL on cPanel

There may be some situations where you have to move the location of MySQL, for example, if you’re out of disk space or perhaps looking to host it on another device to increase performance. Whatever the reason, moving MySQL is simple and has no impact ct on cPanel’s functionality.   1) Create a backup  …

Read more

Why Softaculous is More Fantastic than Fantastico

I don’t mean to offend anyone who still uses Fantastico. Some people prefer to stick to what they’re used to, and Fantastico is the original open-source auto-installer built for cPanel and has a pretty solid name in the hosting industry. But geez – what happened? Where did all their developers go, and what are the…

Read more

Upgrading MySQL Without Breaking PHP

Update: Please be advised that this post does not apply to you if you’re running EasyApache 4, because EA4 uses PHP RPMs and MySQL client compatibility libraries. Please make sure you are following the instructions below that pertain to your system! There’s a dilemma among system administrators of high-traffic servers when it comes to doing…

Read more

Restoring Database Privileges

I’ve seen several cases in the last few months where database users seemingly “disappear” or privileges appear to become invalid when restoring MySQL data or an entire server from raw backups. This may commonly be attributed to a MySQL version mismatch, for example, when a server is running MySQL 5.0 and then is suddenly running…

Read more

Log in