VPS

VPS issue related Vmware , virtuozzo and KVM

Vmware issues Part 1

June 15, 2014 // 0 Comments

In this Vmware issue series, you will receive solution for maximum which is occurs on daily basis,  hope it will help. 1st:  while trying to connect the Virtual Infrastructure Web Access, it’s not opening, in that case simply restart the “Web Access” service from the command line service vmware-webaccess restart The above service will restart the Apache as well as Tomcat service which is used for “Virtual Infrastructure Web Access”. 2nd: You are now able to connect the “VMware Infrastructure Client / vSphere Client” but you are receiving the following errors a: Not able to connect ESXi/ESX to VirtualCenter or vCenter Server b: You are not able to access or connect any ESXi/ESX directly, the connection is timing out To resolve the above issues, run the following command from the shell ( vmware ESX server) service mgmt-vmware restart If above command won’t resolve the issue, than run the following command in the sequence because it could be possible that mgmt-vmware restart command does not restart hostd or script stuck. Stop the restart service and if stuck than kill it using following commands cd /var/run/vmware Now check the vmware pid and watchdog pids ls -l vmware-hostd.PID [...]

Decrease memory usage on cPanel server

October 8, 2013 // 0 Comments

To reduce memory use when idle, you can choose to enable dormant mode. In dormant mode, the service will consume considerably less memory at the cost of a slight delay upon the first connection. This feature is available for each of the services in tweak settings.   You can enable the Dormant services from the WHM >> Server configuration » Tweak Settings  and enable the Dormant services as per your requirement. [...]

How to increase RAM memory – II (LVM)

February 20, 2013 // 0 Comments

We cab increase the RAM SWAP memory by using the following commands but make sure that you have logged in as a root user. 1st) First open the /etc/fstab file and check the volume group used for the swap. ~~~~~~~~~~~~ /dev/mapper/vg_test-lv_swap swap swap defaults 0 0 ~~~~~~~~~~~~ In above example the VG is /dev/mapper/vg_test-lv_swap 2nd) Now set the swap off for the VG /dev/mapper/vg_test-lv_swap swapoff -v /dev/mapper/vg_test-lv_swap 3rd) Create the filesystem for new swap partition ~~~~~~~~~~~~~~ mkfs.ext3 -b 4568 /dev/sda4 ~~~~~~~~~~~~~~ In above example, we have used /dev/sda4 4th) Create the phyiscal volume pvcreate /dev/sda4 5th) Check the status for the new free disk space vgdisplay 6th) Now extend the volume group vgextend vg_test /dev/sda4 7th) Now extend the size of a logical volume : ~~~~~~~~~~~~~~ lvresize /dev/mapper/vg_test-lv_swap -L +4G ~~~~~~~~~~~~~~ As per above command the new RAM swap memory value will be 4GB 8TH) Now format the new swap space: mkswap /dev/mapper//vg_test-lv_swap 9th) Enable the extended logical volume: swapon -va Check the new swap value by using the following command free -m If you want to decrease the swap FROM 4G TO 3G  then run the following command lvreduce -L 3G [...]

Exim remote_smtp: retry time not reached for any host after a long failure period

October 15, 2012 // 1 Comment

In the exim logs the following error is occur while trying to send an E-mail. R=lookuphost T=remote_smtp: retry time not reached for any host after a long failure period To resolve the above errors follow the followings steps carefully. cd /var/spool/exim/db Now delete the files or rename it rm -f retry retry.lockfile wait-remote_smtp wait-remote_smtp.lockfile or mv retry retry-back mv retry.lockfile retry.lockfile-back mv wait-remote_smtp wait-remote_smtp-back mv wait-remote_smtp.lockfile wait-remote_smtp.lockfile-back Restart the exim service /etc/init.d/exim restart or service exim [...]

Install memcache

October 3, 2012 // 0 Comments

Memcache is a memory caching system and its developed by the Danga Interactive. We can install the memcache on the cPanel server by using the following steps. Login into the server as root user. Download and install the latest stable memcache version from PECL URL. cd /usr/src wget http://pecl.php.net/get/memcache-2.2.5.tgz tar zxvf memcache-2.2.5.tgz cd memcache-2.2.5 phpize ./configure make make install Once installation completed, make sure that memcache.so is included in the server mains php.ini file.Search the php.ini file php -i | grep php.ini Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini As soon as php.ini file path found out open a php.ini file and add the following line and restart the Apache web service. extension = “memcache.so” Now check if memcache extension is loaded or not in the php, execute the following command. php -i | grep [...]
1 2 3 23