How to Disable Cpanellogd in server

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 […]

Continue Reading…

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 […]

Continue Reading…

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 […]

Continue Reading…