Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Author: UltratechHost - Replies: 0 - Views: 6425
cPanel/WHM shows the error "Invalid license file", why ?
cPanel will show you an invalid license file error if you change your hostname to something that does not resolve to your server's IP address. You should change back the hostname to the original one or use a domain that resolve to your server's IP address by following these instructions:

[code]1. Connect to your server with SSH using the root user
2. Type in the following:hostname server.domain.com
3. Then type: /usr/local/cpanel/cpkeyclt in order to reactivate your cPanel/WHM license.
Author: UltratechHost - Replies: 0 - Views: 4517
How to install rpms, perl modules from WHM ?
You can install perl modules and rpms from your WHM.
To install a perl module, use this procedure.

•   Log on to your WHM as root.
    •   Go to section "Software"
    •   Click on "Install a Perl Module"
    •   Enter the name of the perl module you need to install in the field.
    •   Click "Search".
    •   You will get a list of perl modlules that matches the given search name.
    •   Click on the module name to install.

To install a RPM, use this procedure

Author: UltratechHost - Replies: 0 - Views: 4799
How to Detect DoS attacks ?
Here is a command line to run on your server if you think your server is under attack. It prints our a list of open connections to your server and sorts them by amount.

RedHat: netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

BSD: netstat -na |awk '{print $5}' |cut -d "." -f1,2,3,4 |sort |uniq -c |sort -n

You can also check for connections by running the following command.
netstat -plan | grep :80 | awk '{print $4 }' | sort -n | uniq -c | sort

These are few s