VirtualBox not loading after upgrade/migration

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MarkFoley
Posts: 150
Joined: 19. Aug 2016, 03:20

VirtualBox not loading after upgrade/migration

Post by MarkFoley »

I've just upgraded from Slackware 14.2 to 15.0 (kernel 5.15.145). I've created the VM user's home directory from scratch, without all the original files and directories, except I've kept the ~/Virtual Box directory. I reinstalled VirtualBox-6.1.38-153438-Linux_amd64.run. When the user launches VirtualBox, the Oracle VM VirtualBox Manager briefly flashes, then disappears. I then tried restoring /opt/VirualBox from the backup, but the same thing happened. In the brief time that the vbox Manger shows, I can see that the name of the VM is not listed. There is nothing in ~VirtualBox VMs/<vmname>/Logs. The VM itself was saved in a save state.

What am I missing? How do I fix this?

more info:

My ~/.config/VirtualBox/VBoxSVC.log has:

Code: Select all

00:00:00.026592 main     VirtualBox XPCOM Server 6.1.38 r153438 linux.amd64 (Sep  1 2022 15:18:25) release
00:00:00.026599 main     Log opened 2024-02-05T04:01:59.318865000Z
00:00:00.026601 main     Build Type: release
00:00:00.026620 main     OS Product: Linux
00:00:00.026623 main     OS Release: 5.15.145
00:00:00.026625 main     OS Version: #1 SMP PREEMPT Sun Dec 24 00:07:06 CST 2023
00:00:00.026681 main     DMI Product Name: GA-78LMT-S2
00:00:00.026707 main     DMI Product Version:
00:00:00.026727 main     Firmware type: BIOS
00:00:00.026817 main     Host RAM: 15996MB (15.6GB) total, 15417MB (15.0GB) available
00:00:00.026828 main     Executable: /opt/VirtualBox/VBoxSVC
00:00:00.026829 main     Process ID: 1938
00:00:00.026830 main     Package type: LINUX_64BITS_GENERIC
00:00:00.030724 main     IPC socket path: /tmp/.vbox-hprsadmin-ipc/ipcd
00:00:00.135077 nspr-2   VirtualBox: object creation starts
00:00:00.135702 nspr-2   Home directory: '/home/hprsadmin/.config/VirtualBox'
00:00:00.151943 nspr-2   HostDnsMonitor: initializing
00:00:00.152284 nspr-2   NAT: resolv.conf: nameserver 192.168.0.1
00:00:00.152320 nspr-2   HostDnsMonitor: updating information
00:00:00.152365 nspr-2   HostDnsMonitor: old information
00:00:00.152376 nspr-2     no server entries
00:00:00.152389 nspr-2     no domain set
00:00:00.152398 nspr-2     no search string entries
00:00:00.152407 nspr-2   HostDnsMonitor: new information
00:00:00.152416 nspr-2     server 1: 192.168.0.1
00:00:00.152427 nspr-2     no domain set
00:00:00.152436 nspr-2     no search string entries
00:00:00.237609 nspr-2   VD: VDInit finished with VINF_SUCCESS
00:00:00.288776 nspr-2   OCI: Local config file '/home/hprsadmin/.config/VirtualBox/oci_config' does not e
00:00:00.288818 nspr-2   OCI: Original config file '/home/hprsadmin/.oci/config' does not exist
00:00:00.288828 nspr-2   OCI: Reading profiles finished with status NS_OK
00:00:00.288846 nspr-2   ExtPack: Created cloud provider 'OCI' (hrc=NS_OK)
00:00:00.288884 nspr-2   VirtualBox: object created
00:00:12.572822 main     VirtualBox: object deletion starts
00:00:12.573463 main     HostDnsMonitor: shutting down ...
00:00:12.577241 main     HostDnsMonitor: shut down
00:00:12.791051 Watcher  ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={d0a0163f-e254-4e5b-a1f2-011cf9
8d} aComponent={VirtualBoxWrap} aText={The object is not ready}, preserve=false aResultDetail=0
00:00:17.577373 main     {00007f1740014870} HostPowerServiceLinux::~HostPowerServiceLinux: RTThreadWait()
5000 ms failed with VERR_TIMEOUT
00:00:17.578318 main     VirtualBox: object deleted
Neither ~/.config/VirtualBox/oci_config nor ~/.oci/config exist. I'll try restoring them from backup.

Later ...

These files are not in the backup, yet the VM ran on that system. Note also the the domain DNS is not 192.168.0.1, it's 192.168.0.2, if that makes a difference. Not sure what to do at this point.

Why would not clearing out /opt and installing VirtualBox just "work" like it does on all other scratch installs?
Post Reply