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

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

Setting up a Red5 Flash Media Server

This post will explain a simple process for installing a Red5 Flash Media server in a VPS or Dedicated environment. Install Subversion and Java yum -y install java-1.7.0-openjdk java-1.7.0-openjdk-devel yum -y install subversion Install Ant (get the latest from http://ant.apache.org/bindownload.cgi) cd /opt wget http://apache.spinellicreations.com/ant/binaries/apache-ant-1.9.0-bin.zip unzip ant/binaries/apache-ant-1.9.0-bin.zip mv apache-ant-1.9.0 ant ln -s /opt/ant/bin/ant /usr/bin/ant Update bash…

Read more

10 Tips for Improving Email Delivery

One of the most common problems that hosting providers face is the issue of user email not being delivered to other mail servers. Not only does it annoy the end user, but it’s extremely frustrating for the server administrator to deal with since there’s not always a clear indication of why email doesn’t get delivered…

Read more

Nasty Kernel Exploit in the Wild

I love waking up in on a nice Saturday morning to find out that one of my servers was rooted. A two-year-old kernel issue in Redhat distributions has surfaced in the form of a nasty exploit byAc1db1tch3z. Basically, a 32-bit binary is compiled and loaded to the server, and when run by any users (even…

Read more

Overview of PHP Handlers

One user on the cPanel forums spent some time summarizing the four PHP handlers,currently available via EasyApache, into a neat little chart that makes it easy to do a quick comparison. With that user’s permission, I’m posting the chart here: Click on the image for the original-sized diagram. Thanks to Miraenda from errorcodex.com for providing…

Read more

Manually Rearranging Accounts

There was a situation today where I had to mass-move a bunch of accounts from one partition to another. WHM’s Rearrange an Account function does this one account at a time, but to move over 50 of them, a more scripted solution was necessary. Here’s how I did it on a live server without causing…

Read more

Performance Tip: Disable Optimizefs

CPanel utilizes a script called “optimizefs” that removes the atime attribute from certain files on the system. For larger servers, this can create a lot of i/o load for a problem that can be fixed simply by mounting your file systems with the noatim Metabolic Masterpiece e flag if your file system is ext2 or…

Read more

That Huge .cpan Folder in /Home

A common question we get from cPanel administrators is whether it’s Ok to remove /home/.cpan¬†since, on many servers, it tends to grow to a size exceeding 1G. The short answer is yes – installation files. If you find that yours is occupying too much disk space, delete it, and run the following commands: perl -MCPAN…

Read more

Log in