Create the file “/etc/cpanellogddisable”, It will disable cpanellogd: touch /etc/cpanellogddisable After disabling cpanellogd, you’ll need to kill the current processes of cpanellogd: ps aux | grep cpanellogd kill -9 PID Also you should need to move the following files: mv /usr/local/cpanel/cpanellogd /usr/local/cpanel/cpanellogd.bkp mv /usr/local/cpanel/libexec/cpanellogd /usr/local/cpanel/libexec/cpanellogd.bkp After doing these all, cpanellogd won’t be there on your […]
Spamd not starting in server
In some cases spamd doesn’t start along with exim in the server. To fix it use the following commands: sa-learn -D –force-expire sa-update -D /usr/local/cpanel/scripts/spamassassin_dbm_cleaner f/usr/local/cpanel/scripts/fixspamassassinfailedupdate /scripts/restartsrv_spamd If above does not fix the issue, use the following command in the server which installs spamd: /scripts/installspam It is also necessary that interface localhost is UP in […]
/var/spool/exim/db/retry: unexpected file type or format
Sometimes we might face problems in receiving the emails in the inbox.While Checking the email logs we may find the error logs as follows : […]

Changing default charset in MySQL
In order to change the default character set in MySQL follow the given steps: First login to the server as root Open the file /etc/my.cnf vi /etc/my.cnf Add the following lines below [client] section: default-character-set=utf8 Add the following lines below [mysqld] section: default-character-set=utf8 init_connect=’SET NAMES utf8′ Once done restart your mysql service. service mysql restart […]

Webmail error : The server was not able to find the document (./502.shtml)
When we logged into webmail, we usually see the options choose Horde, Squirrel, Round Cube. But when we click any of them,sometimes we get the following Not Found Error: [wpfmb type=’error’ theme=2]The server was not able to find the document (./502.shtml) you requested. Please check the url and try again. You might also want to […]

Error: Horde Webmail “User xxx is not authorised for xxx”
Do the following steps in order to resolve this cd /var/lib/mysql mysqldump horde > horde.sql mysqladmin drop horde /scripts/fullhordereset mysqlcheck -r -o horde After that try logging into horde. […]

How to re- install spamassassin in server
We can use the following script to re install spamassassin on the server. /scripts/perlinstaller –force Mail::Spamassassin If the above script is giving errors, do the following steps: export unset PERL5LIB unset PERL_LOCAL_LIB_ROOT rm /usr/bin/spamd rm /usr/bin/spamc /scripts/installspam –force /scripts/perlinstaller –force Mail::SpamAssassin […]

How to check if SSL is working fine on a site
To check if SSL is working fine on a site use the following php code on a test file and check it with https. <?php if($_SERVER[‘HTTPS’]){ echo ‘You have initiated an SSL connection. You are secured’; }else{ echo ‘You have initiated a NON-SSL connection. You are not secured’; } ?> If SSL is working fine, […]

Rvsite builder license issues
Sometimes we are facing license related issues even after updating license for rvsite in the server, To test the license run: /var/cpanel/rvglobalsoft/rvsitebuilder/www/ionctestlicense.php To update license run the following: /var/cpanel/rvglobalsoft/rvsitebuilder/updatelicense.php This will help to resolve the error no need to reinstall rvsitebuilder. […]
Exclude accounts or files from cpbackup
There are two files in cPanel that will help to exclude files or accounts from cpbackups. To exclude a user in the server from cPanel backup, add the user to the file: […]