Advanced search

Forums : Technical Support : Linux - only getting camb_legacy, C@H not detecting virtualbox
Message board moderation

To post messages, you must log in.

AuthorMessage
Section8

Send message
Joined: 26 Nov 16
Posts: 3
Credit: 302,519
RAC: 346
Message 21273 - Posted: 8 Jan 2017, 17:09:38 UTC

Hi all,
I am a new C@H user, running on gentoo linux, intel core i7 with VT enabled, and virtualbox installed with the binaries in the standard linux /usr/bin:

 john@officepc ~ $ uname -a
Linux officepc 4.4.39-gentoo #1 SMP PREEMPT Fri Dec 30 14:47:48 CST 2016 x86_64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz GenuineIntel GNU/Linux
john@officepc ~ $
john@officepc ~ $
john@officepc ~ $ VBoxManage --version
4.3.38_Gentoor106717
john@officepc ~ $
john@officepc ~ $ equery files virtualbox | grep bin
/usr/bin
/usr/bin/VBoxHeadless
/usr/bin/VBoxManage
/usr/bin/VBoxSDL
/usr/bin/VBoxTunctl
/usr/bin/VBoxVRDP
/usr/bin/VirtualBox
john@officepc ~ $


Screenshot of BIOS settings: https://imagebin.ca/v/38CHl8ZulSBB

So far, I have only been able to get camb_legacy tasks on this box, but would really like to run docker. If I disable camb_legacy tasks in my C@H preferences, and update the project in boincmgr, I get a notification back - "VirtualBox is not installed" - so i appears C@H doesn't recognize or doesn't like my virtualbox installation.

Any ideas what might be the problem?
ID: 21273 · Report as offensive     Reply Quote
Jim1348

Send message
Joined: 17 Nov 14
Posts: 69
Credit: 3,289,285
RAC: 4,119
Message 21274 - Posted: 8 Jan 2017, 17:49:12 UTC - in response to Message 21273.  

Look at the BOINC log after a reboot. If you use BOINCTasks, it is the "Messages" tab. If you don't see "VirtualBox version:" somewhere around line 14, then BOINC is not detecting the VirtuBox installation.

The most common reason that I have found (running Ubuntu 16.xx) is that some prior version of VirtualBox was not completely uninstalled. What works for me:
sudo apt-get autoremove ‘virtualbox*’ (you will need to type this in to get the quote marks)

That should remove all previous versions. Then I just follow the instructions on the VirtualBox download page for my Linux version (I don't know about Gentoo).
https://www.virtualbox.org/wiki/Linux_Downloads
ID: 21274 · Report as offensive     Reply Quote
Section8

Send message
Joined: 26 Nov 16
Posts: 3
Credit: 302,519
RAC: 346
Message 21277 - Posted: 10 Jan 2017, 5:22:32 UTC - in response to Message 21274.  

Jim1348,
Thanks for the boinctasks tip - I installed that and it's pretty cool.

No matter where I dig for boinc logs - the boinctasks messages, the boincmgr event logs, or stdoutdae.txt - the only virtualbox message I've found is "virtualbox is not installed", so it looks like boinc is not detecting my virtualbox for some reason.

I don't have apt-get, but googled apt-get autoremove - it looks like that removes unnecessary dependencies. The gentoo equivalent is "emerge --depclean". I run that to clean up cruft every week or two, & it shouldn't touch virtualbox on my system. I've been running windows as a virtualbox guest (so virtualbox is not a dependency) for several years now for working from home.

I'll probably keep troubleshooting this, but for now I'm stuck.
ID: 21277 · Report as offensive     Reply Quote
Profile Marius
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 29 Jun 15
Posts: 462
Credit: 4,276
RAC: 0
Message 21278 - Posted: 10 Jan 2017, 16:30:04 UTC - in response to Message 21277.  
Last modified: 10 Jan 2017, 16:30:15 UTC

I'm not an expert on Gentoo, but it looks like newer versions of VBox might be available (although not stable)? https://packages.gentoo.org/packages/app-emulation/virtualbox-bin You could see if installing a newer version helps.
ID: 21278 · Report as offensive     Reply Quote
Ken_g6

Send message
Joined: 30 Apr 17
Posts: 2
Credit: 329,638
RAC: 2,131
Message 21401 - Posted: 5 May 2017, 3:43:42 UTC

I have to restart the BOINC service every time after I reboot, to get VirtualBox recognized. (`sudo service boinc-client stop ; sudo service boinc-client start`)
ID: 21401 · Report as offensive     Reply Quote
Section8

Send message
Joined: 26 Nov 16
Posts: 3
Credit: 302,519
RAC: 346
Message 21581 - Posted: 28 Nov 2017, 7:04:31 UTC

Sorry so long for the update - I finally got boinc and C@H to run virtualbox tasks on my system. Another gentoo user trying to run LHC@home virtualbox projects posted a link to this LHC@home faq in the gentoo forums: http://lhcathome.web.cern.ch/im-getting-lots-errors-and-i-have-boinc-installed-servicedaemon-problem

I was running boinc as a gentoo openrc daemon. When I disable this, and just run "boinc_client --daemon" as my user, C@H recognizes virtualbox and is now running boinc2docker tasks on my system.
ID: 21581 · Report as offensive     Reply Quote

Forums : Technical Support : Linux - only getting camb_legacy, C@H not detecting virtualbox