Category Archives: Virtualization

VMware : How to reset ESXi root password?

Lost your root password? Well, this is very unfortunate! This tutorial will show you how to reset ESXi root password. There is no supported method to “reset” the root password, VMware suggest to boot from ESXi installer disk and select “Install ESXi, preserve VMFS datastore” option. This will overwrite the current installation (fresh install, overwriting… Read More »

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 »