View Full Version : [ubuntu] Failed to Lock the File
fester225
December 27th, 2008, 04:06 PM
I just got Vmware-Server 1.08 running under Ubuntu 8.10. Now I can't start VMware, instead I get the diagnostic, "Failed to lock the file".
How do I get VMware running again?
Dedoimedo
December 28th, 2008, 07:24 AM
Can you please post the full error you get when you try to run the server? Try running the server from the command line.
Dedoimedo
fester225
December 28th, 2008, 08:43 AM
From the desktop I get;
"Cannot open the disk '/var/lib/vmware/Virtual Machines/Windows XP Professional/Windows XP Professional.vmdk' or one of the snapshot disks it depends on.
Reason: Failed to lock the file."
There are no other diagnostics of any type from the terminal.
My virtual disk is now called, "Windows\ XP\ Professional.vmdk.WRITELOCK".
Dedoimedo
December 28th, 2008, 08:56 AM
Did you create a snapshot and then delete any of the snapshot files?
Dedoimedo
fester225
December 29th, 2008, 07:35 PM
There are no snapshots.
geforce123
December 31st, 2008, 02:42 AM
There are no other diagnostics of any type from the terminal.
My virtual disk is now called, "Windows\ XP\ Professional.vmdk.WRITELOCK".
No I don't think so, I had this problem before, and the .WRITELOCK is a file created while vmware is using the .vmdk file.
You can simply delete the .WRITELOCK file. Look for a .READLOCK file too, you can delete it if you find it.
You must be root to delete those files.
http://ubuntuforums.org/showthread.php?t=495301
fester225
December 31st, 2008, 11:40 PM
No I don't think so, I had this problem before, and the .WRITELOCK is a file created while vmware is using the .vmdk file.
You can simply delete the .WRITELOCK file. Look for a .READLOCK file too, you can delete it if you find it.
You must be root to delete those files.
http://ubuntuforums.org/showthread.php?t=495301
Thank you! That did it!
geforce123
January 1st, 2009, 05:29 PM
I'm glad to hear it :)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.