You are not logged in.

#1 2014-03-01 14:08:30

josealb77
Member
Registered: 2013-06-23
Posts: 90

I can't get BOINC to work.

Hello,
following the poor explained steps at https://wiki.archlinux.org/index.php/BOINC I undestand that what I must do is this:

1º - I install BOINC with

[josealb77@ArchLinux ~]$ sudo pacman -S boinc
[sudo] password for josealb77: 
resolviendo dependencias...
verificando conflictos...

Paquetes (1): boinc-7.2.42-1

Tamaño Total Instalado:  5,84 MiB

:: ¿Continuar con la instalación? [S/n] s
(1/1) verificando llaves en el llavero                                                [#################################################] 100%
(1/1) verificando la integridad de los paquetes                                       [#################################################] 100%
(1/1) cargando los archivos del paquete...                                            [#################################################] 100%
(1/1) verificando conflictos entre archivos                                           [#################################################] 100%
(1/1) verificando el espacio disponible en disco                                      [#################################################] 100%
(1/1) instalando boinc                                                                [#################################################] 100%
>>> Client RPC password can be found in /var/lib/boinc/gui_rpc_auth.cfg
>>> (this file is generated after first run of /etc/rc.d/boinc start).
>>> Remove it from gui_rpc_auth.cfg if you do not want to use password.
>>> See more details on the Arch Linux BOINC wiki page.

2º - Execute the service in order it to create the /var/lib/boinc/gui_rpc_auth.cfg file with the command:

$ sudo systemctl start boinc.service

And check the file is created.
3º - I stop the service with:

$ sudo systemctl stop boinc.service

and remove the /var/lib/boinc/gui_rpc_auth.cfg file in order to not having to use password between boincmgr and the boinc service (as the pacman installation command output says).
3º - I start again the service and check it:

[josealb77@ArchLinux ~]$ sudo systemctl start boinc.service
[sudo] password for josealb77: 
[josealb77@ArchLinux ~]$ sudo systemctl status boinc.service
boinc.service - BOINC Daemon
   Loaded: loaded (/usr/lib/systemd/system/boinc.service; disabled)
   Active: active (running) since sáb 2014-03-01 14:11:50 CET; 7s ago
 Main PID: 21435 (boinc_client)
   CGroup: /system.slice/boinc.service
           ├─21435 /usr/bin/boinc_client --dir /var/lib/boinc --redirectio
           └─22343 sh -c /usr/bin/file -L /lib/libvorbisenc.so

mar 01 14:11:50 ArchLinux systemd[1]: Starting BOINC Daemon...
mar 01 14:11:50 ArchLinux systemd[1]: Started BOINC Daemon.

4º - Execute boinc and this the output:

[josealb77@ArchLinux ~]$ boinc
01-Mar-2014 14:19:45 [---] cc_config.xml not found - using defaults
01-Mar-2014 14:19:45 [---] Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu
01-Mar-2014 14:19:45 [---] log flags: file_xfer, sched_ops, task
01-Mar-2014 14:19:45 [---] Libraries: libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libssh2/1.4.3
01-Mar-2014 14:19:45 [---] Data directory: /home/josealb77
execv: No such file or directory
01-Mar-2014 14:19:45 [---] GPU detection failed. error code 512
01-Mar-2014 14:19:45 [---] No usable GPUs found
01-Mar-2014 14:19:45 [---] Creating new client state file
01-Mar-2014 14:19:45 [---] Host name: ArchLinux
01-Mar-2014 14:19:45 [---] Processor: 4 GenuineIntel Intel(R) Core(TM) i5 CPU         680  @ 3.60GHz [Family 6 Model 37 Stepping 5]
01-Mar-2014 14:19:45 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm arat dtherm tpr_shadow vnmi flexpriority ept vpid
01-Mar-2014 14:19:45 [---] OS: Linux: 3.13.5-1-ARCH
01-Mar-2014 14:19:45 [---] Memory: 15.60 GB physical, 10.00 GB virtual
01-Mar-2014 14:19:45 [---] Disk: 480.23 GB total, 265.19 GB free
01-Mar-2014 14:19:45 [---] Local time is UTC +1 hours
01-Mar-2014 14:19:45 [---] VirtualBox version: WARNING: The vboxdrv kernel module is not loaded. Either there is no module
01-Mar-2014 14:19:45 [---] No general preferences found - using defaults
01-Mar-2014 14:19:45 [---] Preferences:
01-Mar-2014 14:19:45 [---]    max memory usage when active: 7989.70MB
01-Mar-2014 14:19:45 [---]    max memory usage when idle: 14381.46MB
01-Mar-2014 14:19:45 [---]    max disk usage: 265.09GB
01-Mar-2014 14:19:45 [---]    don't use GPU while active
01-Mar-2014 14:19:45 [---]    suspend work if non-BOINC CPU load exceeds 25%
01-Mar-2014 14:19:45 [---]    (to change preferences, visit a project web site or select Preferences in the Manager)
01-Mar-2014 14:19:45 [---] GUI RPC bind to port 31416 failed: 98
01-Mar-2014 14:20:25 gstate.init() failed
Error Code: -180

5º - Execute boincmgr and I get the BOINC Manager window with the message "Can't connect to the core client" (In spanish: "No se puede conectar al cliente núcleo") and these two lines in the terminal output:

[josealb77@ArchLinux ~]$ boincmgr
execvp(/home/josealb77/boinc, --redirectio, --launched_by_manager) failed with error 2!
execvp(/home/josealb77/boinc, --redirectio, --launched_by_manager) failed with error 2!

I close the boincmgr window from the tray icon confirming the typical warning message, but I have to close the program in the terminal with Ctrl+C.

I've searched "Error Code: -180" and here http://boincfaq.mundayweb.com/index.php … &viewCat=3 indicates it's GUI RPC bind failed.

I've searched "GUI RPC bind to port 31416 failed: 98" and I've found an old ArchLinux BOINC bug report supposedly solved (https://bugs.archlinux.org/task/18194) in which the reporter says that "is necessary add port 31416 to /etc/rpc otherwise receive error: [error] GUI RPC bind to port 31416 failed: 98" But related to this happens 2 things:

1st: I don't know in which format do I have to modify the /etc/rpc file in order to add the 31416 port. I'm sorry for my ignorance.

2nd: I don't think that any user who installs BOINC had to modify manually any system configuration file, so it must be a BOINC or Archlinux BOINC package bug; or an installation process error. Otherwise it would appear in the wiki. The gui should conect with the client without configuring anything (I already think that configuring what the wiki says is too much for a package installation. Installed packages should work out of the box after its installation).

So, what can I do in order to get BOINC + BOINC Manager work together?

Offline

#2 2014-03-14 21:28:39

Nattgew
Member
Registered: 2013-10-09
Posts: 30

Re: I can't get BOINC to work.

Once you run

sudo systemctl start boinc.service

Boinc is already running in the background as a service. There is no need to run "boinc" on the command line. The error you see is because it is trying to start Boinc again from the command line, but the service is already running and has claimed the port 31416.
I'm not sure why boincmgr won't connect... could you be more specific about what happens when you run it?
Other than that, the wiki tells you where to look at the log file (make sure there are no errors there) and explains the password for connecting (sounds like you already took care of that, but good to double check).

Offline

#3 2014-03-15 18:08:53

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: I can't get BOINC to work.

Thank you for your help Nattgew.

Boinc is already running in the background as a service. There is no need to run "boinc" on the command line. The error you see is because it is trying to start Boinc again from the command line, but the service is already running and has claimed the port 31416.

I know, it was in order to give all the possible feedback.

I'm not sure why boincmgr won't connect... could you be more specific about what happens when you run it?

No, I can't be more specific than I've already been above. I've described all that I see that happens.

Other than that, the wiki tells you where to look at the log file (make sure there are no errors there) and explains the password for connecting (sounds like you already took care of that, but good to double check).

As you can see I've searched all the errors I got in the boinc wiki. I know what they mean, but not why are happening.

I think my problems come from a bad management of the files permissions by the package installation. I mean, when a package is installed there should be an script or something that modifies (or create the files with) the permissions that files must have, or create the groups that need to be created, and so on. But it looks like I have to modify all this data in order to get boincmngr connect to boinc, boinc and boincmngr get the writting permissions in the installation folder too, etc etc etc. I don't know very well how to do all this stuff (I mean that I've already created by hand the boinc group, changed the execution, access, modification of files with users and boinc groups credentials, and I still get silly errors as "boinc can't write" in a folder which is the owner, or can't write executed by the root. All this stuff messed me up because looks too much stupid), but more important, I shouldn't to do it manually after a package installation.

I should open a bug report in arhlinux first and if they can't solve the problem open it in the boinc support, I suppose.

Offline

#4 2014-03-19 23:35:53

rh995
Member
Registered: 2012-03-09
Posts: 76

Re: I can't get BOINC to work.

Are you a member of the group boinc?  It could be called something slightly different, but I remember from my boinc days that you need to be in some kind of group to connect to the service.

Edit:  oops, you already mentioned this.

Last edited by rh995 (2014-03-19 23:38:24)

Offline

#5 2017-08-19 22:28:40

airv_zxf
Member
From: Guadalajara City, Mexico
Registered: 2017-08-19
Posts: 54
Website

Re: I can't get BOINC to work.

I got this error:
GPU detection failed. error code 512
NVIDIA

boinc &
19-Aug-2017 17:15:27 [---] Starting BOINC client version 7.6.33 for x86_64-pc-linux-gnu
19-Aug-2017 17:15:27 [---] log flags: file_xfer, sched_ops, task
19-Aug-2017 17:15:27 [---] Libraries: libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0 (+libicu/59.1) libssh2/1.8.0 nghttp2/1.23.1
19-Aug-2017 17:15:27 [---] Data directory: /home/wolf/workspace/boinc
19-Aug-2017 17:15:27 [---] GPU detection failed. error code 512
19-Aug-2017 17:15:27 [---] No usable GPUs found
19-Aug-2017 17:15:28 [---] Host name: wolfMachine
19-Aug-2017 17:15:28 [---] Processor: 4 GenuineIntel Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz [Family 6 Model 58 Stepping 9]
boincmgr &

I'd tried all the possibles solutions in internet but nothing worked.

Run `/usr/bin/boinc` instead `boinc`


Setup and story:

You can check my scripts in these links:


Needs install all the Nvidia drives, OpenCL, Multilibs (lib32)

Added boinc to the correct groups

sudo usermod -a -G boinc $(whoami)
sudo gpasswd -a boinc video
reboot # Reboot your computer
groups # Check that you are in the boinc group
groups boinc # Check that boinc is in the video group

Then run the command boinc in your actual directory where are all your boinc *.xml files

/usr/bin/boinc & # Or you can use '/usr/bin/boinc_client'
boincmgr &
19-Aug-2017 17:15:58 [---] Starting BOINC client version 7.6.33 for x86_64-pc-linux-gnu
19-Aug-2017 17:15:58 [---] log flags: file_xfer, sched_ops, task
19-Aug-2017 17:15:58 [---] Libraries: libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0 (+libicu/59.1) libssh2/1.8.0 nghttp2/1.23.1
19-Aug-2017 17:15:58 [---] Data directory: /home/wolf/workspace/boinc
19-Aug-2017 17:15:58 [---] CUDA: NVIDIA GPU 0: GeForce GT 740M (driver version 384.59, CUDA version 9.0, compute capability 3.0, 2002MB, 1855MB available, 687 GFLOPS peak)
19-Aug-2017 17:15:58 [---] OpenCL: NVIDIA GPU 0: GeForce GT 740M (driver version 384.59, device version OpenCL 1.2 CUDA, 2002MB, 1855MB available, 687 GFLOPS peak)
19-Aug-2017 17:15:58 [---] Host name: wolfMachine
19-Aug-2017 17:15:58 [---] Processor: 4 GenuineIntel Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz [Family 6 Model 58 Stepping 9]

NOTE:
In fact I didn't run the boinc service, this two commands is all I need to run Boinc properly.

The name of my project is:
Arch Linux: Installer and setup
redacted

Last edited by jasonwryan (2017-08-19 22:33:29)

Offline

#6 2017-08-19 22:32:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: I can't get BOINC to work.

Don't necrobump, especially not to promote your (unsupported and unwanted) install scripts:
https://wiki.archlinux.org/index.php/Co … bumping.22



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB