Browsing all articles in Cpanel
Nov
4

WHM Account Transfer Error

Author andy18    Category Cpanel     Tags

If you are getting the following error when you try to perform any account transfer from the WHM, make sure that the port are open on your server. Check the firewall configuration on your server.

Connecting to Remote Server Failed: Unable to connect to 123.111.222.333:1111: Bad file descriptor

Aug
14

Compiling mod_headers into Apache with cPanel

Author andy18    Category Cpanel     Tags

mod_headers is an extension modules of Apache 1.x and 2.x which allow customization of HTTP response headers. Details on the mod_headers can be found on the Apache 1.1 mod_headers and Apache 2.0 mod headers page.

Here’s some easy steps to compile it to your cPanel Apache server:

1. Make a backup copy of your httpd.conf by running cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak ( or any file name that you like )

2. cd /home/cpapachebuild/buildapache/apache_1.x.xx/src/modules/standard – if you do not see the directory of apache_1.x.xx, download the apache source file from the Apache Download page to /home/cpapachebuild/buildapache/ and untar it.

3. /usr/local/apache/bin/apxs -c mod_headers.c

4. /usr/local/apache/bin/apxs -i -a -n headers mod_headers.so

This will compile the mod_headers to the Apache and add in the configuration lines to the httpd.conf file as well.

Run a apachectl configtest as well to make sure it is Syntax-error free. Restart the Apache services and you are done.

Aug
7

Disable MySQL Update in cPanel

Author andy18    Category Cpanel     Tags

Some users may find they would like to disable the MySQL update in their cPanel when there is any new release though the daily system update. In fact, cPanel is slow in releasing new version even after some months of stable version.

If you wish to do that, create a blank file mysqlupdisable in /etc and that will do the trick.

touch /etc/mysqlupdisable

If you find the file is went missing after some date, you may modify the attribute of the file:

chattr +i /etc/mysqlupdisable

Jul
30

Vmware 2.x on Windows Vista

Author andy18    Category Cpanel     Tags

Today I have tried to open a VmWare image in a Windows Vista Business which I have previously saved in my Windows XP Professional operating system and being prompted with the following message

“Error while opening the virtual machine: This virtual machine appears to be in use”

After some search on the Internet, it turns out to be the existance of an lock file – .lck on the same directory of the image files that causes this. Removing that lock file and voila! My Vmware images has been loaded..

Mar
20

Installing Cpanel

Author andy18    Category Cpanel     Tags

Installing Cpanel is just easy as you can’t even imagine. Let’s start the installation guides:

1. Login to your Cpanel server via SSH as root user
2. mkdir /home/cpins
3. cd /home/cpins
4. wget http://layer1.cpanel.net/latest
5. sh latest

Depending on your ISP / server connection, it will take sometimes to complete the installation as the Cpanel installation script will connect to the download server to download all the necessary rpms to be installed on your server. Enjoy !!