Error when starting rosetta python project

Message boards : Cafe Rosetta : Error when starting rosetta python project

To post messages, you must log in.

AuthorMessage
okaits7534

Send message
Joined: 30 Dec 21
Posts: 2
Credit: 188,432
RAC: 3
Message 106563 - Posted: 18 Jul 2022, 2:33:19 UTC

Hi.
I'm having trouble getting the rosetta python projects task to work with an error at start.
I'm getting the error with the VBoxManager command.
I'm not sure why the error occurs only when I run the command from BOINC Client, while there is no error when I run commands such as
sudo -u boinc VBoxManage -q list hostinfo
directly.
boinctui says
Task aaae-mVAL_pp-TIQ_pp-mNMVAL-ACHA14C_2874422_9_1 postponed for 86400 seconds: Communication with VM Hypervisor failed. Communication with VM Hypervisor failed.

The following error is printed in /var/lib/boinc-client/slots/8/stderr.txt.
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.

I built VirtualBox and Boinc from source.
$ boinc --version
7.21.0 x86_64-pc-linux-gnu

$ VBoxManage --version
7.0.0_ALPHA1r95556

(I am translating from Japanese by DeepL Translator. Sentence may not correct. Sorry.)
ID: 106563 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
ArcSedna

Send message
Joined: 23 Oct 11
Posts: 14
Credit: 69,552,040
RAC: 34,439
Message 106580 - Posted: 20 Jul 2022, 4:35:03 UTC

I'm having simiilar issue; postponed for 86400 seconds; Code NS_ERROR_SOCKET_FAIL (0xC1F30200)

tasks :
1491839286
1491839339
1491838813

Manjaro Linux 5.10.129-1-MANJARO|libc 2.35
Boinc 7.18.0
Virtual Box 6.1.34

stderr log of task 1491839286 (timestamp is UTC+9)
<core_client_version>7.18.0</core_client_version>
<![CDATA[
<message>
aborted by user</message>
<stderr_txt>
2022-07-20 13:13:18 (4269): vboxwrapper (7.7.26197): starting
2022-07-20 13:13:24 (4269): 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.

2022-07-20 13:13:24 (4269): Feature: Checkpoint interval offset (241 seconds)
2022-07-20 13:13:24 (4269): Detected: VirtualBox VboxManage Interface (Version: 6.1.34)
2022-07-20 13:13:30 (4269): 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.

2022-07-20 13:13:30 (4269): WARNING: Communication with VM Hypervisor failed.
2022-07-20 13:13:30 (4269): Could not communicate with VM Hypervisor. Rescheduling execution for a later date.

</stderr_txt>
]]>
ID: 106580 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
ArcSedna

Send message
Joined: 23 Oct 11
Posts: 14
Credit: 69,552,040
RAC: 34,439
Message 106612 - Posted: 21 Jul 2022, 13:48:35 UTC - in response to Message 106580.  

This thread is currently on "Cafe rosetta" topic,
but should be located at "Number crunching" topic?

# I didn't notice when I wrote my previous post
ID: 106612 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
okaits7534

Send message
Joined: 30 Dec 21
Posts: 2
Credit: 188,432
RAC: 3
Message 106655 - Posted: 26 Jul 2022, 2:53:18 UTC - in response to Message 106612.  

Oh, sorry. Should I recreate this thread at "Number crunching" topic?
ID: 106655 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
ArcSedna

Send message
Joined: 23 Oct 11
Posts: 14
Credit: 69,552,040
RAC: 34,439
Message 106656 - Posted: 26 Jul 2022, 11:10:10 UTC - in response to Message 106655.  

Maybe so :-)
Number crunching topic is more suitable for technical trouble, bug report, etc.
ID: 106656 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
ArcSedna

Send message
Joined: 23 Oct 11
Posts: 14
Credit: 69,552,040
RAC: 34,439
Message 106692 - Posted: 1 Aug 2022, 16:25:27 UTC

I seem to have found a workaround!

1. Open systemd unit file to edit
sudo systemctl edit boinc-client


2. In the new contents section, type
[Service]
PrivateTmp=true
then save and exit.

3. Reload systemd and restart boinc-client.
sudo systemctl daemon-reload
sudo systemctl restart boinc-client


reference : [Solved] Virtualbox and NS_ERROR_SOCKET_FAIL (LHC@home)

This worked for me and crunching some virtualbox tasks normally so far. Hope this helps.
ID: 106692 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Cafe Rosetta : Error when starting rosetta python project



©2024 University of Washington
https://www.bakerlab.org