Category: cPanel

ApacheBooster

This software has been depreciated. Please do not use. From prajith.in ApacheBooster is an install and integration of nginx and varnish onto the server with an addition of a WHM plugin to manage it. This setup will reduce the server load spikes and memory usage, Also the plugin will provides the following features: Restart ApacheBooster…


Easyapache mysqli extension error

It seems that sometimes the mysqli extension in EasyApache will not compile in properly on CentOS4. It was failing with this error: /bin/sh /home/cpeasyapache/src/php-5.3.15/libtool –silent –preserve-dup-deps –mode=compile gcc -Iext/mysqli/ -I/home/cpeasyapache/src/php-5.3.15/ext/mysqli/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.3.15/include -I/home/cpeasyapache/src/php-5.3.15/main -I/home/cpeasyapache/src/php-5.3.15 -I/home/cpeasyapache/src/php-5.3.15/ext/date/lib -I/home/cpeasyapache/src/php-5.3.15/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/usr/X11R6/include -I/usr/include/freetype2 -I/opt/php_with_imap_client//include -I/home/cpeasyapache/src/php-5.3.15/ext/mbstring/oniguruma -I/home/cpeasyapache/src/php-5.3.15/ext/mbstring/libmbfl -I/home/cpeasyapache/src/php-5.3.15/ext/mbstring/libmbfl/mbfl -I/opt/libmcrypt//include -I/usr/include/mysql -I/home/cpeasyapache/src/php-5.3.15/ext/sqlite3/libsqlite -I/home/cpeasyapache/src/php-5.3.15/TSRM -I/home/cpeasyapache/src/php-5.3.15/Zend -g -O2 -prefer-non-pic -c /home/cpeasyapache/src/php-5.3.15/ext/mysqli/mysqli.c…


cPanel autorepair script for CentOS

[cPanel-News] cPanel Releases autorepair script for CentOS and RedHat Enterprise Linux cPanel has released an autorepair script to resolve a problem caused by a CentOS and Red Hat Enterprise Linux security update to sudo. If you are experiencing problems resolving domains, please take the following action from WHM or a root shell: To apply the…


Updated 2012 WHM Plugin List

Here is a good solid list of addons/plugins which are available for WHM. This is by no means a complete list as there are many others out there which are paid addons which will increase functionality. A-AST RKHUNTER Interface – http://scriptmantra.info/2009/01/the-rkhunter-whm-interface/ A-AST Sendmail Logger – http://scriptmantra.info/2008/07/sendmail-logger/ cPanel WHM APF Interface – http://scriptmantra.info/2009/01/cpanel-whm-apf-interface/ Account DNS Check…


New EasyApache 3.14 – PHP 4 support removed.

In a few days, cPanel intends to release EasyApache 3.14. On March 20, 2012, we announced the End of Life of PHP 4. EasyApache 3.14 will remove support for PHP 4. If you are currently using PHP 4 as a DSO handler, EasyApache 3.14 will warn you to take action before performing a build. If…


Copy existing cpanel account

An easy way to duplicate an existing cpanel account is: 1. Backup the existing account /scripts/pkgacct domaina 2. Change the domain name and username of the existing cPanel account via WHM >> Main >> Account Functions >> Modify an Account eg. domain name from domain.com to domain.net and username from domaina to domainb 3. Restore…


Edit cPanel nameserver IP’s

As of WHM 11.30, the nameservers’ IP assignments are now read from the Zonefiles and actual DNS queries after recent updates. If you are not seeing the needed IPs in /etc/nameserverips please do not attempt to edit that file, as it is now overwritten by cPanel. Check under WHM: Main >> DNS Functions >> Nameserver…


Rsync Cpanel Server (Cloning)

This script will copy everything necessary for a full cpanel -> cpanel transfer. You need to open the script up and change 127.0.0.1 to the FQDN or IP of the target server. It will first create a key pair and then transfer it to the target server. Root level access is required for this script…


WHM APF Plugin

Download Requirements: – cPanel/WHM (tested on version 11.18) – APF 0.9 (tested on 0.9.6) – iptables enabled and working (if you are able to restart APF without any errors, it’s probably fine) Note: default privileges will allow anyone with WHM/reseller access to use this plugin. You can manually change this in the addon_add2apf.cgi file if…


Cpanel error – Cmd Service Check Raw Output: Fixed ownership on /etc/named.conf

named on host.catersource.com failed nameserver failed @ Sat Aug 1 03:05:40 2009. A restart was attempted automagically. Service Check Method: [check command] Cmd Service Check Raw Output: Fixed ownership on /etc/named.conf Fixed ownership on /etc/rndc.key Fixed ownership on /etc/rndc.conf CentOS recently issued new Bind RPMs because of https://www.isc.org/node/474. Cpanel said to repair this issue they…