Could not open virtual machine: The virtual machine appears to be in use - linux

I am trying to open ubuntu in vmware workstation 12. But there is a error
Could not open virtual machine:
C:\Users\MANDEEP-THAKUR\Documents\Virtual Machines\Ubuntu 15.10\Ubuntu 15.10.vmx
The virtual machine appears to be in use.
here is the screenshot
when i delete the .lck extension folder from the vmware workstation folder and again starts the vmware workstation then there are again some errors those errors are showing below.
VMware Workstation cannot connect to the virtual machine.
Make sure you have rights to run the program, access all directories the program uses,
and access all directories for temporary files.
Failed to connect pipe to virtual machine: All pipe instances are busy.
here is the screenshot of this error..
please suggest me what to do.
Thanks

press Ctrl alt del, it opens the start manager... locate VM in service and end all process.. then open your VMware it up will work :)

you not only need to delete the lock file but also the .vmem file, close the VMware workstation wouldn't release the lock on the vmem file, you need to restart your PC first

you simply need to close all the processes of vmware workstation from the taskbar.
when you ended all the processes of vmware workstation from taskmanager then you can easily run the ubuntu again in vmware workstation.

You need to close VMware Workstation, on VM's folder find and delete any .lck or .lock files, open again the VMware Workstation and start the VM.

This might solve your problem
open task manager
go to background processes
stop the vmware-hostd.ext process.
restart vmware and you are good to go.

Related

Ubuntu Virtual Machine installation on Windows

I'm installing Ubuntu Linux on my Windows 10 host using VirtualBox. I arrived at this page after some steps. Should I go ahead and select the first option? Will it delete files on my Virtual Machine (Ubuntu), or the Host Machine (Windows 10)? Thanks in advance.
Don't worry. It won't delete your files from host OS. This erasing and subsequent installation happens on the virtual OS space that you would have allocated while creating the virtual hard disk.
Yes. The first clears only the VHD.
!! IF YOU INSTALL IT OUT OF YOU VM, DON'T CHOOSE THIS !!

How to prevent Linux virtual machine to close/logout on VMWare?

I'm trying to run a CentOS distribution on VMWare. Because the Linux is running calculations, i need this machine to never stop.
I've tried to run it in VMWare player, after 20 minutes of "innactivity", the session logout. I've tried to run it in VMWare Workstation, it does the same.
How do i manage the Linux or VMWare to prevent this logout ?
Thank you.
I had the same problem a while ago, if I can remember correctly, you need to do the following:
Shutdown the Virtual Machine.
Locate the Virtual Machine .vmx File.
Open The .vmx file in any text Editor.
Add This line: suspend.disabled = "TRUE"
Start the Virtual Machine again.
Hope this helps.

Reboot of Windows Machine Crashed my CentOS VM on VirtualBox

After attempting to import data from one Oracle database to another on my D drive my computer started to hang and I had to manually reboot my machine. In doing so my virtualbox CentOS vm was hard rebooted as well. Now when I attempt to start my CentOS VM I get this error:
I went to this forum to see if they had a solution, but the solution for checking the 'Use host I/O cache' didn't work for me:
virtualbox forum
I also tried removing the vm instance and recreating a new instance with the same storage, but that didn't work either and I got the same error.
Any suggestions?
The problem ended up being that because the D: drive was dirty, I had to move over the CentOS virtual drive to the C: drive.

How to open VMDK file

I've downloaded the OpenbravoEFP zip file for windows from sourceforge. After extracting the file I've found two files (i) openbravo-3-i386.vmx and (ii) openbravo-3-i386.vmdk.
How can I install the software with these files ? Have I downloaded wrong files. I want to run the software in windows XP.
Please help.
Openbravo supports VirtualBox appliance(.vmdk) and VMplayer appliance(.vmx)
Launch VMware appliance
Install and Run VM Player.
Click on File -> Open Virtual Machine and select the vmx file you
have uncompressed.
After boot you can login in the testing appliance
Click here for more information from openbravo wiki page
VDMK are image files for a virtual machine, like VMware. See here: http://en.wikipedia.org/wiki/VMDK
So you could use that image to run it on a simulated computer instance on your host machine and try it out there.

auto reboot SLES11 SP1 as a VM

I have a SLES11 SP1 (64bit) Linux installed as a VM with VMWare Player. I was trying to configure this Linux host for auto reboot after panic. For that, I added "kernel.panic=10" to /etc/sysctl.conf. After reboot, when the host panic'ed, it did not reboot automatically. Does anybody has an idea ?
I tried installing SLES11 SP1 (64bit) on ESXi server as well, but same result. I could not get it to autoreboot after panic.
I tried same settings with another distro (ubuntu 64bit), but these settings worked in that case.
If there is some other setting I need to do, please do let me know.
Thanks
For ESXi installation, you can trigger automatic reboot of guest virtual machine as follows:
Goto Configuration section -> Virtual machine startup/shutdown, and there you can add the virtual machine for automatic startup by clicking on 'Properties' button, so that it reboots automatically. You can also define 'Startup delay' and 'Shutdown delay' for both 'Automatic startup' and 'Manual startup'.

Resources