Boinc cannot enable RPC access to start client or manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
boinc (Debian) |
New
|
Unknown
|
|||
boinc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Boinc Manager and Boinc Client cannot start in Xubuntu 20.10 due to an RPC issue.
Boinc Manager starts with a connection error - gui_rpc_auth.cfg exists but cannot be read. Check the file permission. - The file is a link and flagged as root/root in the var/lib/boinc and points to the /etc/boinc as root/boinc
a sudo boinc leads to the following messages on the terminal.
10-Sep-2020 10:05:17 [---] Starting BOINC client version 7.16.11 for x86_64-pc-linux-gnu
10-Sep-2020 10:05:17 [---] log flags: file_xfer, sched_ops, task
10-Sep-2020 10:05:17 [---] Libraries: libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh/
10-Sep-2020 10:05:17 [---] Data directory: /etc/boinc-client
10-Sep-2020 10:05:17 [---] CUDA: NVIDIA GPU 0: GeForce RTX 2080 Ti (driver version 450.66, CUDA version 11.0, compute capability 7.5, 4096MB, 3958MB available, 13448 GFLOPS peak)
10-Sep-2020 10:05:17 [---] CUDA: NVIDIA GPU 1: GeForce RTX 2080 Ti (driver version 450.66, CUDA version 11.0, compute capability 7.5, 4096MB, 3958MB available, 14231 GFLOPS peak)
10-Sep-2020 10:05:17 [---] OpenCL: NVIDIA GPU 0: GeForce RTX 2080 Ti (driver version 450.66, device version OpenCL 1.2 CUDA, 11019MB, 3958MB available, 13448 GFLOPS peak)
10-Sep-2020 10:05:17 [---] OpenCL: NVIDIA GPU 1: GeForce RTX 2080 Ti (driver version 450.66, device version OpenCL 1.2 CUDA, 11016MB, 3958MB available, 14231 GFLOPS peak)
10-Sep-2020 10:05:17 [---] Creating new client state file
10-Sep-2020 10:05:18 [---] libc: Ubuntu GLIBC 2.31-0ubuntu11 version 2.31
10-Sep-2020 10:05:18 [---] Host name: ian-X299-FTW-K
10-Sep-2020 10:05:18 [---] Processor: 18 GenuineIntel Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz [Family 6 Model 85 Stepping 7]
10-Sep-2020 10:05:18 [---] 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 pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts avx512_vnni md_clear flush_l1d arch_capabilities
10-Sep-2020 10:05:18 [---] OS: Linux Ubuntu: Ubuntu Groovy Gorilla (development branch) [5.8.0-
10-Sep-2020 10:05:18 [---] Memory: 251.41 GB physical, 2.00 GB virtual
10-Sep-2020 10:05:18 [---] Disk: 781.93 GB total, 599.80 GB free
10-Sep-2020 10:05:18 [---] Local time is UTC -4 hours
10-Sep-2020 10:05:18 [---] VirtualBox version: 6.1.14_
10-Sep-2020 10:05:18 [---] Config: GUI RPCs allowed from:
10-Sep-2020 10:05:18 [---] No general preferences found - using defaults
10-Sep-2020 10:05:18 [---] Reading preferences override file
10-Sep-2020 10:05:18 [---] Preferences:
10-Sep-2020 10:05:18 [---] max memory usage when active: 128722.83 MB
10-Sep-2020 10:05:18 [---] max memory usage when idle: 231701.09 MB
10-Sep-2020 10:05:18 [---] max disk usage: 599.70 GB
10-Sep-2020 10:05:18 [---] don't use GPU while active
10-Sep-2020 10:05:18 [---] suspend work if non-BOINC CPU load exceeds 25%
10-Sep-2020 10:05:18 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
10-Sep-2020 10:05:18 [---] Setting up project and slot directories
dir_open: Could not open directory 'slots' from '/etc/boinc-
10-Sep-2020 10:05:18 [---] Checking active tasks
10-Sep-2020 10:05:18 [---] Setting up GUI RPC socket
10-Sep-2020 10:05:18 [---] gui_rpc_auth.cfg is empty - assigning new GUI RPC password
10-Sep-2020 10:05:47 [---] GUI RPC bind to port 31416 failed: 98
10-Sep-2020 10:05:48 gstate.init() failed
Error Code: -180
Xubuntu 20.10 is current as of 10-09-2020 at 10pm EDT.
Changed in boinc (Debian): | |
status: | Unknown → New |
Some research unearthed a reason and possible solution -
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
Source - https:/ /boinc. mundayweb. com/wiki/ index.php? title=GUI_ RPC_bind_ to_port_ 31416_failed: _98