Archive for December 6th, 2011

How to Disable Telnet

Telnet sends clear text passwords and usernames through logins and should be disabled on all web servers and replaced with SSH. TELNET server listens for incoming messages on port 23, and sends outgoing messages to port 23. 1. Login to your server through SSH and su to root. 2. Type pico /etc/xinetd.d/telnet 3. Look for […]

Fantastico is not installed at the default location

Error : Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings. Solutions that work: Solutions :: Make sure ioncube is installed on the server &  make sure it is enabled in WHM -> Tweak settings. […]

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

If you are getting “(13)Permission denied: /home/username/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.yourdomain.com/shop/index.html” error in  apache error logs file /usr/local/apache/logs/error_log as well as the site is showing 403 Forbidden Error. Then first please check the permissions of your folder and .htaccess file because folder permission are most likely 755 […]

Enable Logging of Slow Queries in MySQL Database

Any non-optimal SQL  commands or statements that take too long or lengthy time to execute will use up a lot of system resources, causing MySQL database to run slower. MySQL has built-in functionality to capture slow query log or identify queries that take a long time to execute. You can enable the full SQL queries […]

Starting Apache HTTPD Failed Cannot Open or No such file mod_bwlimited, mod_log_bytes or mod_bandwidth

On restaring Apache, you may get the following error: Nov 21 09:31:40 web httpd: Cannot load usr/local/apache/libexec/mod_log_bytes.so into server: /usr/local/apache/libexec/mod_log_bytes.so: cannot open shared object file: No such file or directory Nov 21 09:31:40 web rc: Starting httpd: failed Invalid command ‘BytesLog’, perhaps mis-spelled or defined by a module not included in the server configuration This […]

How To Install Cpanel And WHM

To begin your installation, use the following commands: cd /home — Opens the directory /home. wget -N http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers. sh latest — Opens and runs the installation files. /usr/local/cpanel/cpkeyclt — Activates your license after installation.

How to install RVSiteBuilder ?

RV SiteBuilder is a complete online application to build a Website without the need to have any coding knowledge. It is fully integrated to CPanel and is therefore easily accessible. RVsitebuilder requires a license that needs to be purchased fromwww.rvsitebuilder.com SSH as root in your server and download the installer using the following command: cd […]

Howto Install mod_evasive

mod_evasive and mod_security modules are used to secure Apache Web Server from DDoS and brute force attacks by implementing web application firewall. Download the source wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz tar -xzvf mod_evasive_1.10.1.tar.gz cd mod_evasive Compile in the mod_evasive apache module using apxs For Apache 2 /usr/local/apache/bin/apxs -i -a -c mod_evasive20.c For Apache 1.3 /usr/local/apache/bin/apxs -i -a -c […]

How to check cPanel version from command line ?

To see the cPanel version running on your Server, login as root and run the below command: # /usr/local/cpanel/cpanel -V    

IMPORTANT: Do not ignore this email. Hostname error

IMPORTANT: Do not ignore this email. The hostname (hostname.server.com) resolves to . It should resolve to xx.xx.xx.xx. Please be sure to correct /etc/hosts as well as the ‘A’ entry in zone file for the domain. Some are all of these problems can be caused by /etc/resolv.conf being setup incorrectly. Please check this file if you […]