Questions and Answers : Getting started : How To Setup VirtualBox With LHC@HOME On Command Line Only Server?
Message board moderation

To post messages, you must log in.

AuthorMessage
Zhiwei Liang

Send message
Joined: 19 Mar 20
Posts: 1
Credit: 67,328
RAC: 0
Message 46629 - Posted: 13 Apr 2022, 20:33:41 UTC

I got some cloud VMs and want to contribute to the project, but the native applications always fail, and I couldn't fix it. I am wondering how can I setup VirtualBox with LHC. I did simply `sudo apt install virtualbox -y`, is that all?
ID: 46629 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2413
Credit: 226,474,031
RAC: 131,927
Message 46630 - Posted: 13 Apr 2022, 20:59:04 UTC - in response to Message 46629.  

Some of your computers have only 7.77 GB RAM, others less than 1 GB.
To run ATLAS 16 GB should be the minimum.

ATLAS native requires a local CVMFS client and apptainer (former known as singularity) to be installed.
This is from your logfiles:
[2022-04-01 22:45:25] Checking for CVMFS
[2022-04-01 22:45:25] No cvmfs_config command found, will try listing directly
[2022-04-01 22:45:25] ls: cannot access '/cvmfs/atlas.cern.ch/repo/sw': No such file or directory
[2022-04-01 22:45:25] Failed to list /cvmfs/atlas.cern.ch/repo/sw
[2022-04-01 22:45:25] ** It looks like CVMFS is not installed on this host.



CVMFS needs to be installed and configured correctly.
See the advice given here:
https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=4840
https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5594
https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5595
ID: 46630 · Report as offensive     Reply Quote
Henry Nebrensky

Send message
Joined: 13 Jul 05
Posts: 167
Credit: 14,945,019
RAC: 463
Message 46645 - Posted: 15 Apr 2022, 16:39:47 UTC - in response to Message 46629.  
Last modified: 15 Apr 2022, 16:41:37 UTC

I got some cloud VMs and want to contribute to the project, but the native applications always fail, and I couldn't fix it. I am wondering how can I setup VirtualBox with LHC.
As these are already VMs, I doubt Virtualbox will run correctly inside them. Never tried it though.

I did simply `sudo apt install virtualbox -y`, is that all?

Answering the subject line, my old notes for CentOS7/8 (Minimal install) say:

    VBox needs gcc, make, elfutils-libelf-devel, kernel-devel and kernel-headers; not a dependency in the RPM. May also need: setools-libs libsemanage-python
    yum install gcc make elfutils-libelf-devel kernel-devel  kernel-headers setools-libs libsemanage-python libseccomp

    Install the downloaded VirtualBox RPM:
    yum localinstall VBox-version.RPM

    user running BOINCmust be in VBox group:
    usermod --append --groups vboxusers boinc

    Rebuild the kernel modules:
    vboxconfig

    Start VBox services:
    service vboxautostart-service start
    service vboxdrv restart

    Optional:
    VBoxManage extpack install /tmp/Oracle_VM_VirtualBox_Extension_Pack-version.vbox-extpack


All as root, via SSH. That should should give a working VirtualBox testable by restarting the BOINC client.
If working, remember to chkconfig the services on before rebooting.
When updating the kernel, remember to re-run vboxconfig to build the new modules before rebooting.

Other useful bits:

VBoxManage list extpacks

VBoxManage list vms
VBoxManage showvminfo 1e6cf289-3176-476f-b80c-6fa3fbe42922
VBoxManage unregistervm 1e6cf289-3176-476f-b80c-6fa3fbe42922 --delete


Distro-specific and SysV-to-systemd translation left as an exercise for the reader.

Note that I've not tested this in a couple of years as I don't have any suitable machine at the moment. Any problems see Yeti's Checklist
ID: 46645 · Report as offensive     Reply Quote

Questions and Answers : Getting started : How To Setup VirtualBox With LHC@HOME On Command Line Only Server?


©2024 CERN