VirtualBox

Ticket #6930 (new defect)

Opened 4 years ago

Last modified 4 months ago

Error: Failed to open a session for the virtual machine - session was closed before any attempt to power it on

Reported by: leigh_wardle Owned by:
Priority: major Component: other
Version: VirtualBox 3.2.4 Keywords:
Cc: Guest type: other
Host type: other

Description (last modified by frank) (diff)

I upgraded VirtualBox to version 3.2.2-62321 on a Windows 7 Ultimate 64-bit host. Everything was working fine with the previous version 3.1.8.

Since the upgrade to Virtualbox to version 3.2.2-62321, when I start any of my virtual machines I get the following error:

Failed to open a session for the virtual machine MyMachineName.

The VM session was closed before any attempt to power it on.

Details:

Result Code: E_FAIL (0x80004005)
Component: Machine
Interface: ISession {12f4dcdb-12b2-4ec1-b7cd-ddd9f6c5bf4d}

At the time of the upgrade, 11 guests were in a saved state and not powered off, 1 guest was powered off.

Attempting to start any of the guests gives the error and in no case does a log get created.

I have since installed VirtualBox 3.2.4, but that made no difference.

I posted the issue on the Forums:  http://forums.virtualbox.org/viewtopic.php?f=6&t=31778&start=0

Regards, Leigh

Attachments

Potoroo 2010-05-30.xml Download (9.6 KB) - added by leigh_wardle 4 years ago.
Sample XML file of a VM that fails to start (note:none of my VMs will start)

Change History

comment:1 in reply to: ↑ description Changed 4 years ago by derenzi

Replying to leigh_wardle:

I upgraded VirtualBox to version 3.2.2-62321 on a Windows 7 Ultimate 64-bit host. Everything was working fine with the previous version 3.1.8.

Since the upgrade to Virtualbox to version 3.2.2-62321, when I start any of my virtual machines I get the following error:

Failed to open a session for the virtual machine MyMachineName.

The VM session was closed before any attempt to power it on.

Happens also with 3.2.4-624

Details:

Result Code: E_FAIL (0x80004005) Component: Machine Interface: ISession {12f4dcdb-12b2-4ec1-b7cd-ddd9f6c5bf4d}

At the time of the upgrade, 11 guests were in a saved state and not powered off, 1 guest was powered off.

Attempting to start any of the guests gives the error and in no case does a log get created.

I have since installed VirtualBox 3.2.4, but that made no difference.

I posted the issue on the Forums:  http://forums.virtualbox.org/viewtopic.php?f=6&t=31778&start=0

Regards, Leigh

comment:2 Changed 4 years ago by eugeni

I am facing the same issue. Any known workaround or solution?

comment:3 Changed 4 years ago by leigh_wardle

The workaround is to re-install an earlier version - VirtualBox 3.1.8 now works for me. Let me know if you want a copy....

comment:4 Changed 4 years ago by frank

  • Description modified (diff)

Well, if really no VBox.log file is created it would be still interesting to see at least one VM configuration here. So it would be appreciated if you could attach one XML file of such a VM which fails to start.

Changed 4 years ago by leigh_wardle

Sample XML file of a VM that fails to start (note:none of my VMs will start)

comment:5 Changed 4 years ago by leigh_wardle

Frank - I have attached a Sample XML file of a VM that fails to start (note:none of my VMs will start). Leigh

comment:6 Changed 4 years ago by jong_2000

I am experiencing the same problem. Any update or workaround?

comment:7 Changed 4 years ago by leigh_wardle

The workaround is to re-install an earlier version - VirtualBox 3.1.8 now works for me. Let me know if you want a copy....

comment:8 Changed 4 years ago by jong_2000

Thanks. Reinstalling 3.1.8 worked. It can be downloaded from  http://www.virtualbox.org/wiki/Download_Old_Builds_3_1.

comment:9 follow-up: ↓ 15 Changed 4 years ago by ulogic

The bug also exists in 3.2.6. What has corrected the problem for me is to release the VBoxGuestAdditions.iso from the CD/DVD device. I have also noticed that I have two of them in the virtual media manager. My installation is in C:\Apps\VirtualBox. The two devices' locations are listed as C:\Apps\VIRTUAL~1\VBoxGuestAdditions.iso (which is the one currently selected) and C:\Apps\VirtualBox\VBoxGuestAdditions.iso Switching to the other device also seems to fix the problem. After switching back to the original one, the virtual machine will still start up again. Go figure!

comment:10 Changed 4 years ago by whistman

I have the same error, after upgrading to Windows 7 Ultimate x64 today. My Fedora 10 image will boot, but not my WinXP Pro VM. I did try to "show log" to post here, but making that selection results in VirtualBox "(Not Responding)". I'm running version 3.2.6 r63112.

comment:11 Changed 4 years ago by jong_2000

Just as an update, I still cannot get 3.2.6 to load my Windows XP VM on Windows 7, but I was able to get it to load on a machine running Vista SP2.

comment:12 Changed 4 years ago by foxyshadis

Still happens on 3.2.8. I needed to reboot the host, so I saved the state of the machine to hibernate, and after reboot, I get this exact error message and behavior, no logs generated. I discarded the state and attempted to start clean, but there was no change. My vCD drive had nothing in it, but when I removed the CD entirely and I could finally successfully start the VM.

comment:13 Changed 11 months ago by vboxer12

I had this same error message and similar symptom yesterday.

After a hurried close-down of the vm before the client system is boot up. I quickly reverted the vm to a child snapshot of a bunch of 2nd level snapshots,

Then I cant start that vm anymore, reverting to any other snapshot won't help either. No log is generated in Log folder, which means the logger hasn't even start when the error occurs.I tired to change various virtual network settings. I evening manually edited the .vbox file, replaced the top level "Hardware" node with that of the snapshot I am currently using. No use.

After a couple of failed attempts to start the VM. I opened process explorer. And viola, so many hanged vitrualbox process idling there. After killing them all, including the COM server. My vm is back to life.

Hope this helps.

comment:14 Changed 8 months ago by lhilden

This bug still exists on 4.2.16 r86992 OSX Host, Windows 7 client. I rebooted the host and the issue cleared up.

comment:15 in reply to: ↑ 9 Changed 4 months ago by Bhaspro

Thanks. After releasing VBoxGuestAdditions.iso from the CD/DVD device. It worked fine.

Replying to ulogic:

The bug also exists in 3.2.6. What has corrected the problem for me is to release the VBoxGuestAdditions.iso from the CD/DVD device. I have also noticed that I have two of them in the virtual media manager. My installation is in C:\Apps\VirtualBox. The two devices' locations are listed as C:\Apps\VIRTUAL~1\VBoxGuestAdditions.iso (which is the one currently selected) and C:\Apps\VirtualBox\VBoxGuestAdditions.iso Switching to the other device also seems to fix the problem. After switching back to the original one, the virtual machine will still start up again. Go figure!

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use