Posts by Peter Humphrey

21) Message boards : Documentation : Document update needed, please. (Message 69371)
Posted 2 May 2016 by Peter Humphrey
Post:
Please, do I need to add a warning to the install instructions that when running BOINC as a daemon, it cannot find VirtualBox, or not?

No, I don't think any action is needed here. I was mistaken in my diagnosis. I'll see if I can find where moving away from su is recommended, and make a note there if suitable.

Is that also (still) the fact with Windows installations and BOINC as a service, or is it cleared there as well?

Sorry; I can't help with Windows hosts.
22) Message boards : Documentation : Document update needed, please. (Message 69365)
Posted 2 May 2016 by Peter Humphrey
Post:
Looks like you were right, Christian. The problem was not with running as a daemon but in being started with an su command. This has now been fixed in Gentoo by substituting a call to start-stop-daemon.

Sorry I mis-diagnosed this.
23) Message boards : Documentation : Document update needed, please. (Message 69351)
Posted 1 May 2016 by Peter Humphrey
Post:
Well, now I don't know what's going on. I have reinstalled sci-misc/boinc and I've found that the init script differs from what I backed up six hours ago. It now uses start-stop-daemon instead of su -m. No changelog entries, no version bump, just a different date on a couple of files.

It's too early to say whether this has worked as a whole lot of downloads are now in progress, as though all work done before has been lost. Watch this space...
24) Message boards : Documentation : Document update needed, please. (Message 69347)
Posted 1 May 2016 by Peter Humphrey
Post:
The way I solved the problem, after spending three weeks trying to find another way, was to uninstall the Gentoo package, then install the BOINC project version (both at 7.2.42). There was no difference - "Communication with VM hypervisor failed." So I changed the script /home/prh/boinc/run_manager to remove the --daemon flag and add an ampersand:

prh@peak ~/boinc $ cat run_manager
cd "/home/prh/BOINC" && exec ./boincmgr $@ &


Now it works fine (BOINC is a soft link to boinc, which is where I mount the partition devoted to BOINC).

I'll prove it conclusively by reverting to the Gentoo package and changing the init script to remove --daemon. I'd better also see if I can make my Gentoo bug report clearer.

I'm not aware of any special security feature of Gentoo other than the standard Linux permissions setup; I certainly don't have any security package installed. How has Debian solved the problem? What does its boinc init script look like?

I've added boinc and myself to vboxusers, and I've added myself to boinc and vboxusers. I've checked file and directory permissions and everything else I can think of. Running other than as a daemon is the only way I've found to work here.
25) Message boards : Documentation : Document update needed, please. (Message 69333)
Posted 1 May 2016 by Peter Humphrey
Post:
https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Gentoo et seq tell us to run BOINC as a daemon. That's fine for projects that don't use VirtualBox, but those that do use it cannot communicate with it when run as a daemon.

The Gentoo package sci-apps/boinc has a start/stop script which calls boinc as a daemon, and that needs changing too. I've raised a bug at https://bugs.gentoo.org/show_bug.cgi?id=581652 to request a corresponding change in the script.
26) Message boards : Questions and problems : BOINC manager on Gentoo can't connect to the host. (Message 67844)
Posted 17 Feb 2016 by Peter Humphrey
Post:
Sorry about the delay, but I've had a hardware problem: I think the RAM was fading with age, had been for over a year, and had introduced errors in all sorts of places. So I've rebuilt the whole system on new RAM, which has taken a few days, this being a Gentoo box.

I also cleaned out the whole boinc partition and started afresh, calling "boinc attach_project <URL> <key>" on each project.

Whatever got fixed along the way seems to have fixed my problem with boinc too. Except for one thing: ATLAS@home can't connect to the local host; it says "Communication with VM Hypervisor failed." And when I log in via kdm I get a pop-up notice saying the VirtualBox kernel service is not running. I'm looking into that now.

My newly built system has been running for a few days now with nothing in stderrdae.txt and nothing untoward in stdoutdae.txt, so it looks like this thread can be closed. Thanks for your help anyway.
27) Message boards : Questions and problems : BOINC manager on Gentoo can't connect to the host. (Message 67608)
Posted 9 Feb 2016 by Peter Humphrey
Post:
After a clean installation of sci-misc/boinc-7.4.42-r1 on my Gentoo box, but keeping all the existing project data, I find that boincmgr cannot connect to localhost. I find these entries in the error log:

$ grep lib64 /var/lib/boinc/stderrdae.txt
boinc: /usr/lib64/libssl.so.1.0.0: no version information available (required by boinc)
boinc: /usr/lib64/libcurl.so.4: no version information available (required by boinc)
boinc: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by boinc)
boinc: /usr/lib64/libssl.so.1.0.0: no version information available (required by boinc)
boinc: /usr/lib64/libcurl.so.4: no version information available (required by boinc)
boinc: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by boinc)

I think this means that boinc is expecting a different version of openssl and of curl, but it was compiled on this machine so it should be looking for the openssl and curl that are here. (It would be helpful if these error-log messages were time-stamped; I can't tell whether these two sets of errors came from the same or different invocations.)

# ldd /usr/bin/boinc
linux-vdso.so.1 (0x00007ffe74fb2000)
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007f2e8166c000)
libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f2e813f6000)
libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f2e80fb7000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2e80db3000)
libz.so.1 => /lib64/libz.so.1 (0x00007f2e80b9d000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2e80981000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6 (0x00007f2e80672000)
libm.so.6 => /lib64/libm.so.6 (0x00007f2e8036e000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 (0x00007f2e80157000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2e7fdbc000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2e818ce000)


Boinc, openssl and curl are all at the latest versions in the Gentoo tree. These are the USE flags they use:

# emerge -pv boinc openssl curl
--->8
[ebuild R ] dev-libs/openssl-1.0.2f::gentoo USE="asm tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -static-libs {-test} -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB
[ebuild R ] net-misc/curl-7.45.0::gentoo USE="ipv6 ssl -adns -http2 -idn -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs {-test} -threads" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -axtls -gnutls (-libressl) -nss -polarssl (-winssl)" 0 KiB
[ebuild R ~] sci-misc/boinc-7.4.42-r1::gentoo USE="X -cuda -static-libs" 0 KiB

I tried remerging openssl with +rfc3779 but it didn't help.

How can I fix this?
28) Message boards : Questions and problems : Why does v7.4.42 need so many supporting programs? (Message 67583)
Posted 7 Feb 2016 by Peter Humphrey
Post:
I've been running version 7.2.0 of BOINC on my Gentoo Linux stable i5 machine and recently decided to upgrade to 7.4.42. It pulls in 17 other packages that the earlier version didn't need, including Ruby, yaml and webkit. Why does a number-cruncher need all these other things? It's taking ages to compile them all.
29) Message boards : Questions and problems : How to pass command-line parameters to boincmgr on Gentoo Linux? (Message 51524)
Posted 25 Nov 2013 by Peter Humphrey
Post:
Just after posting that, of course I found a way to configure KDE:

$ cat /usr/share/applications/boincmgr-boinc.desktop
[Desktop Entry]
Name=boinc
Type=Application
Comment=The Berkeley Open Infrastructure for Network Computing
Exec=boincmgr
TryExec=boincmgr
Icon=boinc
Categories=Math;Science;
Path=/home/prh/boinc

I only had to change the path entry. Sorry for making a noise.
30) Message boards : Questions and problems : How to pass command-line parameters to boincmgr on Gentoo Linux? (Message 51522)
Posted 25 Nov 2013 by Peter Humphrey
Post:
I run Gentoo amd64 (not ~amd64) on my Armari workstation. I've installed the Gentoo BOINC package at its one available version, 7.2.0. Gentoo uses the directory /etc/conf.d/ for packages to set whatever variables they need, and this is the content of /etc/conf.d/boinc:
USER="prh"
GROUP="prh"
RUNTIMEDIR="/home/prh/boinc"
BOINCBIN="/usr/bin/boinc_client"
ALLOW_REMOTE_RPC="no"
NICELEVEL="19"

BOINC runs nicely, but it would be good to get the GUI running. I can run it from the command line thus:
boincmgr -e /usr/bin/boinc_client -d /home/prh/boinc

but I haven't found a way to do this in the GUI. The program cannot connect to localhost.

I tried setting ALLOW_REMOTE_RPC="yes" but that didn't help. I also tried creating an XML file in the default Gentoo data directory, /var/lib/boinc, with this content:
$ cat /var/lib/boinc/cc_config.xml
<cc_config>
  <data_dir>/home/prh/boinc</data_dir>
</cc_config>

but that didn't help either.

Is this a question for KDE (my desktop environment) or can I solve it in BOINC?


Previous 20

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.