Tags » CPanel

How to change the primary IP addres of a WHM/cPanel server

Steps in WHM:

  • Log into WHM and go to Basic cPanel & WHM Setup
  • Change the Primary IP here with the option that says “The IP address (only one address) that will be used for setting up shared IP virtual hosts“
  • 220 more words
CPanel

How to setup spam rules for your accounts in cPanel servers.

You can use the file ” /etc/cpanel_exim_system_filter2 ” for globally setting the spam rules.

If you need to set it for individual users use the below files: 110 more words

Linux Technical Support

Extending Swap space on an LVM

Sometimes it is necessary to add more swap space after installation. For example, you may upgrade the amount of RAM in your system from 1 GB to 2 GB, but there is only 2 GB of swap space. 146 more words

Cpanel

Specified key was too long; max key length is 1000 byt

Error :

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 1000 bytes

Cause : known bug with MySQL related to MyISAM, 22 more words

Cpanel

Apache restarting every 2 hours

Issue: In my server, I could see that the apache is restarting gracefully every 2 hour.

#grep Graceful /usr/local/apache/logs/error_log
Graceful restart requested, doing restart
Graceful restart requested, doing restart… 132 more words

Cpanel

Changing eaccelerator cache directory

Issue :

We know that the default directory for eaccelerator cache is “/tmp/eaccelerator”. In most of the cases, this directory causing the /tmp to fill and that will cause many issues. 105 more words

Cpanel

Eaccelerator filling up /tmp folder

Issue:

I have found that /tmp is full and the issue was due to eaccelerator cache. You can check whether the eaccelerator is filling your tmp folder using “du -sch” command. 63 more words

Cpanel