boinc-client on Ubuntu 16.04: Operation failed: read() failed

Message boards : Questions and problems : boinc-client on Ubuntu 16.04: Operation failed: read() failed
Message board moderation

To post messages, you must log in.

AuthorMessage
fryfat

Send message
Joined: 3 Feb 18
Posts: 4
United States
Message 84638 - Posted: 3 Feb 2018, 0:58:28 UTC
Last modified: 3 Feb 2018, 1:27:32 UTC

I'm trying to run BOINC (v7.6.31+dfsg-6ubuntu1) on my VPN digitalocean droplet running Ubuntu 16.04. The droplet is also my VPN server, and was created & configured automatically with the Streisand VPN script. (git is here: github.com/StreisandEffect/streisand )

I log in,

sudo apt install boinc-client
reboot

boinccmd --get_state
Operation failed: read() failed

Every command results in "Operation failed: read() failed"

In addition to defaults, I've turned on the following log flags:
<task_debug/>
<gui_rpc_debug/>
<slot_debug/>

/var/log/boincerr.log
dir_open: Could not open directory 'slots' from '/var/lib/boinc-client'.


Creating /var/lib/boinc-client/slots makes that error message go away, but doesn't fix "Operation failed: read() failed"

/var/log/boinc.log
03-Feb-2018 00:46:34 [---] Starting BOINC client version 7.6.31 for x86_64-pc-linux-gnu
03-Feb-2018 00:46:34 [---] log flags: file_xfer, sched_ops, task
03-Feb-2018 00:46:34 [---] Libraries: libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
03-Feb-2018 00:46:34 [---] Data directory: /var/lib/boinc-client
03-Feb-2018 00:46:34 [---] No usable GPUs found
03-Feb-2018 00:46:34 [---] Host name: mylittle-server
03-Feb-2018 00:46:34 [---] Processor: 1 GenuineIntel Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz [Family 6 Model 62 Stepping 4]
03-Feb-2018 00:46:34 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm kaiser vnmi ept fsgsbase tsc_adjust smep erms xsaveopt arat
03-Feb-2018 00:46:34 [---] OS: Linux: 4.4.0-112-generic
03-Feb-2018 00:46:34 [---] Memory: 488.30 MB physical, 0 bytes virtual
03-Feb-2018 00:46:34 [---] Disk: 19.32 GB total, 16.93 GB free
03-Feb-2018 00:46:34 [---] Local time is UTC +0 hours
03-Feb-2018 00:46:34 [---] Config: GUI RPCs allowed from:
03-Feb-2018 00:46:34 [---] No general preferences found - using defaults
03-Feb-2018 00:46:34 [---] Reading preferences override file
03-Feb-2018 00:46:34 [---] Preferences:
03-Feb-2018 00:46:34 [---]    max memory usage when active: 244.15MB
03-Feb-2018 00:46:34 [---]    max memory usage when idle: 439.47MB
03-Feb-2018 00:46:34 [---]    max disk usage: 16.83GB
03-Feb-2018 00:46:34 [---]    don't use GPU while active
03-Feb-2018 00:46:34 [---]    suspend work if non-BOINC CPU load exceeds 25%
03-Feb-2018 00:46:34 [---]    (to change preferences, visit a project web site or select Preferences in the Manager)
03-Feb-2018 00:46:34 [---] gui_rpc_auth.cfg is empty - no GUI RPC password protection
03-Feb-2018 00:46:34 [---] This computer is not attached to any projects
03-Feb-2018 00:46:34 [---] Visit http://boinc.berkeley.edu for instructions
03-Feb-2018 00:46:34 Initialization completed
03-Feb-2018 00:47:49 [---] GUI RPC request from non-allowed address 2.0.135.102


adding 2.0.177.102 to gui_rpc_auth.cfg makes that error message go away, but doesn't fix "Operation failed: read() failed"'

any ideas? I assume the VPN script has done something that breaks BOINC, but I don't know what. I really want to run BOINC on my VPN :(
ID: 84638 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 84692 - Posted: 6 Feb 2018, 18:17:29 UTC - in response to Message 84638.  

According to Streisand readme it installs UFW. Maybe UFW blocks BOINC's communications too.
ID: 84692 · Report as offensive

Message boards : Questions and problems : boinc-client on Ubuntu 16.04: Operation failed: read() failed

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.