Virtual machine inaccessible
Virtual machine inaccessible
I have VB 1.6.2 on MacOS X 10.5.4. I have a Windows 2000 virtual machine
that I used last night, and won't work this morning. I believe I created a snapshot 1
and a snapshot 2, deleted snapshot 1, and tried to make a new snapshot 1, and
probably then deleted snapshot 2. If that sounds silly, I was just trying to be tidy.
"Won't work" means this:
"The selected virtual machine in inaccessible. Please inspect the error message shown below and press the Refresh button if you want to repeat the inaccessibility check:
Hard disk '/Users/thurlow/Library/VirtualBox/VDI/w2k.vdi' with UUID {440588fc-2d66-4dbb-0783-21f321524a19} is already attached to a machine with UUID {623078a7-2ece-4914-7b99-3cfbe97f3d98} (see '/Users/thurlow/Library/VirtualBox/Machines/w2k/w2k.xml').
Result code: 0x80004005
Component: Machine
Interface: IMachine {f95c0793-7737-49a1-85d9-6da81097173b}"
What can I do to recover this VM?
Thanks,
Rob T
that I used last night, and won't work this morning. I believe I created a snapshot 1
and a snapshot 2, deleted snapshot 1, and tried to make a new snapshot 1, and
probably then deleted snapshot 2. If that sounds silly, I was just trying to be tidy.
"Won't work" means this:
"The selected virtual machine in inaccessible. Please inspect the error message shown below and press the Refresh button if you want to repeat the inaccessibility check:
Hard disk '/Users/thurlow/Library/VirtualBox/VDI/w2k.vdi' with UUID {440588fc-2d66-4dbb-0783-21f321524a19} is already attached to a machine with UUID {623078a7-2ece-4914-7b99-3cfbe97f3d98} (see '/Users/thurlow/Library/VirtualBox/Machines/w2k/w2k.xml').
Result code: 0x80004005
Component: Machine
Interface: IMachine {f95c0793-7737-49a1-85d9-6da81097173b}"
What can I do to recover this VM?
Thanks,
Rob T
-
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Read the error message. You have at least two VMs:
- {623078a7-2ece-4914-7b99-3cfbe97f3d98}
{f95c0793-7737-49a1-85d9-6da81097173b}
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
I have exactly one Windows VM - there are not in fact two pointing at the same resource. It must look that way to VB, but there is no operation I can take via the menus except to blow away the VM. Since that's the case, I expect the answer is to go edit the XML file, and I don't want to edit that without some kind of clue. My single VM was fine and had one snapshot when I shut it down last night.TerryE wrote:Read the error message. You have at least two VMs:You can't attack a disk to the second until you've released it from the first.
- {623078a7-2ece-4914-7b99-3cfbe97f3d98}
{f95c0793-7737-49a1-85d9-6da81097173b}
Rob T
-
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
OK, email me your:
- machine and VirtualBox XMLs
a ls -lR $HOME/.VirtualBox or Mac equiv
a vboxmanage list vms
a vboxmanage list hdds
the full error report
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
How were able to correct this?
I had a similar occurrence...
Getting an error:
Hard disk '/Volumes/windows/vista.vdi' with UUID {0b89f351-e771-41b8-a01e-ab003b9a82dc} is already attached to a machine with UUID {816758a4-94ca-4fea-8796-c9cd4129f7fb} (see '/Users/greenpea/Library/VirtualBox/Machines/vista/vista.xml').
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}
I had a similar occurrence...
Getting an error:
Hard disk '/Volumes/windows/vista.vdi' with UUID {0b89f351-e771-41b8-a01e-ab003b9a82dc} is already attached to a machine with UUID {816758a4-94ca-4fea-8796-c9cd4129f7fb} (see '/Users/greenpea/Library/VirtualBox/Machines/vista/vista.xml').
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}
-
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
He never emailed me, but you are free to do so.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
I am not sure how to find your username at OpenOffice.org... can you clarify?TerryE wrote:OK, email me your:to my username at OpenOffice.org and I'll have a look.
- machine and VirtualBox XMLs
a ls -lR $HOME/.VirtualBox or Mac equiv
a vboxmanage list vms
a vboxmanage list hdds
the full error report
Thanks!
-
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Looks as if you found the email address I use for receiving OOo / VBox notifications anyway. OK, let's go back to the error message for those following this topic: What this tells me is that you've got at least two registered VMs
I suspect the problems are due to having two VMs and the parser hickuping over names with embedded hyphens. As a general hint I recommend using either names without embedded spaces or punctuation or make all references by UUID. Both look like they have snapshots. You need to look at the two XML files:Hope that this helps.
Code: Select all
Hard disk '/Volumes/windows/vista.vdi' with UUID {0b89f351-e771-41b8-a01e-ab003b9a82dc} is already attached to a machine with UUID {816758a4-94ca-4fea-8796-c9cd4129f7fb} (see '/Users/greenpea/Library/VirtualBox/Machines/vista/vista.xml').
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}
- vista from session UUID {816758a4-94ca-4fea-8796-c9cd4129f7fb}
- ? from session UUID {1e509de4-d96c-4f44-8b94-860194f710ac}
I suspect the problems are due to having two VMs and the parser hickuping over names with embedded hyphens. As a general hint I recommend using either names without embedded spaces or punctuation or make all references by UUID. Both look like they have snapshots. You need to look at the two XML files:
- /Users/greenpea/Library/VirtualBox/Machines/vista/vista.xml
/Users/greenpea/Library/VirtualBox/Machines/Vista-11-08/Vista-11-08.xml
Code: Select all
# Either b770f570-6f6a-4102-9ba4-6f595ac530ee or 72d70987-08b3-4564-83e7-c5a59cb8660a goes on the following line
$VM=<the UUID to delete goes here>
VBoxManage modifyvm $VM -hda none -hdb none -hdd none
VBoxManage unregistervm $VM
VBoxManage list vms
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
Thanks Terry, I did delete the new one I added; but unfortunately... did this without doing the following first:TerryE wrote:What this tells me is that you've got at least two registered VMs... You need to look at the two XML files:and decide which you want to delete.
- /Users/greenpea/Library/VirtualBox/Machines/vista/vista.xml
/Users/greenpea/Library/VirtualBox/Machines/Vista-11-08/Vista-11-08.xml
From terminal, I get the following on vboxmanage list vms now:TerryE wrote: You need to move the hdd from machine that you want to delete and then unregister it. This will mean that the hdd is now only referenced in one VM, so this should start OK.
Code: Select all
Name: <inaccessible!>
UUID: b770f570-6f6a-4102-9ba4-6f595ac530ee
Config file: /Users/greenpea/Library/VirtualBox/Machines/vista/vista.xml
Access error details:
[!] Full error info present: true , basic error info present: true
[!] Result Code = NS_ERROR_FAILURE (0x80004005) - Operation failed
[!] Text = Hard disk '/Volumes/windows/vista.vdi' with UUID {0b89f351-e771-41b8-a01e-ab003b9a82dc} is already attached to a machine with UUID {b770f570-6f6a-4102-9ba4-6f595ac530ee} (see '/Users/greenpea/Library/VirtualBox/Machines/vista/vista.xml')
[!] Component = Machine, Interface: IMachine, {1e509de4-d96c-4f44-8b94-860194f710ac}
[!] Callee = <NULL>, {00000000-0000-0000-0000-000000000000}
Can the xml files just be edited to reflect the correct VM, as well as using the VBoxManage utility? Thanks again!!
One more note, I originally created a 20GB partition which now has a vista .vdi with UUID {0b89f351-e771-41b8-a01e-ab003b9a82dc}
If I go into virtual disk manager, and try to use either the existing disk on the partition mentioned above, or the 2nd vdi which I moved to an external sata drive, I get the error:or
How do I set back up a new VM using an already registered vdi file?
If I go into virtual disk manager, and try to use either the existing disk on the partition mentioned above, or the 2nd vdi which I moved to an external sata drive, I get the error:
Code: Select all
A hard disk with UUID {0b89f351-e771-41b8-a01e-ab003b9a82dc} or with the same properties ('/Volumes/windows/vista.vdi') is already registered.
Code: Select all
Hard disk image '/Volumes/GreenPeas Storage/{0b7d5081-488e-4b8e-bb0d-9a1907ffddf8}.vdi' is a differencing image that is linked to a hard disk with UUID {0b89f351-e771-41b8-a01e-ab003b9a82dc} and cannot be used directly as a base hard disk.
-
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
The VBox metadatabase relies on consistency between the VirtualBox.xml and the various <machine>.xml files. If you loose this for whatever reason then the repair facilities are somewhat limited. You need to do this manually. The DTDs for the XML is quite straight forward. This is reasonably easy if you are careful.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
It's almost like a code that you have to break!TerryE wrote:The VBox metadatabase relies on consistency between the VirtualBox.xml and the various <machine>.xml files. If you loose this for whatever reason then the repair facilities are somewhat limited. You need to do this manually. The DTDs for the XML is quite straight forward. This is reasonably easy if you are careful.
Thank you very much for your assistance. I did end up working with a previous snapshot, and just reinstalling office. I'll be very careful about moving things around in the future!!!
VirtualBox on Linux Host 80004005 Error
I am having a tough time getting to grips with this; I thought that I had a successful setup with one WinXP guest: A snapshot and a Current State. I guess that I goofed with dashes and spaces in the names of the VMs. Here is my error output:
and my VMs
and my HDDs
Any help to retrieve all my hard work locked up inside that vdi would be very good indeed.
Code: Select all
Hard disk '/media/sda6/VDI/xp.vdi' with UUID {7483c844-587a-404e-9af3-3a0637514ae5} is already attached to a machine with UUID {d5f0e49f-92ea-4f08-56b2-18fb6c57b750} (see '/home/dominic/.VirtualBox/Machines/WinXP/WinXP.xml').
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}
Code: Select all
VirtualBox Command Line Management Interface Version 2.0.4_OSE (C) 2005-2008 Sun Microsystems, Inc. All rights reserved.
Name: <inaccessible!>
UUID: d5f0e49f-92ea-4f08-56b2-18fb6c57b750
Config file: /home/dominic/.VirtualBox/Machines/WinXP/WinXP.xml
Access error details:
[!] Full error info present: true , basic error info present: true
[!] Result Code = NS_ERROR_FAILURE (0x80004005) - Operation failed
[!] Text = Hard disk '/media/sda6/VDI/xp.vdi' with UUID {7483c844-587a-404e-9af3-3a0637514ae5} is already attached to a machine with UUID {d5f0e49f-92ea-4f08-56b2-18fb6c57b750} (see '/home/dominic/.VirtualBox/Machines/WinXP/WinXP.xml')
[!] Component = Machine, Interface: IMachine, {1e509de4-d96c-4f44-8b94-860194f710ac}
[!] Callee = <NULL>, {00000000-0000-0000-0000-000000000000
Code: Select all
VirtualBox Command Line Management Interface Version 2.0.4_OSE (C) 2005-2008 Sun Microsystems, Inc. All rights reserved.
UUID: 7483c844-587a-404e-9af3-3a0637514ae5
Storage type: Virtual Disk Image
Path: /media/sda6/VDI/xp.vdi
Accessible: yes
Same problem here - Morale: DO NOT DELETE SNAPSHOTS
I've had numerous problems with VBox, and the last one probably stems from the others.
I had a feeling when I removed the first snapshot I should not have tinkered with that.
Well, too late. I get the messag e that my virtual machine is inaccessible with the following error message.I swear I did not change anything on the Win XP vm. I did try to remove the second virtual DISK attached to it, but here too I had many problems as it would keep on popping back.
I use vbox 2.0.6 on Mac 10.5.5. host with XP Pro as the vm.
I had a feeling when I removed the first snapshot I should not have tinkered with that.
Well, too late. I get the messag e that my virtual machine is inaccessible with the following error message.
Code: Select all
Hard disk '/Users/paulp/Library/VirtualBox/VDI/Win XP.vdi' with UUID {f59fe204-ed7c-40fd-9e94-cb79ee5be4c8} is already attached to a machine with UUID {c167b33c-3e16-4214-a6e4-0c3f9509e513} (see '/Users/paulp/Library/VirtualBox/Machines/Win XP/Win XP.xml').
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}
I use vbox 2.0.6 on Mac 10.5.5. host with XP Pro as the vm.