Category Archives: Virtualization

VMware ESX : Failed to connect ethernet0

You may encounter this error on VMware ESX / ESXi server on a guest event console (on vSphere Client) : Error message from host.domain.tld: Failed to connect ethernet0 Of course, the guest system have no functional network. This probably happen if you actually rename a Virtual Network that was previously used by the guest. Changes… Read More »

VMware : Install ESX tools for RHEL / CentOS Linux using YUM

To install VMware Tools from the ESX repository on RedHat/CentOS Linux guests using YUM, you need first to install the public key : rpm –import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub [Updated 06/03/12 : key URL has changed. Old location : http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub)] Now, you need to create the repository file located in /etc/yum.repos.d : vi /etc/yum.repos.d/vmware-tools.repo And then, paste the… Read More »

OpenVZ : Unable to set capacity on running container

Got this error trying to adjust time on a VPS from the host node? [root@server ~]# vzctl set 111 –capability sys_timen –save Unable to set capability on running container WARNING: Some of the parameters could not be applied to a running container. Please consider using –setmode option There is two possible solutions : 1. Stop… Read More »

VMware Server : PAM unable to dlopen pam_unix2.so

Using VMware Server on RedHat Enterprise Linux, you may expect this error in log file /var/log/secure : PAM unable to dlopen(/lib/security/pam_unix2.so PAM [error: /lib/security/pam_unix2.so: cannot open shared object file: No such file or directory] PAM adding faulty module: /lib/security/pam_unix2.so Actually, this error does not seem to affect the functionality of VMware Server. To work around… Read More »

VMware Server : Performance tweak tips

VMware Server performance can be improved in so many ways… there are some recomendation that I’ve discovered when I was using this product at large before moving them to ESXi : Use preallocated virtual disk Use as less virtual hardware as possible – do not add unneeded hardware Use ext4 or XFS filesystem (if host… Read More »

Linux : Remove VMware Workstation

Latest VMware Workstation (such as VMware-Workstation-Full-7.1.4-385536.x86_64.bundle) can be uninstalled using the following command on a Linux host : vmware-installer -u vmware-workstation You may have a look at the list of VMware product installed and their version using this command : vmware-installer -l