[cPanel] Add permanent whitelist IP Address using CSF/LFD

Wednesday, May 26th, 2010

You can whitelist IP Address quickly using ConfigServer Firewall/Login Failure Daemon (CSF/LFD) by using the Quick Allow or editing Firewall Allow IPs but the number of IP Addresses kept by CSF/LFD is limited (by default is 100 or other numbers you specified in Firewall Configuration) as a large number of IP addresses create a large number of iptables rules (4 times the number of IP’s) which can cause problems on some systems where either the the number of iptables entries has been limited (esp VPS’s) or where resources are limited. This can result in slow network performance, or, in the case of iptables entry limits, can prevent your server from booting as not all the required iptables chain settings will be correctly configured.

CSF/LFD will removes oldest entries and replaced with new one. So how to make CSF/LFD make permanent whitelist IP Address? Here’s how:
(more…)

SocialTwist Tell-a-Friend

[cPanel] Exim Maximum Attachment Size

Thursday, March 4th, 2010

By default Exim maximum message size is 50MB, you can confirm it by typing

# exim -bP | grep message_size_limit
 message_size_limit = 50M

You can change maximum message size by adding line

message_size_limit = 5M

(more…)

SocialTwist Tell-a-Friend

[cPanel] Internal Server Error after installation

Thursday, February 11th, 2010

Installing cPanel is very easy, what you need is patience, enough bandwidth and following tutorial described in cPanel Quick Install Guide. But even I have followed the guide carefully and make sure I have make prepation still I can go wrong. Below is quick steps to install cPanel:

  1. Install Minimal CentOS
  2. Create harddrive partition
  3. Deactivate the firewall
  4. Disable SELinux
  5. Ensure your newly-installed OS has the latest updates and patches.
  6. Obtaining a cPanel/WHM License
  7. Begin Installation
    cd /home
    wget -N http://layer1.cpanel.net/latest
    sh latest
    /usr/local/cpanel/cpkeyclt

After 5 hours installation is complete then when I am accessing WHM, this error came up

Internal Server Error
open3: exec of /usr/local/cpanel/whostmgr/bin/whostmgr3 ./initial_setup_wizard1 failed at cpsrvd line 6114

(more…)

SocialTwist Tell-a-Friend

[cPanel] License File

Thursday, January 14th, 2010

Below is several thing to know about about cPanel License file.

To validate (make sure) your IP Address already has license for cPanel to to cPanel License Validator, and enter your server main IP Address.

  • If you have updating your cPanel License from Trial to Active, or
  • If you change your server hostname, or
  • You get Invalid License File error due to hostname change, bad system time, license IP address binding, firewall rules, and some other more obscure scenarios

You can try run this command as root

/usr/local/cpanel/cpkeyclt

A helpful expired license checklist in the cPanel forums takes troubleshooting further if the above methods don’t help.

PS: With an invalid license, any Web interface to cPanel will not work (including, WHM and Webmail)

from WebMarketEdge

SocialTwist Tell-a-Friend

[cPanel] Add another main shared IP Address

Tuesday, December 8th, 2009

cPanel has 1 main shared IP address which configured on Basic cPanel/WHM Setup, so you can’t add multiple accounts to use the same IP address, unless the account is reseller. So how do you add another main shared IP address?
(more…)

SocialTwist Tell-a-Friend