Month: December 2012

Apache, CPanel / WHM, Installation

How to: Install mod_pagespeed in cpanel

How to: Install mod_pagespeed in cpanel Login to the server via SSH Go to below folder cd /usr/local/src create directory mkdir mod_pagespeed Download pagespeed rpm wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_i386.rpm Extract the rpm rpm2cpio mod-pagespeed-beta_current_i386.rpm | cpio -idmv Copy the modules to apache modules folder cp /usr/local/src/mod-pagespeed/usr/lib/httpd/modules/mod_pagespeed.so /usr/local/apache/modules/ cp /usr/local/src/mod-pagespeed/etc/httpd/conf.d/pagespeed.conf /usr/local/apache/conf/ Provide execute permission chmod 755 /usr/local/apache/modules/mod_pagespeed.so Create ...

CPanel / WHM

Unknown License File Version in cpanel : Failed to get a new license, or part of the update process failed

Sometime while accessing WHM, some links are giving below error. =============================================== Unknown License File Version (has = 23, needed = 22, length=1554). This means that the system failed to get a new license, or part of the update process failed. If you are the server admin, ===============================================   To resolve this issue follow the below ...

CPanel / WHM, Installation, Uncategorized

How To: Find Symlink under UNIX / Linux

How To: Find Symlink under UNIX / Linux Now, a days sym/root hacking is famous and hacker can create a sym/root folder by using script. How do I find symlink(s) under UNIX and Linux operating systems? Use the below command to find symlink directory find /path/to/dir -lname /path/to/file OR If you want to search sym/root ...

CPanel / WHM, MySql

mysql is disabled by sys admin while restarting mysql service

Sometimes it may happen that while restarting mysql service on server you are getting below error. mysql is disabled by sys admin Try running below script to bring mysql up again /scripts/mysqlup If it's Up then ok, but sometime it will give below error Updates for mysql /etc/mysql disabled If it is not working then ...

CPanel / WHM, Uncategorized

Log folder contents deleted getting error mails

Log folder contents deleted getting cron mails and getting below error. Cannot open /var/log/sa/sa03: No such file or directory   Login to server via SSH Go insideĀ /var/log/ folder cd /var/log/ Check for sa folder, if it is not present then create it manually using below command. Files will be generated automatically inside that folder mkdir ...

CPanel / WHM, MySql

IP remove from Brute Force Attack database by SSH

Sometimes, because of the Brute Force Attack we are unable to login to WHM if we are using correct details also. Then at that time try using below method.   Login to server via SSH. Connect with mysql database using mysql command. It will show below output. [email protected] [/var/log]# mysql Welcome to the MySQL monitor. ...