Thursday, July 4, 2013

VMWare suspended machine fails to restart



Problem

Suppose that suspended your vm and when you try to restart it, if fails, freezing the application, including the host, a Windows O.S..

An error message may come telling us that some log was written to disk that shall be reported to the support.

 
Solution

Restart Windows by some way.
Check if the log reported on the error message was really saved.
Sometimes it is not, but if there is one, and this workaround doesn't work to you, maybe the log comes useful to the support.

When the VM is suspended, its state is saved into files under the VM's installl directory, like this:

VM_NAME-A_CODE.vmem
VM_NAME-A_CODE.vmss

For instance:

vmvd5-db61c31a.vmem
vmvd5-db61c31a.vmss


Delete both files.
Pay attention to not delete any other file, except those mentioned above.
Also, delete the lock file or folder, if existent.

 
*** NOTE

If you have a recent VM backup of your working VM, stored as a suspended machine, you can take the advantage of restoring the working VM using the backup's state.
Just copy the .vmem and .vmss files to the working VM and restart it as usual.

 
****** IMPORTANT

Important to note that the state is tied by the system's environment.
You can't switch states among different environments.

No comments:

Post a Comment

eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

  >PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...