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

Installing Custom MySQL Versions

Update 2/14/14: These instructions have been updated to apply to 11.36+. If at all possible, you should use WHM to install MySQL, however, if you need a version of MySQL outside of what they are offering in current cPanel versions, it is possible to install your own versions. These instructions can also be used to…

Read more

Removing WHM Disk Space Errors

If your server is approaching 99% disk space, your users may be aware of this before you are. At the 1% free margin, the following error will pop up when accessing certain features in cPanel and WHM: Sorry for the inconvience! The filesystem mounted at / on this server is running out of disk space.…

Read more

Errors on /scripts/upcp: Undefined subroutine…

When running a cPanel update, you may get the following error: /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. To fix this, run the following command: wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static –manual Then you can proceed running a cPanel update: /scripts/upcp –force…

Read more

Fixing Quotas on a cPanel Server

If you go into WHM > List Accounts and all your accounts are showing an unlimited quota and 0 disk space usage, you probably have a quota problem. First thing, try running /scripts/fixquotas This’ll take a while depending on your current disk usage, but will usually fix the problem. If it doesn’t, make sure that…

Read more

User Databases Missing from cPanel

After upgrading to cPanel 11.28, a number of our users indicated that databases were missing from their cPanels, despite the actual databases existing on the server. There are a number of things that can cause this, including corrupted Perl modules and MySQL not running, but the major cause that I’ve seen is from the new…

Read more

Everything You Wanted to Know About Cron

The following is a guest post from Gwen Davis of hostingobserver.com. History The first cron was written in the early 1970s for Version 7 UNIX as a system service (also known in UNIX as a daemon). The algorithm, invoked from the /etc/inittab location whenever the OS entered a multi-user mode, was simple — every minute,…

Read more

Log in