[SOLVED by Magic] Upgrade Linux Mint 19.1 - BOINC not working

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
ea234
Level 1
Level 1
Posts: 4
Joined: Sun Mar 11, 2018 5:55 am
Location: Germany, Hamburg

[SOLVED by Magic] Upgrade Linux Mint 19.1 - BOINC not working

Post by ea234 » Mon Feb 25, 2019 10:19 am

Hello,

I startet the BOINC-Manager from the Startmenu and voila all is well.

Could be, that the Icon on my desktop refers to an older version ... who knows.

Another explanation could be, since the upgrade my oracle virtual box stopped working,
I reinstalled virtual box (https://www.itzgeek.com/how-tos/linux/l ... nt-17.html).
Maybe there was some magic in it.

Its running ...



Hello,

I upgraded my Linux-Mint 18.3 to 19.1.

My BOINC-Software (Seti@Home) stopped working. All I get is:

Setting up GUI RPC socket
GUI RPC bind to port 31416 failed: 98

I got that error also with the DOCKER-Container.

I made a reinstall. I cleaned my Directories from any BOINC related stuff,
but still no Luck.

Any suggestions?


I also tried running boinc in the command line.

https://setiathome.berkeley.edu/forum_t ... p?id=68318

boinccmd --lookup_account http://setiathome.berkeley.edu your_email your_password

boinccmd --project_attach http://setiathome.berkeley.edu {authenticator key}


I run into troubles with "your_password". My password contains parenthesisis (or brackets).

If I tried this (... no that are not my real data, but you will get an Idea)

MsiZ370 ~ # boinccmd --lookup_account http://setiathome.berkeley.edu my.email@fluffy.kx whoCares(9)
bash: Syntaxfehler beim unerwarteten Wort »(«
MsiZ370 ~ # boinccmd --lookup_account http://setiathome.berkeley.edu my.email@fluffy.kx "whoCares(9)"
Authorization failure: -155
MsiZ370 ~ # boinccmd --project_attach http://setiathome.berkeley.edu d01234567890123456789012345678920
Authorization failure: -155

And where is my "boinc" root oder home directory, that should remove the "Authorization failure" ?

-------------------------------------------------------------------



ea234@MsiZ370 ~ $ sudo boinc
[sudo] Passwort für ea234:
24-Feb-2019 08:57:32 [---] cc_config.xml not found - using defaults
24-Feb-2019 08:57:32 [---] Starting BOINC client version 7.9.3 for x86_64-pc-linux-gnu
24-Feb-2019 08:57:32 [---] log flags: file_xfer, sched_ops, task
24-Feb-2019 08:57:32 [---] Libraries: libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
24-Feb-2019 08:57:32 [---] Data directory: /home/ea234
execv: No such file or directory
24-Feb-2019 08:57:32 [---] GPU detection failed. error code 512
24-Feb-2019 08:57:32 [---] No usable GPUs found
24-Feb-2019 08:57:32 [---] [libc detection] gathered: 2.27, Ubuntu GLIBC 2.27-3ubuntu1
24-Feb-2019 08:57:32 [---] Host name: MsiZ370
24-Feb-2019 08:57:32 [---] Processor: 12 GenuineIntel Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz [Family 6 Model 158 Stepping 10]
24-Feb-2019 08:57:32 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic ...
24-Feb-2019 08:57:32 [---] OS: Linux LinuxMint: Linux Mint 19.1 Tessa [4.15.0-45-generic|libc 2.27 (Ubuntu GLIBC 2.27-3ubuntu1)]
24-Feb-2019 08:57:32 [---] Memory: 15.58 GB physical, 15.92 GB virtual
24-Feb-2019 08:57:32 [---] Disk: 442.16 GB total, 257.30 GB free
24-Feb-2019 08:57:32 [---] Local time is UTC +1 hours
24-Feb-2019 08:57:32 [---] Last benchmark was 17951 days 07:57:32 ago
24-Feb-2019 08:57:32 [---] No general preferences found - using defaults
24-Feb-2019 08:57:32 [---] Preferences:
24-Feb-2019 08:57:32 [---] max memory usage when active: 7979.11 MB
24-Feb-2019 08:57:32 [---] max memory usage when idle: 14362.40 MB
24-Feb-2019 08:57:32 [---] max disk usage: 257.55 GB
24-Feb-2019 08:57:32 [---] don't use GPU while active
24-Feb-2019 08:57:32 [---] suspend work if non-BOINC CPU load exceeds 25%
24-Feb-2019 08:57:32 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
24-Feb-2019 08:57:32 [---] Setting up project and slot directories
dir_open: Could not open directory 'slots' from '/home/ea234'.
24-Feb-2019 08:57:32 [---] Checking active tasks
24-Feb-2019 08:57:32 [---] Setting up GUI RPC socket
24-Feb-2019 08:58:01 [---] GUI RPC bind to port 31416 failed: 98
24-Feb-2019 08:58:02 gstate.init() failed
Error Code: -180
ea234@MsiZ370 ~ $ netstat -ap | grep 31416
(Es konnten nicht alle Prozesse identifiziert werden; Informationen über
nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
tcp 0 0 localhost:31416 0.0.0.0:* LISTEN -
ea234@MsiZ370 ~/slots $ sudo netstat -ap | grep 31416
tcp 0 0 localhost:31416 0.0.0.0:* LISTEN 2214/boinc
ea234@MsiZ370 ~ $ cat /etc/services | grep 31416
ea234@MsiZ370 ~ $ pwd
/home/ea234
ea234@MsiZ370 ~ $ mkdir slots
ea234@MsiZ370 $ sudo docker run --net=host -v /home/ea234/Daten/DBoinc:/var/lib/boinc -e BOINC_GUI_RPC_PASSWORD="123" -e BOINC_CMD_LINE_OPTIONS="--allow_remote_gui_rpc" boinc/client
24-Feb-2019 08:03:17 [---] cc_config.xml not found - using defaults
24-Feb-2019 08:03:17 [---] Starting BOINC client version 7.14.2 for x86_64-pc-linux-gnu
24-Feb-2019 08:03:17 [---] log flags: file_xfer, sched_ops, task
24-Feb-2019 08:03:17 [---] Libraries: libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
24-Feb-2019 08:03:17 [---] Data directory: /var/lib/boinc
24-Feb-2019 08:03:17 [---] No usable GPUs found
24-Feb-2019 08:03:17 [---] [libc detection] gathered: 2.27, Ubuntu GLIBC 2.27-3ubuntu1
24-Feb-2019 08:03:17 [---] Host name: MsiZ370
24-Feb-2019 08:03:17 [---] Processor: 12 GenuineIntel Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz [Family 6 Model 158 Stepping 10]
24-Feb-2019 08:03:17 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca ...
24-Feb-2019 08:03:17 [---] OS: Linux Ubuntu: Ubuntu 18.04.1 LTS [4.15.0-45-generic|libc 2.27 (Ubuntu GLIBC 2.27-3ubuntu1)]
24-Feb-2019 08:03:17 [---] Memory: 15.58 GB physical, 15.92 GB virtual
24-Feb-2019 08:03:17 [---] Disk: 442.16 GB total, 257.29 GB free
24-Feb-2019 08:03:17 [---] Local time is UTC +0 hours
24-Feb-2019 08:03:17 [---] Config: GUI RPC allowed from any host
24-Feb-2019 08:03:17 [---] Config: GUI RPCs allowed from:
24-Feb-2019 08:03:17 [---] 127.0.0.1
24-Feb-2019 08:03:17 [---] Last benchmark was 17951 days 08:03:17 ago
24-Feb-2019 08:03:17 [---] No general preferences found - using defaults
24-Feb-2019 08:03:17 [---] Preferences:
24-Feb-2019 08:03:17 [---] max memory usage when active: 7979.11 MB
24-Feb-2019 08:03:17 [---] max memory usage when idle: 14362.40 MB
dir_open: Could not open directory 'slots' from '/var/lib/boinc'.
24-Feb-2019 08:03:17 [---] max disk usage: 257.19 GB
24-Feb-2019 08:03:17 [---] don't use GPU while active
24-Feb-2019 08:03:17 [---] suspend work if non-BOINC CPU load exceeds 25%
24-Feb-2019 08:03:17 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
24-Feb-2019 08:03:17 [---] Setting up project and slot directories
24-Feb-2019 08:03:17 [---] Checking active tasks
24-Feb-2019 08:03:17 [---] Setting up GUI RPC socket
24-Feb-2019 08:03:46 [---] GUI RPC bind to port 31416 failed: 98
24-Feb-2019 08:03:47 gstate.init() failed
Error Code: -180
ea234@MsiZ370 ~ $ cd /var/lib/boinc
ea234@MsiZ370 /var/lib/boinc $ pwd
/var/lib/boinc
ea234@MsiZ370 /var/lib/boinc $ ls -al
insgesamt 1712
drwxr-xr-x 5 boinc boinc 4096 Feb 24 08:57 .
drwxr-xr-x 80 root root 4096 Feb 24 08:14 ..
-rw-r--r-- 1 boinc boinc 1690 Feb 24 05:38 account_setiathome.berkeley.edu.xml
-rw-r--r-- 1 boinc boinc 60238 Feb 23 17:53 all_projects_list.xml
lrwxrwxrwx 1 boinc boinc 34 Mär 12 2018 ca-bundle.crt -> /etc/ssl/certs/ca-certificates.crt
lrwxrwxrwx 1 root root 31 Feb 24 08:14 cc_config.xml -> /etc/boinc-client/cc_config.xml
-rw-r--r-- 1 boinc boinc 8482 Feb 24 08:57 client_state_prev.xml
-rw-r--r-- 1 boinc boinc 8487 Feb 24 08:57 client_state.xml
-rw-r--r-- 1 boinc boinc 300 Feb 24 08:57 coproc_info.xml
-rw-r--r-- 1 boinc boinc 142 Apr 4 2018 create_account.xml
-rw-r--r-- 1 boinc boinc 27538 Feb 24 08:57 daily_xfer_history.xml
-rw-r--r-- 1 boinc boinc 7391 Apr 4 2018 get_project_config.xml
lrwxrwxrwx 1 root root 43 Feb 24 08:14 global_prefs_override.xml -> /etc/boinc-client/global_prefs_override.xml
-rw-r--r-- 1 boinc boinc 1024 Mär 16 2018 .global_prefs_override.xml.swp
-rw-r--r-- 1 boinc boinc 1400 Mär 16 2018 global_prefs.xml
lrwxrwxrwx 1 root root 34 Feb 24 08:14 gui_rpc_auth.cfg -> /etc/boinc-client/gui_rpc_auth.cfg
-rw-r--r-- 1 boinc boinc 0 Sep 6 18:32 http_temp_1593
-rw-r--r-- 1 boinc boinc 4355 Apr 8 2018 job_log_asteroidsathome.net_boinc.txt
-rw-r--r-- 1 boinc boinc 1342967 Feb 23 17:01 job_log_setiathome.berkeley.edu.txt
-rw-r--r-- 1 boinc boinc 0 Feb 24 08:57 lockfile
-rw-r--r-- 1 boinc boinc 138 Mär 16 2018 lookup_account.xml
-rw-r--r-- 1 boinc boinc 0 Feb 24 05:34 lookup_website.html
-rw-r--r-- 1 boinc boinc 13283 Feb 23 18:07 master_setiathome.berkeley.edu.xml
drwxrwx--x 2 boinc boinc 4096 Feb 24 08:57 notices
drwxr-xr-x 3 boinc boinc 4096 Feb 24 05:45 projects
lrwxrwxrwx 1 root root 34 Feb 24 08:14 remote_hosts.cfg -> /etc/boinc-client/remote_hosts.cfg
-rw-r--r-- 1 boinc boinc 7923 Feb 24 05:38 sched_reply_setiathome.berkeley.edu.xml
-rw-r--r-- 1 boinc boinc 90139 Feb 24 05:38 sched_request_setiathome.berkeley.edu.xml
drwxrwx--x 2 boinc boinc 4096 Feb 23 18:10 slots
-rw-r--r-- 1 boinc boinc 10272 Feb 24 05:38 statistics_setiathome.berkeley.edu.xml
-rw-r--r-- 1 boinc boinc 0 Mär 12 2018 stderrgpudetect.txt
-rw-r--r-- 1 boinc boinc 136 Feb 24 08:57 stdoutgpudetect.txt
-rw-r--r-- 1 boinc boinc 87205 Feb 24 08:57 time_stats_log
ea234@MsiZ370 /var/lib/boinc $


------------------------------------------------------------------------------------------------
https://boinc.mundayweb.com/wiki/index. ... failed:_98

This error happens when the user has no permission to use the RPC port number,
or forgotten to allow it through the firewall.

Happens in combination with Gstate.init() failed, error code: -180

To set BOINC to use a specific port number, one different from the default 31316, do:
boinc --gui_rpc_port N, example given boinc --gui_rpc_port 37777, this starts the
BOINC client with TCP port 37777.

If you don't want to use any GUI to check on this BOINC from a remote location,
you can also start BOINC without any GUI RPC: boinc --no_gui_rpc

------------------------------------------------------------------------------------------------
https://boinc.berkeley.edu/forum_thread.php?id=6604

Check that there is no other program already using port 31416. Use command netstat -ap as root.

It will be listed in the column Local Address, while any program using that port would be stated
in last column - PID/Program name. Some services are listed using port names rather than numbers.
Mapping between number and name is taken from file /etc/services, so you may want to check
if there's a mapping for port 31416 already.

Now, if that doesn't work out, you can also force BOINC to start with a different port number.
It's only necessary if you want to use BOINC Manager or a third party GUI, though.
And then mostly only when you want to use these from a remote location to check on this system.

So you could start the BOINC binary using:
boinc --gui_rpc_port , e.g. boinc --gui_rpc_port 37777, this starts BOINC with port 37777.

If you don't want to use any GUI to check on this BOINC from a remote location, you can also
start BOINC without any GUI RPC: boinc --no_gui_rpc


netstat -ap | grep 31416
cat /etc/services | grep 31416

------------------------------------------------------------------------------------------------

Post Reply

Return to “Software & Applications”