Message boards : CMS Application : Virtualbox tasks failing on Linux
Message board moderation

To post messages, you must log in.

AuthorMessage
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49207 - Posted: 18 Jan 2024, 15:46:13 UTC

Never run CMS on Linux before so I assume I am doing something wrong, I have tried using both the Boinc Virtualbox app from the software repository and installing Virtualbox direct from the main site, both end in failed tasks, any idea what I am doing wrong?
Example of a failed task https://lhcathome.cern.ch/lhcathome/result.php?resultid=404588324
ID: 49207 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2460
Credit: 236,697,141
RAC: 119,876
Message 49208 - Posted: 18 Jan 2024, 16:09:51 UTC - in response to Message 49207.  

1st measure:
Reduce your work buffer to 0.01 until your tasks run stable!

You already burned nearly 100 Theory tasks and nearly 100 CMS tasks.
That's not a nice behaviour against the project.


2nd measure:
Use the url tags from the forum editor to mark links!
Wrong:
https://lhcathome.cern.ch/lhcathome/result.php?resultid=404588324

Right:
https://lhcathome.cern.ch/lhcathome/result.php?resultid=404588324


3rd measure:
Read the logfiles - stderr.txt in this case.
An error like this tells you VirtualBox is not running, even if you installed it.
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

If you are not familiar with VirtualBox:
1. remove it completely!
2. Reboot
3. Install it again
4. Reboot
ID: 49208 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49209 - Posted: 18 Jan 2024, 17:13:50 UTC - in response to Message 49208.  

Buffer is 0.01, its downloading 32 for the CPU erroring out then immediately downloading more before I can stop it.

Ill check the Vbox site for details on how to check its running thanks.
ID: 49209 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49210 - Posted: 18 Jan 2024, 17:51:27 UTC

Tried uninstalling, rebooting, reinstalling, rebooting again, no help, still crashing, I'll just stop sending tasks there for now until I find a solution here or on Google.
Might just go back to Windows on this box as its much simpler, just loose out on a few apps.
ID: 49210 · Report as offensive     Reply Quote
rob

Send message
Joined: 4 Mar 11
Posts: 25
Credit: 3,813,507
RAC: 705
Message 49211 - Posted: 18 Jan 2024, 18:50:16 UTC - in response to Message 49209.  

One thing to make sure of is that you've got virtualisation turned ON for your CPU.
ID: 49211 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49219 - Posted: 20 Jan 2024, 12:39:40 UTC

Yea it is enabled
ID: 49219 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 817
Credit: 666,630,884
RAC: 149,694
Message 49220 - Posted: 20 Jan 2024, 18:00:38 UTC

I have to edit the sytstemd for the boinic service and add the following:

/etc/systemd/system/boinc-client.service.d/override.conf

[Service]
ProtectSystem=full
ID: 49220 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49250 - Posted: 23 Jan 2024, 23:45:00 UTC - in response to Message 49220.  

I have this, still no joy
ID: 49250 · Report as offensive     Reply Quote
maeax

Send message
Joined: 2 May 07
Posts: 2166
Credit: 164,891,430
RAC: 49,789
Message 49251 - Posted: 24 Jan 2024, 0:51:26 UTC - in response to Message 49250.  

2024-01-23 23:55:20 (91333): Error in guest additions for VM: -1041038848
Is your Guest-Addition for Virtualbox conform with your Virtualbox-Version?
ID: 49251 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49253 - Posted: 24 Jan 2024, 10:38:09 UTC

I have the guests iso installed
ID: 49253 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 817
Credit: 666,630,884
RAC: 149,694
Message 49256 - Posted: 24 Jan 2024, 19:17:38 UTC
Last modified: 24 Jan 2024, 19:21:19 UTC

The additions are in the VM so you don't need to install them.
I assume the error is that they are the wrong version since the VM disk is older.

You have this error

Sudo-Version must be at least 1.9.10.
ID: 49256 · Report as offensive     Reply Quote
maeax

Send message
Joined: 2 May 07
Posts: 2166
Credit: 164,891,430
RAC: 49,789
Message 49257 - Posted: 24 Jan 2024, 20:29:00 UTC - in response to Message 49256.  

You have this error
Sudo-Version must be at least 1.9.10.

This is only for cgroups v2, not for v1.
ID: 49257 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49259 - Posted: 24 Jan 2024, 21:37:52 UTC

Rosetta @ home is also bringing the following error "Postponed: Communication with VM Hypervisor failed" so I am assuming a config issue somewhere?
ID: 49259 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 817
Credit: 666,630,884
RAC: 149,694
Message 49260 - Posted: 24 Jan 2024, 22:19:00 UTC - in response to Message 49259.  
Last modified: 24 Jan 2024, 22:21:51 UTC

Part of the same issue that VirtualBox isn't working I think

You can run Virtualbox as the boinc user to see if there is some stale disks or it even loads

sudo -u boinc VirtualBox
ID: 49260 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49264 - Posted: 25 Jan 2024, 9:51:30 UTC - in response to Message 49260.  

I get the following error:

"Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-boinc'

(VirtualBox:1122138): dbind-WARNING **: 09:50:08.269: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_0: Permission denied"
ID: 49264 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49363 - Posted: 2 Feb 2024, 12:14:55 UTC - in response to Message 49264.  

Any thoughts on this one?
ID: 49363 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 817
Credit: 666,630,884
RAC: 149,694
Message 49366 - Posted: 2 Feb 2024, 19:15:07 UTC - in response to Message 49264.  

Could be you need to grant permission to boinc it can use the video out:

sudo xhost si:localuser:boinc
ID: 49366 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49373 - Posted: 3 Feb 2024, 13:05:55 UTC

No joy, same error

<core_client_version>7.18.1</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)</message>
<stderr_txt>
2024-02-03 13:03:44 (10112): Detected: vboxwrapper 26206
2024-02-03 13:03:44 (10112): Detected: BOINC client v7.18.1
2024-02-03 13:03:49 (10112): Error in guest additions for VM: -1041038848
Command:
VBoxManage -q list systemproperties
Output:
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_SOCKET_FAIL (0xC1F30200) - IPC daemon socket error (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

2024-02-03 13:03:49 (10112): Detected: VirtualBox VboxManage Interface (Version: 6.1.48)
2024-02-03 13:03:55 (10112): Error in host info for VM: -1041038848
Command:
VBoxManage -q list hostinfo 
Output:
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_SOCKET_FAIL (0xC1F30200) - IPC daemon socket error (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

2024-02-03 13:03:55 (10112): WARNING: Communication with VM Hypervisor failed.
2024-02-03 13:03:55 (10112): ERROR: VBoxManage list hostinfo failed
13:03:55 (10112): called boinc_finish(1)

</stderr_txt>
]]>


I think I am just resigned to not running CMS (or Theory) on this box :(
ID: 49373 · Report as offensive     Reply Quote
Crystal Pellet
Volunteer moderator
Volunteer tester

Send message
Joined: 14 Jan 10
Posts: 1334
Credit: 8,829,580
RAC: 1,678
Message 49375 - Posted: 3 Feb 2024, 13:26:12 UTC - in response to Message 49373.  

No joy, same error
.
.
I think I am just resigned to not running CMS (or Theory) on this box :(
You could start with upgrade the VBox version from 6.1.48 to 7.0.14 and more important:
avoid to start several CMS-tasks or Theory/ATLAS-tasks at once, but one after the other.
It looks like you started >10 CMS-tasks concurrently.
ID: 49375 · Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 17 Aug 17
Posts: 81
Credit: 7,236,979
RAC: 18,120
Message 49378 - Posted: 3 Feb 2024, 14:02:22 UTC

Seem to have sorted it, adding an override file didn't seem to work but after some searching here editing this file /etc/systemd/system/multi-user.target.wants/boinc-client.service and changing ProtectSystem=strict to full seems to have fixed it, ill keep an eye on outputs.
ID: 49378 · Report as offensive     Reply Quote

Message boards : CMS Application : Virtualbox tasks failing on Linux


©2024 CERN