Category: cPanel/WHM

ImageMagick and PHP 5.4

When building the PHP imagick module for ImageMagick on a server running PHP 5.4 (a cPanel/WHM box in this case), you receive the following error: /root/tmp/pear/imagick/imagick_class.c: In function ‘zim_imagick_setfont’: /root/tmp/pear/imagick/imagick_class.c:1442: error: ‘struct _php_core_globals’ has no member named ‘safe_mode’ /root/tmp/pear/imagick/imagick_class.c:1442: error: ‘CHECKUID_CHECK_FILE_AND_DIR’ undeclared (first use in this function) /root/tmp/pear/imagick/imagick_class.c:1442: error: (Each undeclared identifier is reported only once /root/tmp/pear/imagick/imagick_class.c:1442: error: for each...

cPanel Native SSL support failed error

If your cPanel/WHM install randomly sends you an e-mail one day along the lines of: Native SSL support failed to pass the startup test. stunnel was started instead. The exact error was: [linktest=/usr/local/cpanel/bin/linktest-ssl: error while loading shared libraries: /usr/local/cpanel/perl/Net/SSLeay/SSLeay.so: cannot open shared object file: No such file or directory ] [binary=/usr/local/cpanel/cpsrvd-ssl] [cpsrvd=/usr/local/cpanel/cpsrvd-ssl: error while loading shared libraries: /usr/local/cpanel/perl/Net/SSLeay/SSLeay.so: cannot open...

cPanel/WHM and yum-updatesd

In my continuing fight with yum-updatesd, I found that on servers with cPanel/WHM installed it was crashing with mysterious Python errors: root@tma03 [/etc/yum]# yum-updatesd –debug –no-fork Traceback (most recent call last): File “/usr/sbin/yum-updatesd”, line 35, in ? import dbus File “/usr/lib64/python2.4/site-packages/dbus/__init__.py”, line 1, in ? from _dbus import * File “/usr/lib64/python2.4/site-packages/dbus/_dbus.py”, line 48, in ? from proxies import * File...