I found this blog which refers to a corrupt datastores.xml file.
However, I do not have this file in the location specified? I'm a little puzzled by this? I also had the error in my windows event logs:
VMWare Server: The VMware Host Agent service terminated with service-specific error 4294967295 (0xFFFFFFFF).
Perhaps this will help others too?
Here's what the post says:
Having just rebooted my laptop, I clicked on the link to open VMWare Infrastructure Web Access in the my browser and was slightly puzzled by the "page cannot be displayed" error. I figured it was probably the VMWare Server Web Access service not starting for some reason, so I opened services.msc and checked it out. The Web Access service was actually running, but the Host Agent service was not, so I tried to start it - it failed. Dutifully opening Event Viewer for some more information I found the error:
The VMware Host Agent service terminated with service-specific error 4294967295 (0xFFFFFFFF).
Great. Thanks for the elaboration. Time to check the VMWare logs, (c:\ProgramData\VMWare\VMWare Server\) - the most recent of which contained the following entry:
Trying hostsvc
+ error: not well-formed (invalid token)+
+ backtrace:(backtraces not supported)+
+ Win32 service stopped+
A bit of Googling pointed me in the right direction, "not well-formed" refers to the XML config files which are stored in c:\ProgramData\VMWare\VMWare Server\hostd, after that it was just a case of opening each one in turn until I found the malformed one. I backed it up and replaced it with a default version, and lo and behold, my services started!
fantastic stuff.. this plagued me as well.. turned out to be the datastores.xml fine was corrupted/empty. There was however another version of the file called datastores.xml.default. so i just renamed that to be datastores.xml and started the VMware Host Agent. Perfect, Thanks!!
best
Monday 30 March 2009 16:02
had the same problem, corrupt datastores.xml file, moved it out and started the VMware Host Agent.
Worked a charm....Thanks!
mack
Thursday 11 June 2009 10:16
Thanks to all of you for taking the time out to share this with all of us! This fixed my problem within minutes!