30
Dec/08
0

Linux: Cannot turn on a virtual machine after unclean shutdown – failed to lock the file error VMware Server

I don’t recall the exact error message, but sometime after an unclean shutdown your virtual machines will not start with an error that contains “unable to unlock file”. To resolve the issue simply navigate to the directory where your virtual machine resides, and delete all files with .WRITELOCK and .lck extension.That should remove the lock and make your VM’s accessible. If that didn’t help, go ahead and delete all files EXCEPT .vmdk AND .vmx EXTENSIONS. That should definitely do the trick.

You can actually delete the .vmx files as well but in order to have VMware recreate them you will have to start the “new virtual machine wizard” and use the .vmdk as your disk file. Instead of creating a disk you use an existing.

Related posts:

  1. VMware – Linux: OS cannot mount /dev/sd* after a virtual machine is converted – Waiting for device /dev/sd* to appear… not found – fall back
  2. Debian: Etch x64 and VMware Server Cannot connect to host x.x.x.x: No connection could be made because the target machine actively refused it.
  3. Debian: Setup is unable to find the “killall” program error when installing VMware tools
  4. Windows: Error opening installation log file. Verify that the specified log file location exists and is writable
  5. Misc: Error 500 – Internal server error while editing posts – unable to view wordpress dashboard items

Tagged as:
You are not authorized to see this part
Please, insert a valid App ID, otherwise your plugin won't work correctly.
Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.

Plugin from the creators of Brindes Personalizados :: More at Plulz Wordpress Plugins