Solved

VMware Server VMX has encountered a problem

Posted on 2008-10-15
12
1,025 Views
Last Modified: 2011-10-19
I have a VMWare Server 1.0.1 running on XP professional. I have two virtual machines set up on a same portable hard drive. One is a XP professional and other is a Red hat linux 5.0. Both were working fine until today. After booting XP VM, Immediatly after I click on the guest OS I loose the control of the mouse and the following message pops on my Host machine turning off the guest:

VMware Server VMX has encountered a problem

It was working fine till today. There is no such problem when I run linux as the host..

please let me know how to fix this..
0
Comment
Question by:crgary_tx
  • 6
  • 6
12 Comments
 
LVL 42

Expert Comment

by:paulsolov
Comment Utility
You can create a new virtual machine.  Use the existing vmdk file from the virtual machine that is giving you the error.  If the vmdk (the virtual disk) is ok this should resolve the issue
0
 
LVL 13

Author Comment

by:crgary_tx
Comment Utility
Thanks for the quick response..
I am not quite understanding it right. Do you mean I have to  re-install the windows XP professional (guest OS) again by going to
'File->New->Virtual Machine..' and provide the same directory path where the Guest OS is installed currently?

I have the guest OS installed in this path: E:\VMWindows\

If i try to create new VM and provide the same path It gives me following msg:

"The specified location appears to contain an existing virtual machine. Having two machines installed on the same location can cause problems including loss of data if two virtual machines have the same name. Would you like to continue with this location?"

I have few programs installed on my guest machine and I do not want to loose any data..

Thanks,
Gary
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
Comment Utility
You can copy the vmdk to another folder from the existing virtual machine that you're having problems with. Create a new virtual machine and attach the copied vmdk to it  You could have continued since the vmx from the first one is having problems but if you copy the vmdk off you can make a clean virtual machine and not have any conflicts.  If this works you can always delete the original one that has the issues
0
 
LVL 13

Author Comment

by:crgary_tx
Comment Utility
I am sorry I am new to using VMWare. In the current directory (E:\VMWindows\)
 where I have set the VM I see so many Virtual Disk File (if thats what is VMDK?).

Do I need to copy all of them to some other folder (say E:\XYZ) then re-install XP again in the current direcory (E:\VMWIndows\) and copy back the virtual disk files from XYZ to VMWindows direcory?

The screen shot shows how the current directory looks like now..
Please advice..

Thanks,
Gary
Screenshot.doc
0
 
LVL 42

Expert Comment

by:paulsolov
Comment Utility
Copy the whole folder to a new destination.  Once copied rename the old vmx file to vmx.old (before you do a screenshot and post).  You may also need to delete the .lck file as well.  

Now create a new virtual machine.  We will go into the the new vmx file and put in the disk it was using previously which should be in the the original vmx file (should have this in the screenshot of vmx file
0
 
LVL 13

Author Comment

by:crgary_tx
Comment Utility
I have copied all files from my original E:\VMWindows\ to E:\Virtual Windows folder. Also I have renamed the vmx file to .old in the new direcory as shown in the screen shot. I deleted the .lck file in the new folder. But I could not copy the following 1.7 Gb File from the old directory to the new destination:
564d994b-115e-0554-6a83-796f6f8e3381.vmem

Now from what I understand, I need to re-install the XP on to 'E:\VMWindows', copy the new vmx file from this folder and put it in E:\Virtual Windows Folder. Then open the VM in this new folder from VM Console?

Please confirm..

Thanks,

Screenshot1.doc
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 42

Expert Comment

by:paulsolov
Comment Utility
open the vmx.old with notepad and do a screen print.  Don't worry about the vmem file.  If the vmdk files are ok we don't need to reinstall windows.  What we are trying to do is create another vmx file.  The vmx file has all the bootup parameters such as where the virtual disks are, how the cd rom is setup, what type of scsi adapter we're using, etc...

If we can re-create one that matches the old one and attach a copy of the original virtual disk we may be able to get it up and running.
0
 
LVL 13

Author Comment

by:crgary_tx
Comment Utility
Here is the screen shot of vmx.old. Please let me know what to do next..

Thanks,
Gary


Screenshot3.doc
0
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 500 total points
Comment Utility
Configure a new virtual machine but do not add any new hard drives.  Choose to use existing one and browse to the file indicated in the old vmx file (you have them copied to the new location).  This should be windows xp professional-00001.vmdk as listed.  When you create the virtual machine point it to where you have the copied virtual disk files. Once the virtual machine is created and the old hard drive attached you should be able to run it and hopefully it will boot
0
 
LVL 13

Author Comment

by:crgary_tx
Comment Utility
Finally I got it to working. I reconfigured the vmx file by creating a new VM on the existing directory. When I tried to boot the OS from the existing directory I still had the same problem. I copied the .vmx file in to another direcory where I had a copied all the disk files. This one worked fine and I havent lost any data. I deleted all the disk files  in the old one along with the directory itself.

Thank you very much for patiently walking me through this..

Gary
0
 
LVL 13

Author Closing Comment

by:crgary_tx
Comment Utility
Worked Great! Thank you very much
0
 
LVL 42

Expert Comment

by:paulsolov
Comment Utility
No problem.  Just shutdown the virtual machines every now and then and make backups to a usb harddrive so that if your system goes down or the drive that you're running it from you'll havea good backup.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now