You are not logged in.

#1 2018-10-09 21:23:11

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

[Solved] VirtualBox doesn't start

I used several ways: launched it under linux-arch and linux-zen kernels with packages virtualbox-host-modules-arch and virtualbox-host-dkms respectively.
Also tried to install it from AUR (virtualbox-bin).
In every situation it only returns this message from console:

VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/opt/VirtualBox/VBoxRT.so",) failed: <NULL>

VirtualBox: Tip! It may help to reinstall VirtualBox.

Last edited by zheiling (2018-10-26 22:01:47)

Offline

#2 2018-10-09 21:36:42

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: [Solved] VirtualBox doesn't start

How did you install the main package?  Are the requisite modules loaded (vboxdrv vboxnetadp vboxnetflt vboxpci)?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2018-10-10 08:37:59

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

Re: [Solved] VirtualBox doesn't start

graysky wrote:

How did you install the main package?  Are the requisite modules loaded (vboxdrv vboxnetadp vboxnetflt vboxpci)?

As a regular package from pacman. All modules seem to be loaded. The main problem that I can't find more info about what exactly went the wrong way.

Last edited by zheiling (2018-10-10 08:38:13)

Offline

#4 2018-10-10 14:34:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: [Solved] VirtualBox doesn't start

If that's the error from the virtualbox package in the repos, something is seriously wrong with your system. It puts nothing in /opt.

Offline

#5 2018-10-10 15:54:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [Solved] VirtualBox doesn't start

Check the output of

$ type -a virtualbox

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2018-10-10 16:55:27

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

Re: [Solved] VirtualBox doesn't start

WorMzy wrote:

Check the output of

$ type -a virtualbox
virtualbox is /usr/bin/virtualbox
virtualbox is /bin/virtualbox

Offline

#7 2018-10-11 10:57:35

spinnau
Member
Registered: 2017-06-05
Posts: 34

Re: [Solved] VirtualBox doesn't start

The virtualbox-bin package from AUR installs to /opt/VirtualBox. That error message seems to be related to wrong permissions of that directory, so that Virtualbox complains about untrusted files https://www.virtualbox.org/ticket/16759

Offline

#8 2018-10-11 11:44:49

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [Solved] VirtualBox doesn't start

Ah, so that's likely to be where the /opt message comes from. Zheiling, please reinstall the official package and post the error you get when you run virtualbox from that.

Side note: why do you have /bin in your PATH? It's not a problem, it's just redundant.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2018-10-17 17:21:38

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

Re: [Solved] VirtualBox doesn't start

WorMzy wrote:

Ah, so that's likely to be where the /opt message comes from. Zheiling, please reinstall the official package and post the error you get when you run virtualbox from that.

Side note: why do you have /bin in your PATH? It's not a problem, it's just redundant.

Okey. I reinstalled VBox from the official repo and still getting the same message.

Offline

#10 2018-10-17 17:41:36

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [Solved] VirtualBox doesn't start

Please post the output of

pacman -Qi virtualbox
pacman -Qkk virtualbox
ldd /usr/lib/virtualbox/VirtualBox

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2018-10-26 11:23:06

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

Re: [Solved] VirtualBox doesn't start

WorMzy wrote:

Please post the output of

pacman -Qi virtualbox
pacman -Qkk virtualbox
ldd /usr/lib/virtualbox/VirtualBox

pacman -Qi :

Name            : virtualbox
Version         : 5.2.20-1
Description     : Powerful x86 virtualization for enterprise as well as home use
Architecture    : x86_64
URL             : http://virtualbox.org
Licenses        : GPL  custom
Groups          : None
Provides        : None
Depends On      : glibc  openssl  curl  gcc-libs  libpng  python  sdl  libvpx  libxml2
                  procps-ng  shared-mime-info  zlib  libxcursor  libxinerama  libx11  libxext
                  libxmu  libxt  qt5-base  qt5-x11extras  VIRTUALBOX-HOST-MODULES
Optional Deps   : vde2: Virtual Distributed Ethernet support [installed]
                  virtualbox-guest-iso: Guest Additions CD image
                  virtualbox-ext-vnc: VNC server support
                  virtualbox-sdk: Developer kit
Required By     : None
Optional For    : None
Conflicts With  : virtualbox-ose
Replaces        : virtualbox-ose
Installed Size  : 103.36 MiB
Packager        : Christian Hesse <arch@eworm.de>
Build Date      : Tue 16 Oct 2018 17:03:25 EEST
Install Date    : Wed 17 Oct 2018 14:28:16 EEST
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

pacman -Qkk :

warning: virtualbox: /usr (UID mismatch)
warning: virtualbox: /usr (GID mismatch)
warning: virtualbox: /usr/share (UID mismatch)
warning: virtualbox: /usr/share (GID mismatch)
warning: virtualbox: /usr/share/icons (UID mismatch)
warning: virtualbox: /usr/share/icons (GID mismatch)
warning: virtualbox: /usr/share/icons/hicolor (UID mismatch)
warning: virtualbox: /usr/share/icons/hicolor (GID mismatch)
warning: virtualbox: /usr/share/icons/hicolor/scalable (UID mismatch)
warning: virtualbox: /usr/share/icons/hicolor/scalable (GID mismatch)
virtualbox: 345 total files, 5 altered files

ldd /usr/lib/virtualbox/VirtualBox :

linux-vdso.so.1 (0x00007ffdb70bf000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f3034170000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f303416b000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f3033fa7000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f303420b000)

Offline

#12 2018-10-26 21:49:07

spinnau
Member
Registered: 2017-06-05
Posts: 34

Re: [Solved] VirtualBox doesn't start

The owner and group for your /usr directory (and some subfolders) is changed. These directories should be owned by root. In other case virtualbox complains about untrusted files and don't start, as other users than root could change the files. This problem is described in this virtualbox ticket, that I've already cited:

spinnau wrote:

The virtualbox-bin package from AUR installs to /opt/VirtualBox. That error message seems to be related to wrong permissions of that directory, so that Virtualbox complains about untrusted files https://www.virtualbox.org/ticket/16759

The solution is to set root as the owner of the /usr dir, as it should be:

chown root:root /usr

Offline

#13 2018-10-26 21:59:59

zheiling
Member
From: Kiev
Registered: 2018-07-07
Posts: 19

Re: [Solved] VirtualBox doesn't start

spinnau wrote:

The owner and group for your /usr directory (and some subfolders) is changed. These directories should be owned by root. In other case virtualbox complains about untrusted files and don't start, as other users than root could change the files. This problem is described in this virtualbox ticket, that I've already cited:

spinnau wrote:

The virtualbox-bin package from AUR installs to /opt/VirtualBox. That error message seems to be related to wrong permissions of that directory, so that Virtualbox complains about untrusted files https://www.virtualbox.org/ticket/16759

The solution is to set root as the owner of the /usr dir, as it should be:

chown root:root /usr

Yes! It was a solution to the problem. Thank you for help!

Offline

Board footer

Powered by FluxBB