Saturday, April 24, 2010

VMWare hick-up

Although I am busy moving to Oracle VM I needed to access one of my systems on VMWare on my laptop which I had not used for a while.

The console of VMWare did not load. Ok - I though his might be due to some networks which I had disabled on Windows. Enabled them - no result. Checking the VMWare services I found out that the VMWare Host Agent was not running. So I restarted it. Crashed again.

Obviously the next step is to check the Windows event viewer. To my surprise the System Log could not be displayed.

Needless to say I had to fix this first. Clear the Log typically solves this and I was lucky this time.
Back to the VMWare Host Agent. Started it agian - still crashes. I found the following error:

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

Checking the VMWare log.

Log for VMware Server, pid=7444, version=2.0.2, build=build-203138, option=Release, section=2
[2010-04-24 12:20:34.264 'App' 2600 info] Current working directory: C:\ProgramData\VMware\VMware Server
[2010-04-24 12:20:34.265 'App' 2600 info] Trying blklistsvc
[2010-04-24 12:20:34.265 'App' 2600 info] Trying cimsvc
[2010-04-24 12:20:34.266 'App' 2600 info] Trying directorysvc
[2010-04-24 12:20:34.266 'App' 2600 info] Trying hostsvc
[2010-04-24 12:20:34.727 'App' 2600 panic] error: not well-formed (invalid token)
[2010-04-24 12:20:34.728 'App' 2600 panic] backtrace:(backtraces not supported)
[2010-04-24 12:20:34.728 'App' 2600 info] Win32 service stopped

Googling for a solution, the datasources.xml could be corrupt. I checked it and indeed - only garbage in there. Renamed this file and restarted the VMWare Host Agent.

Now everything works. Finally I can get back to my VMWare server and restart my age-old Oracle Enterprise Manager Grid Control.

1 comment:

Carlos C said...

Old post but saved my life today! After 2 hours trying to figure out what was happening with my VM Server under Windows 2008 Server, I found this post and fix the datastores.xml!

Cheers!