Categories

Managing checkperlmodules on cPanel server

The script checkperlmodules is used on cPanel servers to manage a set list of perl CPAN modules. These modules are used by cPanel scripts, applications like SpamAssassin and to provide a nice set of modules for perl web developers. During each run of scripts/upcp, checkperlmodules is executed. If any modules were updated on the CPAN [...]

Preventing cPanel from managing the web service (httpd) process – Part 1

Part of the core design of cPanel is to install and fully manage the web service process. By default this process is Apache as provided by EasyApache. For various reasons1 a server admin may not want to use that installation of Apache, or even use a different web service. In such situations it is advantageous [...]

Debian does not provide a wheel group

This caught me by surprise. Debian does not provide a wheel group. Apparently it’s because the GNU version of su does not work with the normal usage of the wheel group. According to the info page on coreutils:

22.5.1 Why GNU `su’ does not support the `wheel’ group ——————————————————

(This section is by Richard [...]

rrdtool part another

It appears the path to the rrdtool executable is hard-coded in more than one place. A second location is in /usr/local/cpanel/Cpanel/Bandwidth/RRD.pm. The fix is the same as before:

Change the rrdtool path to /usr/bin/rrdtool Exclude the file from updates: ?View Code SHELL1 2 # echo "/usr/local/cpanel/Cpanel/Bandwidth/RRD.pm" >> /etc/cpanelsync.exclude <

Now on Debian

Due to hardware issues, the migration to the Debian-based cPanel server was expedited.

Welcome to the Debian-based cPanel server.

Fixing rrdtool

When starting cpsrvd or using cpanellogd directly the following error will appear:

Died at /usr/local/cpanel/bin/rrdtoolinstall line 75. No font directories found on the system. Install an X11 font package (such as xorg-x11-fonts-base or XFree86-base-fonts) and try again.

Since my goal with this installation is to use as many packages from a Debian repository as possible, [...]

Installing cPanel on Debian servers

The first step is getting cPanel installed on the server. The cPanel installer will work to some degree. What I did was extract the installer and modify it to my purposes. In particular to meet the following goals:

Skip installation of a lot of dependencies. Most of these dependencies are for EasyApache. I want to [...]

Using cPanel with Debian-based Servers

Using cPanel with a Debian-based server (most commonly Ubuntu) is a popular request via our forum and sales system. As shown in our system requirements page, cPanel/WHM gives you the best experience on Red Hat Enterprise or CentOS. With some work and system knowledge it is possible to install and use cPanel on (nearly) any [...]