I can able to access webui using http://my_esx_IP until
I did made some change to /etc/hosts
from 127.0.0.1 localhost.localdomain
to 127.0.0.1 esxbox.localdomain
After that I can't access the webui .
Then I tried to reverse it back to old one and did restart the webAccess by
\# service vmware-webAccess restart
But, I still can't access webui.
I did tried "telnet
And webAccess seems to runing properly as a result of this cmd.
\# ps -aux|grep webAccess
root 4290 0.5 24.1 291348 64676 ? S 01:26 0:08 /usr/lib/vmware/webAccess/java/jre1.5.0_04/bin/webAccess -server -Xincgc -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/lib/vmware/webAccess/tomcat/jakarta-tomcat-5.5.9/common/endorsed -classpath :/usr/lib/vmware
And, here are the messages I toke from /var/log/vmware/hostd.log
\[2006-12-03 01:32:53.437 'ProxysvcPlugin' 7789488 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:33:13.477 'ProxysvcPlugin' 2862000 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:33:33.517 'ProxysvcPlugin' 7789488 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:33:53.557 'ProxysvcPlugin' 2862000 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:34:13.597 'ProxysvcPlugin' 7789488 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:34:33.637 'ProxysvcPlugin' 2862000 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:34:53.677 'ProxysvcPlugin' 7789488 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:35:13.717 'ProxysvcPlugin' 2862000 error] Connection to server localhost:9080 failed with error Success. Retrying...
\[2006-12-03 01:35:33.757 'ProxysvcPlugin' 7789488 error] ProxyReq: Exception while processing request: Success
\[2006-12-03 01:35:53.797 'ProxysvcPlugin' 2862000 error] ProxyReq: Exception while processing request: Success
Anybody know what to do?
WebAccess depends on the ability to be able to map to localhost. Thus if you cannot 'ping localhost' and get a response back from 127.0.0.1 than it will fail. Change the localhost line in your hosts file to look like this:
127.0.0.1 localhost.localdomain localhost
and than restart the webservice, and you should be good to go. I recommend leaving the first line of the hosts file like above.
(PS: I think you can change this behavior in one of the WebAccess configuration files located in /etc/vmware/WebAccess, however off the top of my head I cannot remember which file)
WebAccess depends on the ability to be able to map to localhost. Thus if you cannot 'ping localhost' and get a response back from 127.0.0.1 than it will fail. Change the localhost line in your hosts file to look like this:
127.0.0.1 localhost.localdomain localhost
and than restart the webservice, and you should be good to go. I recommend leaving the first line of the hosts file like above.
(PS: I think you can change this behavior in one of the WebAccess configuration files located in /etc/vmware/WebAccess, however off the top of my head I cannot remember which file)
I think you need the short form localhost too so
127.0.0.1 locahost.locadomain localhost
did it, but no luck at all.
Hi,
It work now!!.
I notcie that I am something wrong with mgmt-vmware then
I did restart it. And now I can access to webui.
Thank all for your help.
Hallo, me too i had this problem, and succeded when i changed the dns domain en VMware VI client, mi hostname is szzonazvm1 and the /etc/host must be:
127.0.0.1 szzonazvm1.soluziona.lan.guf.es localhost
10.240.5.241 szzonazvm1.soluziona.lan.guf.es
it is important do ping to localhost and be OK