Open Console Not Working in vSphere 5.5 Appliance

Mindwatering Incorporated

Author: Tripp W Black

Created: 01/03/2014 at 07:44 PM

 

Category:
VMWare
vCenter

Issue:
Using the vSphere Web Client, we cannot use the Open Console command. The new window pops-up okay, but doesn't load. The error is:
Firefox can't establish a connection to the server at 123.123.123.123:7331.

The Open Console command still works from the MS Windows-based VI Client.

Solution:
The issue is that the web vsphere-client is missing the VMWARE_JAVA_HOME environmental value.

1. Open the vCenter appliance using SSH. Enter the password needed.
$ ssh root@123.123.123.123:7331

2. Change directory to the wrapper.conf's folder:
# cd /usr/lib/vmware-vsphere-client/server/wrapper/conf

3. Edit the file:
# vi wrapper.conf

4. Under the # Environmental Variables section of the file, add a new line:
set.default.VMWARE_JAVA_HOME=/usr/java/jre-vmware

5. Save the file.

6. Restart the web client service:
# /etc/init.d/vsphere-client restart

7. Close the vSphere Web Client's browser window(s). Log in again from scratch (as your last session is lost with the restart.) Open a VM console, it should load now.



previous page

×