The virtual machine has terminated unexpectedly during startup because of signal 5.

This is for discussing general topics about how to use VirtualBox.
Post Reply
kbamol
Posts: 1
Joined: 6. Aug 2024, 12:57

The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by kbamol »

Failed to open a session for the virtual machine.
The virtual machine has terminated unexpectedly during startup because of signal 5.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

Hello I am using virtualbox 6.1.50 on Ubuntu 22.04 LTS.
I have 2 windows vm and 2 linux vm whenever I tried to run any vm I got the above issue for all 4 vms.
Attachments
VBox.log
(154.24 KiB) Downloaded 28 times
VBox.log
(160.26 KiB) Downloaded 7 times
multiOS
Volunteer
Posts: 1203
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by multiOS »

The first thing is that you are using an Ubuntu distribution of VirtualBox 6.1.50, not the 'official' Oracle release, That version was released by Oracle in January 2024 as a final maintenance update. It is now end-of-life and is no longer supported by Oracle; and is known not to be compatible with more recent Linux kernel updates.

You could roll-back to a supported kernel and wait for Ubuntu to get its act together; or take the better option of upgrading VirtualBox to the currently supported version. The latest version, as of July 2024, is 7.0.20 available direct from Oracle's own Download pages: https://www.virtualbox.org/wiki/Downloads and https://www.virtualbox.org/wiki/Linux_Downloads
briskflag
Posts: 1
Joined: 7. Aug 2024, 17:57

Re: The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by briskflag »

Looks like this is specifically a Ubuntu issue because I'm running 7.0.20 and ran into this issue yesterday as well. Found this thread as a result.
Timo_W
Posts: 2
Joined: 13. Aug 2024, 12:23

Re: The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by Timo_W »

Hey there,

having the same issue with following setup:

OS: Ubuntu 24.04 LTS x86_64
Kernel: 6.8.0-40-generic
Oracle VM VirtualBox VM Selector v7.0.20

I had the issue already before the upgrade with Ubuntu 23.10, but hoped it will disappear after the upgrade.

Also I found a workaround for me - I have an commercial on-access virus scanner running and when I stop this service, everything works fine (I informed the support).
heberth
Posts: 1
Joined: 20. Aug 2024, 21:49

Re: The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by heberth »

Timo_W wrote: 13. Aug 2024, 12:33 Hey there,

having the same issue with following setup:

OS: Ubuntu 24.04 LTS x86_64
Kernel: 6.8.0-40-generic
Oracle VM VirtualBox VM Selector v7.0.20

I had the issue already before the upgrade with Ubuntu 23.10, but hoped it will disappear after the upgrade.

Also I found a workaround for me - I have an commercial on-access virus scanner running and when I stop this service, everything works fine (I informed the support).

Thanks , the antivirus bitdefender in my case it was the trouble , i update both and works now
Timo_W
Posts: 2
Joined: 13. Aug 2024, 12:23

Re: The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by Timo_W »

Update: The issue was resolved by the virus scanner company and the vm's can be started without errors.
Timo_W wrote: 13. Aug 2024, 12:33 Hey there,

having the same issue with following setup:

OS: Ubuntu 24.04 LTS x86_64
Kernel: 6.8.0-40-generic
Oracle VM VirtualBox VM Selector v7.0.20

I had the issue already before the upgrade with Ubuntu 23.10, but hoped it will disappear after the upgrade.

Also I found a workaround for me - I have an commercial on-access virus scanner running and when I stop this service, everything works fine (I informed the support).
multiOS
Volunteer
Posts: 1203
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: United Kingdom

Re: The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by multiOS »

That's good to know; and something else to check for. We don't seem to see many questions/reports coming from Linux users who 'admit to' using Anti-virus/Security scanning software.
jeremymichels2
Posts: 5
Joined: 26. Aug 2024, 22:37

Re: The virtual machine has terminated unexpectedly during startup because of signal 5.

Post by jeremymichels2 »

Looks like this is specifically a Ubuntu issue because I'm running 7.0.20 and ran into this issue yesterday as well. Found this thread as a result :D
Post Reply