You can set the load value for server by using following steps but make sure that you are having root login details to make server wide chanegs. Edit the file /var/cpanel/cpanel.config and change extracpus to a number larger then 0 Then run /usr/local/cpanel/startup afterwards to pickup the changes.
Archive for the ‘cpanel’ Category
How to Open Passive FTP in iptable?
To Open Passive FTP in iptable root login is require. If you want to open port range from 30000:64000 then run the following command from shell. iptables -A INPUT -p tcp -m tcp –dport 30000:64000 -j ACCEPT Similarly you can open passive post range as per your requirement.
What is Core Files in Linux?
A core file created when ever a program terminates unexpectedly and its also useful for determining what caused the termination. In many Linux server by default they do not produce core files when programs crash or terminates unexpectedly. On most of the Linux server core file size limitation is set to 0.You can check the […]
How to delete frozen emails?
You can delete the frozen emails by using the following command from shell but make sure that you have logged in as a root user. exim -bp | awk ‘$6~”frozen” { print $3 }’ | xargs exim -Mrm
Add SPF record by default for all new accounts domain
If anyone want to add SPF record by default to newly created account on cPanel server then follow the steps one by one to enable the SPF record. 1. Login to WHM using root 2. Click on Edit “Zone Templates” and then on “standard” 3. Add at the end of the “Zone Templates” file: %domain%. […]
How to enable html display for horde?
You can enable the html display for horde by using following steps but please make sure that you have been logged in as root. root@admin[~]# vi /usr/local/cpanel/base/horde/imp/config/mime_drivers.php Search for the line —- /** * HTML driver settings */ $mime_drivers[‘imp’][‘html’][‘inline’] = false; —– and replace it with ——– /** * HTML driver settings */ $mime_drivers[‘imp’][‘html’][‘inline’] = […]
How to disable local-mail delivery for one domain name?
You can disable local-mail delivery for one domain name from your shell and follow the instructions.. First go to file root@admin[~]#vi /etc/localdomains Then select the domain name give them comment# or remove it and save the file :wq! Second step go to file root@admin[~]#vi /etc/remotedomains and add the domain name we have comment or removed […]
Horde session issue
There is a very common issue where Horde prevents access to webmail by repeatedly redirecting viewers to Language Selection screen. The following commands, executed as root, will solve these issues: root@server[~]#/usr/local/cpanel/bin/checkperlmodules root@server[~]#/scripts/fullhordereset root@server[~]#myisamchk -r /var/lib/mysql/horde/horde_sessionhandler.MYI If still you have problem then check the ownership for session directory present in/var/cpanel/userhomes/cpanelhorde directory. root@server[~]#ll /var/cpanel/userhomes/cpanelhorde drwx–x–x 4 cpanelhorde cpanelhorde […]
How to set E-mail size in exim?
First Method :- You can set the E-mail size limit from your WHM. First login into WHM Second select “Exim Configuration Editor” present unde ” Service Configuration” section. Third scroll down and click on “Advanced Editor” optoin. You will see the empty box (remember select first empty box) where you can type (right underneath where […]
SERVICE CURRENTLY NOT AVAILABLE Error No. [0x01F4] – RoundCube
Mostly we received following error aftre browsing RoundCube SERVICE CURRENTLY NOT AVAILABLE Error No. [0x01F4] – RoundCube As well as RoundCube error logs showing following logs [06-Oct-2008 08:34:56 -0400] DB Error: _doQuery: [Error message: Could not execute statement] [Last executed query: PREPARE MDB2_STATEMENT_mysql_8c77e0752a8db2da365c3c7a19fe8842c84663aa7 FROM ‘INSERT INTO messages\n (user_id, del, cache_key, created, idx, uid, subject, […]



