Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release? A. You can upgrade to EDGE release from WHM manager. Please note that Edge is the bleeding edge tree. While it has the newest features; It has undergone the least amount of testing (if any). You generally shouldn’t… Continue reading Upgrade WHM / cPanel Linux server to EDGE Virtuozzo Optimized release
semget: No space left on device
This relates to semaphores on your system (you’ve run out). Run the following to clear them out: ipcs | grep apache | awk ‘{print $2}’ > sem.txt for i in `cat sem.txt`; do { ipcrm -s $i; }; done; For cPanel servers : ipcs | grep nobody | awk ‘{print $2}’ > sem.txt for i… Continue reading semget: No space left on device
Setting Private name servers in Cpanel / WHM
If you want your own name server such as ns1.linuxbabu.net, ns2.linuxbabu.net Please follow the below steps to setup your own nameservers. Step 1. Log into your domain manager account, via your domain registrar’s web site (i.e. www.godaddy.com , www.enom.com , …) Step 2: You will need to name your DNS server and insert a valid… Continue reading Setting Private name servers in Cpanel / WHM
How do I view what exim is doing?
Exim comes with a utility called ‘exiwhat’ which will display what each instance of exim is currently involved with. The output will look similar to this: root@server [~]# exiwhat 2118 daemon: -q1h, listening for SMTP on port 25 (IPv4) 2130 daemon: no queue runs, listening for SMTPS on port 465 (IPv4) 31640 handling incoming connection… Continue reading How do I view what exim is doing?
Any operation on a VPS gives me “Cannot lock VE”. How do I solve it?
A VPS is locked when some operation (backup, migration, start / stop, etc.) with that VPS is in progress. You can determine which process is holding VPS #101 using the following command on the hardware node: cat /vz/lock/101.lck You can kill that process if needed, but make sure that the process is really killed. If… Continue reading Any operation on a VPS gives me “Cannot lock VE”. How do I solve it?
DirectAdmin : How to downgrade from apache 2 back to apache 1.3
If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file and change apache_ver=2.0 to apache_ver=1.3. Then type echo “action=rewrite&value=ips” >>… Continue reading DirectAdmin : How to downgrade from apache 2 back to apache 1.3
Updating your DirectAdmin License manually
If you need to update your DirectAdmin license manually, you can do so by running the following commands: cd /usr/local/directadmin/scripts ./getLicense.sh 123 1234 service directadmin restart Where 123 and 1234 are your Client ID and License ID, respectively. If there are errrors extracting the update.tar.gz file, then run: head -n 1 /usr/local/directadmin/conf/license.key to search for… Continue reading Updating your DirectAdmin License manually
Plesk domain bakups
Here is the steps to backup individual domain on Plesk. I’ve tested. It works. 1) backup the domain #pleskbackup -v domains yourdomainname.com backupfilename.bkp 2) Then create a map file #pleskrestore –create-map backupfilename.bkp -map yourmapfilename map file should be like that below. if not, edit it. ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++ [thisdomain’sclientname] # Client account name yourdomainname.com 11.22.33.44 #… Continue reading Plesk domain bakups
How to re-install RVSkin ?
How to uninstall RVSkin? Run this command: perl /root/rvadmin/uninstall.pl Terminate rvadmin account from WHM Reinstall rvadmin mkdir /root/rvadmin; cd /root/rvadmin; wget http://download.rvglobalsoft.com/download.php/download/rvskin-auto/saveto/rvauto.tar.bz2; bunzip2 -d rvauto.tar.bz2; tar -xvf rvauto.tar; perl /root/rvadmin/auto_rvskin.pl
How can I restore the Plesk psa database from a backup?
The following example shows how to restore the mysql.preupgrade.dump.gz backup file. gunzip /var/lib/psa/dumps/mysql.preupgrade.dump.gz mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e”DROP DATABASE psa;” mysql -uadmin -p`cat /etc/psa/.psa.shadow` < /var/lib/psa/dumps/mysql.preupgrade.dump Actually standard daily backup file includes three databases: * psa * horde * mysql That is why the following error message will appear when you performed the latest command:… Continue reading How can I restore the Plesk psa database from a backup?