Wednesday, April 20, 2011

Mount NFS shared on ESX -notes

Few things to take note:

If you encounter the following error and are sure that your NFS server firewall is ocnfigured properly or disable

 mount: mount to NFS server 'hostname' failed: System Error: Connection refused  

You might want to try this this

 esxcfg-firewall -e nfsClient

If you encounter the following error:

 mount.nfs Input/output error

You might want to check your portmap status and start it if is stopped.

Check ths status

 service portmap status

Start the service

 service portmap start

Wednesday, March 30, 2011

VMware ESX 4.1 smb - How to mount CIFS drive

For shared drive without domain:

[user@system ~]mount -t cifs //192.168.123.123/share /mnt/CIFS -o username=Administrator

For shared drive with domain:

[user@system ~]mount -t cifs //192.168.123.123/share /mnt/CIFS -o username=Administrator,workgroup=Domain


Wednesday, March 9, 2011

Ksym Dependancy - rpm

If you encounter some ksym (..) dependancy problem when installing kmod package, you might want to try the --nodeps switch.

rpm -ivh --nodeps kmod.something.rpm

Some quote from the HP website

"RPM uses KMP packaging dependency data to ensure the dependencies are met
before installing the binary RPM. Red Hat maintains a whitelist of kernel
symbols which RPM uses to validate against the KMP binaries. Some symbols may
be in the kernel but not on the whitelist which results in a failed binary RPM
install. The user will need to use the "--nodeps" switch when installing the
binary."


Monday, March 7, 2011

Sunday, February 6, 2011

ESX 4.1 - initialization of module ipmi_si_drv failed

If you encounter such problem and you are sure your system doesn't support ipmi, you can disable it by editing this file /etc/vmware/init/init.d/72.ipmi

Add in the following line (italic) and save the file.

return ${SUCCESS}

Exec esxcfg-init -I || {
return ${NON_CRITICAL_FAILURE}
}

Monday, December 27, 2010

VMware ESX 4.1 smb - mount error 111 = connection refused

If you encounter the following error when you try to mount to a CIFS share on a windows server from service console as shown below:

[root@esx41 mnt]# mount -t cifs //192.168.44.88/shared /mnt/CIFS -o user=administrator
Password:
mount error 111 = Connection refused
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


This is probably caused by the ESX firewall issue, to enable Samba client connections:

[root@esx41 samba]# esxcfg-firewall -e smbClient

And this should fix the mount error 111 problem.

Tuesday, December 7, 2010

How to enable VMware Web Access

Go to the console and log in. First check the status of VMware web access service by typing this

service vmware-webAccess status

if the service is stopped, just type

service vmware-webAccess start

and you should be able to login to web access.

To have web access enabled every time you start your ESX server, type the following command:

chkconfig --level 345 vmware-webAccess on