LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2017, 12:18 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
VirtualBox won't start


Out of the blue, I can't get VirtualBox to start. I updated Slackware 14.2 to the current version via slackpkg, which didn't install much, and now I get this when trying to start VirtualBox:

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

I have, of course, removed and reinstalled it. I also removed and reinstalled the video drivers (nVidia proprietary 375.39), but other than that I have no clue. A romp through Google has not revealed anything of use.

Anyone see this before, and have any ideas?

EDIT: I installed an older version of VirtualBox and it works. It appears this is something Oracle did to the current version of VirtualBox....

The current version is 5.1.22, and gives the above error. I backed off to 5.1.14, and that older version works as expected.

Last edited by Ook; 05-01-2017 at 12:26 PM.
 
Old 05-01-2017, 02:01 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
I just upgraded VirtualBox, Version 5.1.22 r115126 (Qt5.6.1) on slackware 64 14.2 all up to date.

I brought up and installed guest additions on 3 slackware vms and 3 windows vms without any issues.

You said this is with current?

I do see similar message here your <NULL> says "libGL.so.1: cannot open shared object" there.

What does
Code:
ldd /opt/VirtualBox/* | grep missing
say?

Last edited by glorsplitz; 05-01-2017 at 02:04 PM.
 
Old 05-01-2017, 02:06 PM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by glorsplitz View Post
I just upgraded VirtualBox, Version 5.1.22 r115126 (Qt5.6.1) on slackware 64 14.2 all up to date.

I brought up and installed guest additions on 3 slackware vms and 3 windows vms without any issues.

You said this is with current?

I do see similar message here your <NULL> says "libGL.so.1: cannot open shared object" there.

What does
Code:
ldd /opt/VirtualBox/* | grep missing
say?
Can't do it until tonight, but I'll reload the current version then and report here....

This is with SlackWare 14.2

Edit:

So I tried the previous four versions, and they all work fine. The current version of VirutalBox, 5.1.22 now works. All I did was remove it, run an older version, and then try the current version again....is there a full moon? Increase in cosmic ray activity?

Last edited by Ook; 05-01-2017 at 05:56 PM.
 
Old 05-01-2017, 08:33 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
If you got a new kernel with the upgrade, this may halp. As root

Code:
cd /etc/rc.d
./rc.vboxdrv setup
This will recompile the VBox kernel against the new Linux kernel.
 
1 members found this post helpful.
Old 05-01-2017, 09:07 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by frankbell View Post
If you got a new kernel with the upgrade, this may halp. As root

Code:
cd /etc/rc.d
./rc.vboxdrv setup
This will recompile the VBox kernel against the new Linux kernel.
Unless he installed it via SBo, which in that case, just rebuild the virtualbox-kernel package to build against the newer kernel that Slackware added.
 
1 members found this post helpful.
Old 05-01-2017, 09:15 PM   #6
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by bassmadrigal View Post
Unless he installed it via SBo, which in that case, just rebuild the virtualbox-kernel package to build against the newer kernel that Slackware added.
I tried that to rebuild the kernel module, did not help. I installed VB from the installer from their website - didn't know there was a slackbuilds package for it...

I vote cosmic rays. It worked before, my kernel has not been touched for a while, and it's working fine now...
 
Old 07-17-2017, 06:36 PM   #7
bobjusto
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Rep: Reputation: Disabled
Smile same issue and fixed it

Howdy all,

I have exactly the problem : updated my slackbox to the last current and the same error happens!

run VB 5.1.22 and 5.1.20 fails even if i ru /etc/rc.d/rc.vboxdrv setup

but looking up at /opt i found that the owner wasn't root !

doing chown root:root /opt fixed the issue.

after all Vb 5.1.22 works fine.
 
Old 07-17-2017, 06:55 PM   #8
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Weird. The /opt/VirtualBox directory and all files underneath should be owned by root. If not, it should complain and tell you something like "Effective UID is not root...."...

I never saw this problem before, have not had this problem since. <shrug>
 
Old 07-17-2017, 06:58 PM   #9
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
BUT if root owns everything you can still get this error. I fixed it by removing all files under /opt/VirtualBox and, as root, run the installer downloaded from their website. Problem solved.

Try it:

chown root:root -Rc /opt/VirtualBox

You get nothing in the output because there is nothing to change. YET now you can't get VB to run! (can someone explain that for me?). Run the installer, which removes the files and reinstalls them, and now it works.

This might be the first time in all the years of using Linux where I've seen a reinstall actually fix a problem....
 
Old 07-17-2017, 08:45 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
This is apparently not an uncommon error message.

If you do a web search for VirtualBox: Error -610 in supR3HardenedMainInitRuntime!, you will find many discussions and posts about this error, far too many for me to recommend just one, as I have no experience with this error.

One of them may give you the information you need. (I suspect that the first error led to the second one.)

Last edited by frankbell; 07-17-2017 at 08:46 PM.
 
Old 07-17-2017, 09:35 PM   #11
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
It's a two part message. The first part tells you what spawned the supR3HardenedMainInitRuntime error, and apparently there are a lot of different causes...
 
Old 07-19-2017, 06:27 AM   #12
lilianfornea
Member
 
Registered: Jul 2017
Location: Stauceni, Chisinau, Moldova
Distribution: Slackware
Posts: 39

Rep: Reputation: 7
I didn't understand, WTF: yesterday Virtualbox worked fine but today

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

P.S. Slackware 14.2 stable
 
Old 07-19-2017, 06:50 AM   #13
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by lilianfornea View Post
I didn't understand, WTF: yesterday Virtualbox worked fine but today

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

P.S. Slackware 14.2 stable
I reproduced this error by changing ownerships of /opt directory, so ensure that directory is owned by root.

PoC :
Code:
$ ls -ld /opt
drwxr-xr-x 5 root root 4096 juil. 19 10:07 /opt

$ su
$ chown seb:users /opt
$ exit

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

VirtualBox: Tip! It may help to reinstall VirtualBox.


$ su
$ chown root:root /opt
$ exit

$ virtualbox  --help
Oracle VM VirtualBox Manager 5.1.24
(C) 2005-2017 Oracle Corporation
All rights reserved.
--
SeB
 
2 members found this post helpful.
Old 01-11-2018, 01:08 AM   #14
pc2005
LQ Newbie
 
Registered: Nov 2017
Distribution: slackware64-current/multilib, openwrt, buildroot, debian
Posts: 29

Rep: Reputation: Disabled
Hi,

got the same error and adding my observations. The access writes for /opt and /opt/VirtualBox are relevant too. If /opt/VirtualBox is writable for everyone, the init will fail:

Code:
VirtualBox: supR3HardenedVerifyDir: Cannot trust the directory "/opt/VirtualBox": group and/or other writable (st_mode=040757)
But if /opt is writable for everyone, the start will fail with:
Code:
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/opt/VirtualBox/VBoxRT.so",) failed: <NULL>

VirtualBox: Tip! It may help to reinstall VirtualBox.
So just
Code:
chmod -002 /opt
will fix that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VirtualBox won't start after last set of updates on current TarFile Slackware 5 02-14-2017 09:07 PM
[SOLVED] Virtualbox won't start after upgrading to Ubuntu 14.10 jjonas Linux - Software 3 04-01-2015 08:45 AM
[SOLVED] VirtualBox won't start after upgrading Ubuntu kernel Ari Passopolis Linux - Software 2 01-01-2015 12:04 PM
[SOLVED] CentOS 5 won't start in virtualbox eveningsky339 Linux - Virtualization and Cloud 3 12-30-2013 10:00 AM
[SOLVED] virtualbox won't start - gconf error a_smith Linux - Software 2 01-13-2010 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration