You are not logged in.

#1 2021-10-22 07:53:45

gca
Member
Registered: 2021-06-08
Posts: 61

[SOLVED] VirtualBox - NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

Another problem.

VirtualBox not start anymore with last update

[2021-10-22T08:52:34+0200] [ALPM] upgraded virtualbox-host-dkms (6.1.28-2 -> 6.1.28-3)
[2021-10-22T08:52:34+0200] [ALPM] upgraded virtualbox (6.1.28-2 -> 6.1.28-3)

report error

$ VBoxManage list vms
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

the drivers are installed, /tmp it's ok and libraries *.so are ok too.
If I start as root produce another error

$ sudo VirtualBox
Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

the dir is created, but empty... the /tmp is a tmpfs declared in the fstab

tmpfs    /tmp        tmpfs nodev,nosuid,noatime,mode=1777,size=1G    0 0

what's changed in the last update? what's differ from yesterday?

[2021-10-21T09:10:49+0200] [ALPM] upgraded qt5-base (5.15.2+kde+r247-1 -> 5.15.2+kde+r251-1)
[2021-10-21T09:10:49+0200] [ALPM] upgraded virtualbox-host-dkms (6.1.26-1 -> 6.1.28-2)
[2021-10-21T09:10:50+0200] [ALPM] upgraded virtualbox (6.1.26-1 -> 6.1.28-2)
[2021-10-21T09:10:50+0200] [ALPM] upgraded virtualbox-guest-iso (6.1.26-1 -> 6.1.28-1)

Last edited by gca (2021-10-22 12:21:43)

Offline

#2 2021-10-22 08:02:14

seth
Member
Registered: 2012-09-03
Posts: 57,346

Re: [SOLVED] VirtualBox - NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

If you didn't reboot you'll likely have to reload the vbox kernel modules and stop crying "sudo" everytime you face an error - typically you're just gonna make things worse.

Offline

#3 2021-10-22 08:14:35

gca
Member
Registered: 2021-06-08
Posts: 61

Re: [SOLVED] VirtualBox - NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

eh...
I use secure boot and need to reboot if any kernel module changed. sad
The modules are loaded correct. I missing something? Systemd service?

I'm criing 'cause i need the vm to work!!!

Last edited by gca (2021-10-22 08:18:01)

Offline

#4 2021-10-22 08:27:23

seth
Member
Registered: 2012-09-03
Posts: 57,346

Re: [SOLVED] VirtualBox - NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

Why's libvpx not in your list of recent updates?
It was updated 1 minute before virtualbox…

Offline

#5 2021-10-22 08:56:36

gca
Member
Registered: 2021-06-08
Posts: 61

Re: [SOLVED] VirtualBox - NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

I do not know, it's not listed in the updates

$ cat /var/log/pacman.log |grep libvpx
[2020-10-23T19:46:57+0000] [ALPM] installed libvpx (1.9.0-1)
[2021-03-26T09:45:49+0100] [ALPM] upgraded libvpx (1.9.0-1 -> 1.10.0-1)

Offline

#6 2021-10-22 09:00:41

gca
Member
Registered: 2021-06-08
Posts: 61

Re: [SOLVED] VirtualBox - NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

ok, now is listed and installed, updated and now work... i've lost only 2 hours... lol

$ cat /var/log/pacman.log |grep libvpx
[2020-10-23T19:46:57+0000] [ALPM] installed libvpx (1.9.0-1)
[2021-03-26T09:45:49+0100] [ALPM] upgraded libvpx (1.9.0-1 -> 1.10.0-1)
[2021-10-22T10:56:51+0200] [ALPM] upgraded libvpx (1.10.0-1 -> 1.11.0-1)

https://bbs.archlinux.org/viewtopic.php?id=205756

twice!!!

Last edited by gca (2021-10-22 09:04:12)

Offline

#7 2021-10-22 11:28:14

seth
Member
Registered: 2012-09-03
Posts: 57,346

Re: [SOLVED] VirtualBox - NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

Your mirror was probably out of sync.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Also stop abusing cats tongue
https://porkmail.org/era/unix/award.html

Offline

Board footer

Powered by FluxBB