How-to enable web access in ESX 4


If you need to access your ESX 4.0 server through your web browser via HTTPS, you might not succeed at first try. You will receive an error “503 Service unavailable”. So what to do?

How-to access ESX 4.0 server wia Web Browser and https

01.) You first I check for the service if it’s running or not. Go to the console and log in. Then type in following command to see if the service is running : (it’s case sensitive)

service vmware-webAccess status

02.) Start the service:  service vmware-webAccess start

It seems that this service is disabled by default. Then, if you need to have web access enabled every time your start your ESX Server, then you can do it by executing folowing command:

chkconfig –level 345 vmware-webAccess on

How-to access ESX 4.0 server wia Web Browser and https

How-to access ESX 4.0 server wia Web Browser and https

Comments

  1. sk8killer says

    you said : “chkconfig –level 345 vmware-webAccess on”

    but I assume you meant “–level” (in case people would do copy-paste)

    thanks.

  2. luca says

    To disable VMware Web Access:

    1.
    Log in as root to the ESX host using an SSH client.
    2.
    Run this following command to stop the VMware Web Access service:

    service vmware-webAccess stop

    3.
    To prevent the service from starting again upon reboot, run the command:

    chkconfig –-level 345 vmware-webAccess off

    4.
    After disabling the Web Access service you can browse the index page of the ESX host and download the VMware Infrastructure or vSphere Client from it, but you cannot log into Web Access from the page.

    To enable VMware Web Access:

    1.
    Log in as root to the ESX host using an SSH client.
    2.
    Run this command to determine if the VMware Web Access service is running:

    service vmware-webAccess status

    3.
    Run this command to start the VMware Web Access service:

    service vmware-webAccess start

    4.
    To enable the service to start upon reboot, run this command:

    chkconfig –level 345 vmware-webAccess on

    Note: The ESX firewall must allow webAccess communication or the service will not start when ESX 4.0 boots. To enable webAccess in the ESX firewall, run the following command on the ESX host:

    esxcfg-firewall –enableService webAccess

    5.
    If the VMware Web Access does not start after rebooting ESX:
    1.
    Select the ESX host in vSphere Client.
    2.
    Click the Configuration tab > Security Profile.
    3.
    Check vSphere Web Access, then run the following command on the ESX console:

    chkconfig –level 345 vmware-webAccess on

  3. No says

    Thank you very much. You saved me. I have never used ESX and inherited a site with 2 ESX hosts containing 8 servers. One went down at night, so I was not able to access the console. I followed your instructions, and all is well

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current ye@r *