VMware Server Console unavailable (page not found) – VMware hostagent Service Down

I recently changed IP address my machine hosting VMware server 2.0, after reboot I couldn’t access VMware Server Console page on port 8333 or 8222 i.e.
a) https://localhost:8333/ui/ (SSL) or
b) http://localhost:8222/ui/ (for Non SSL).

To know more about how to use/configure/install VMware server on Microsoft Windows Vista/XP click here

.

Troubleshooting VMware Server Console Issue

1. Check if port 8333 or 8222 is listening on windows server (8333 and 8222 are default web port used by Tomcat shipped with VMware to access console page via browser)

Start -> Run ->  cmd
netstat -an

There was no process Listening on Port 8333 or 8222

2. Check if VMware Service is running

Start -> Run -> services.msc

a. VMware hostagent service was down on starting

The VMware Host Agent service terminated with service-specific error 4294967295 (0xFFFFFFFF).

Recent change : IP change

3. Check Logs at C:\ ProgramData\ VMware\ VMware Server (For Vista)


Log for VMware Server, pid=224, version=2.0.0, build=build-122956, option=Release, section=2
[2009-02-05 05:55:30.352 ‘App’ 3024 info] Current working directory: C:\ProgramData\VMware\VMware Server
[2009-02-05 05:55:30.352 ‘App’ 3024 info] Trying blklistsvc
[2009-02-05 05:55:30.352 ‘App’ 3024 info] Trying cimsvc
[2009-02-05 05:55:30.352 ‘App’ 3024 info] Trying directorysvc
[2009-02-05 05:55:30.352 ‘App’ 3024 info] Trying hostsvc
[2009-02-05 05:55:30.399 ‘App’ 3024 panic] error: not well-formed (invalid token)
[2009-02-05 05:55:30.399 ‘App’ 3024 panic] backtrace:

(backtraces not supported)

[2009-02-05 05:55:30.399 ‘App’ 3024 info] Win32 service stopped

4. Googled for error message”error: not well-formed (invalid token)” and one of solution was to check datastores.xml and if file is not correct replace it with datastores.xml.default

In my case I checked at C:\ ProgramData\ VMware\ VMware Server\ hostd\ datastores.xml and file was empty (no data) and there was no datastores.xml.default file

Fix : Moved this file to datastores.xml.corrupt and tried starting VMware hostagent Service. It worked this time and created new datastores.xml

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

26 comments
syed says February 28, 2009

I am getting following error during installation of R-12 with Linux 5 (with 2GB memory). Can you please guide me about this problem.

Thanks
Syed

HTTP
checking URL = http://machine1.localdomain:8014
RW-50015: Error: – HTTP Listener is not responding. The service might not have started on the port yet. Please check the service and use the retry button.

==========================================================

Virtual Directory
RW-50015: Error: – Http Server Virtual Directories is not responding. The service might not have started on the port yet. Please check the service and use the retry button.

=======================================================

Login Page
RW-50015: Error: – Login Page is not responding. The service might not have started on the port yet. Please check the service and use the retry button.

Reply
Atul Kumar says March 1, 2009

Syed, Installation failed at some points (check installation logs) or services did not start properly (check startup logs)

other issue I noticed with 2 GB memory is that 2 GB is not enough for R12 as DB’s SGA itself is 1GB and then PGA and other things like CM and JVM’s (third thing to try is , reduce SGA PGA and try )

Reply
Jordi says October 21, 2009

Thank you so much! I was getting sick with this problem.

Cheers!

Reply
Hmarques says November 23, 2009

Than you very much, you have very clear information and after a couple of hours of frustration trying to solve this problem, you have a so easy solution 🙂

Reply
carol123in says December 30, 2009

hi

Thanks a lot for your input.it helped a lot to come out the problems while installing!
Keep up the good works!
thanks once again! 🙂

Reply
prakash says January 27, 2010

very goo documentation, Atul.

thanks,
prakash

Reply
rithic iek says January 31, 2010

Check and rename this file as well..

C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hostd\datastores.xml

Reply
Villa says July 3, 2010

Após longas horas consegui resolver o problema com a ajuda das dicas dos colegas.
Simplesmente entrei no local:
C:\PROGRAMDATA\VMWARE SERVER\HOSTD
e mudei o nome dos arquivos:
– datastores
– datastores.xml.default
para
– old-datastores
– old-datastores.xml.default
Fui em serviços do windows e startei o:
VMWARE HOST AGENT

Fiz isto em um SERVER 2008 64.

Reply
Henry says July 13, 2010

Beautifully, I was with this problem for few weeks and finally I found the best solution, Thanks a lot

Reply
Avi says July 15, 2010

Thanks for pointing out the service names. Restarting them fixed the issue, it seems a different IP via DHCP confuses VMware Server as it expects the Host OS to have static I guess.

Reply
paul says August 6, 2010

Thank you! I’ve been searching for a solution for several days, and this is the only one with the answer.

Reply
robin says August 26, 2010

THANKS!!

Just wasted 2 hours on this issue! uninstalled vmware, redownloaded version 2.02, installed and it was still not working!!!

Then found this post and fixed it in 5 mins!

Any idea why the file gets corrupted?

Reply
zigzag says August 30, 2010

bro you the best

Reply
fugaz says October 15, 2010

Thanks a lot, fixed my problem!

Reply
Vinay says November 18, 2010

Thanks a lot. Spent lot of time figuring what the issue maybe and stumbled on this site.You really are the best

Reply
Rahul says November 27, 2010

Hello Atul,

I am having the same problem. Today morning I was able to open VMware and allow of the sudden it stopped working. Two days back I installed Loopback adapter to install Oracle 11g R2 on Windows 7. I was not able to install Oracle 11g R2 so I disabled Loopback adapter and all of the sudden VMware was not working.

When I again enable the loopback adapter it started working.

Can you explain me what exactly happened. I want to disable the loopback adapter and use the previous settings. Is it possible to do that?

Thanks

Reply
alt21 says January 4, 2011

Thanks, this fix worked for me as well 🙂

Reply
jeremy says February 21, 2011

I believe this is the fix you’re looking for

http://www.n2networksolutions.com/2011/02/21/vmware-server-503-service-unavailable-fix/

Reply
vmware user says March 30, 2011

I have the same issue with Windows 7 x64, and fix it with this instructions:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009150

Reply
kris says April 28, 2011

Thanks a lot!!!

It worked for me too.

Thanks,
Kris

Reply
pvmehta says September 6, 2011

Hi Atul,
I have installed vmware server 2 on windows vista (64-bit) os. vmare hostd agent was working fine and when I tried last week after long time, my browser not able to connect to hostd agent.
After troubleshoooting, i found my hostd agent service is not started. I tried manually but it gives me following error.
“The VMware Host Agent service terminated with service-specific error 4294967295 (0xFFFFFFFF).”

I do not have datastores.xml anywhere in my c drive. Also, I do not able to find %SYSTEMROOT%\VMware\ VMware Server\ hostd\ datastores.xml file.

Please help. Thanks in advance.

Reply
Tangushka says September 15, 2011

I just wanted to thank you xxx !

Reply
JohnS says February 13, 2012

The file “datastores.xml” is located C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\hostd and follow the instructions by Atul Kumar to move it.

Reply
the1shadow says May 22, 2012

Thanks for posting this. I was running into the same error and replacing the datastore.xml file did the trick for me. Thanks!

Jeremy

Reply
Manikandan says August 23, 2013

Thank you so much you have saved my time.

Reply
consoftpc says September 2, 2013

Thanks: it worked for me.
In event viewer it was an uncomprensible error %%-1.

Reply
Add Your Reply

Not found