To check installed perl modules in the server,run following command: perl -MCPAN -e ‘CPAN::Shell->r’ […]
Posts by seemab:
Way to install pcntl in cpanel server
To install pcntl: Create a file called: /var/cpanel/easy/apache/rawopts/all_php5 Add this to the file: –enable-pcntl Run easy apache with the default settings. […]
Access files through ftp
To access files through ftp: ftp://ftpuser@domain.com/ The files in directory ftpuser will be accessed. […]
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 […]
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: This might be occur due to some configuration issues with cPanel’s default PHP. You can simply fix it with the following script. /scripts/makecpphp […]
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 […]