Blog Archives

Upgrade phpmyadmin

Go to http://www.phpmyadmin.net/home_page/ and download the latest stable version. Backup the config.inc.php file currently on the server. Use the configuration values from your old config.inc.php file to correctly configure the new config.inc.php Re-name your existing “PhpMyAdmin” directory something like “PhpMyAdmin.old”

Posted in Cpanel, Issues, Third party softwares

Resize /tmp in cpanel servers

service chkservd stop service httpd stop service mysql stop service postgresql stop lsof | grep /tmp kill the process umount /var/tmp umount /tmp vi /scripts/securetmp replace “256000” with “512000” rm -rf /usr/tmpDSK /scripts/securetmp –auto cd /tmp ln -s /var/lib/mysql/mysql.sock service

Posted in Cpanel, Issues, Server Setup

Sender verify defer + host lookup did not complete

Login to WHM >> Main >> Service Configuration >> Exim Configuration Editor . Uncheck the option: Sender Verification If it doesn’t help, reset ALL EXIM configuration to default and try again.

Posted in Cpanel, Issues, Mail

Change Mail Server IP

Sometimes your server’s IP address may get black listed by most of RBLs. In such situation a quick solution is to route the emails through a secondary IP address on the same server which is not black listed. There are

Posted in Cpanel, Issues, Mail

The perl module Encode::Detect::Detector could not be installed

Change the current cpanel version to stable : vi /etc/cpupdate.conf CPANEL=stable /scripts/upcp –force /scripts/perlinstaller –force Encode::Detect::Detector If that doesn’t work, please try /scripts/autorepair encodedetectfix No luck? then do: type cpan and from cpan mode type below. install Detect::Module If none

Posted in Cpanel, Issues

Script used to transfer account from cpanel server

#!/bin/bash ls -1 /var/cpanel/users > /root/user_list PORT=”22″ ssh-keygen -t dsa KEY=`cat /root/.ssh/id_dsa.pub` ssh $1 -p$PORT “mkdir -p /root/.ssh;echo ${KEY} >> /root/.ssh/authorized_keys” 2>&1 scp /var/cpanel/packages/* $1:/var/cpanel/packages/ for user in $(cat /root/user_list);do /scripts/pkgacct $user;done scp /home/user_list $1:/home scp /home/cpmove* $1:/home

Posted in Cpanel, Scripts, Server Setup

Script used to correct permission of files after suphp

#!/bin/bash # For some stupid reason, cPanel screws up the directory permissions. chmod 755 /opt/suphp find /opt/suphp -type d -exec chmod 755 {} \; # Ensure that the permissions are sane and won’t cause a 500 error. for user in

Posted in Cpanel, Issues, Scripts, Server Security
Blog Stats
  • 120,740 hits
Follow

Get every new post delivered to your Inbox.

Join 211 other followers