Message boards : Questions and problems : Trouble Getting 'boinc' working.
Message board moderation
Author | Message |
---|---|
Send message Joined: 25 Jun 17 Posts: 4 |
Hi I have the following setup and I am trying to get 'boinc' working. Linux Distro Fedora 24 64 bit Kernel 4.11.6-101.fc24.x86_64 boinc-client.x86_64 7.6.22-7.fc24 boinc-manager.x86_64 7.6.22-7.fc24 When I run 'boincmgr, as root, it opens the manager but I get an error as follows: "Unable to connect to core client" I am new to this kind of program and as such have no idea how to proceed. I know that the 'boinc-client is running as shown here: [root@ACER boinc]# systemctl status boinc-client ● boinc-client.service - Berkeley Open Infrastructure Network Computing Client Loaded: loaded (/usr/lib/systemd/system/boinc-client.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2017-06-24 21:48:20 PDT; 22min ago Docs: man:boinc(1) Process: 28720 ExecStopPost=/bin/rm -f /var/lib/boinc/lockfile (code=exited, status=0/SUCCESS) Process: 28693 ExecStop=/usr/bin/boinccmd --quit (code=exited, status=0/SUCCESS) Process: 28723 ExecStart=/usr/bin/boinc_client --daemon --start_delay 1 (code=exited, status=0/SUCCESS) Main PID: 28724 (boinc_client) Tasks: 2 (limit: 512) CGroup: /system.slice/boinc-client.service └─28724 /usr/bin/boinc_client --daemon --start_delay 1 Jun 24 21:48:20 ACER.localdomain systemd[1]: Starting Berkeley Open Infrastructure Network Computing Client... Jun 24 21:48:20 ACER.localdomain systemd[1]: Started Berkeley Open Infrastructure Network Computing Client. Jun 24 21:48:24 ACER.localdomain boinc_client[28724]: 24-Jun-2017 21:48:24 Initialization completed [2]+ Exit 255 boincmgr [root@ACER boinc]# I have 'restarted' the 'client' but did nothing to improve the situation. I have logged out and back in and nothing changed. I made sure that the 'boinc-client' starts at 'login' by 'enabling' it using 'systemctl enable boinc-client' which took. I also ran the following to put my user 'me' into the 'boinc' group. [root@ACER boinc]# locate gui_rpc_auth.cfg [root@ACER boinc]# /usr/sbin/usermod -G boinc -a me [root@ACER boinc]# chmod g+rw /var/lib/boinc [root@ACER boinc]# chmod g+rw /var/lib/boinc/*.* [root@ACER boinc]# ln -s /var/lib/boinc/gui_rpc_auth.cfg /home/me/gui_rpc_auth.cfg [root@ACER boinc]# systemctl restart boinc-client.service I have rerun boincmgrand I still have the same issue. I do not know how to proceed from here. And 'yes' I have checked the 'firewall' settings and port 31416 is open, as required. Thanks... Robert [/code] |
Send message Joined: 5 Mar 08 Posts: 272 |
The gui_rpc_auth.cfg contains a password. The manager needs to know that password in order to connect to the core client. If the file is empty then there is no password needed. Your options are to either empty it or you can if you have a desktop launcher for it, set the password in the properties. On Debian I added a launcher icon and then change the properties so it has the command "boincmgr --password mypasswrd" where mypasswrd is the same as the one in gui_rpc_auth.cfg I didn't do anything with permissions or group. MarkJ |
Send message Joined: 25 Jun 17 Posts: 4 |
The gui_rpc_auth.cfg contains a password. The manager needs to know that password in order to connect to the core client. If the file is empty then there is no password needed.Yes I have the file 'empty' so no password is needed. I have the following show up when I run locate gui_rpc_auth.cfg [root@ACER boinc]# ls -la /var/lib/boinc/gui_rpc_auth.cfg /home/me/gui_rpc_auth.cfg lrwxrwxrwx. 1 root root 31 Jun 24 21:28 /home/me/gui_rpc_auth.cfg -> /var/lib/boinc/gui_rpc_auth.cfg -rw-rw----. 1 boinc boinc 1 Jun 24 17:00 /var/lib/boinc/gui_rpc_auth.cfg [root@ACER boinc]# The one in my 'home directory' is owned by 'root' with 777 access permissions and it is a link to the /var/lib/boinc/gui_rpc_auth.cfg which is owned by 'boinc' with 'read and write' permissions for user 'boinc' and group 'boinc'. I have, as I said, put user 'me' into group 'boinc'. |
Send message Joined: 25 Jun 17 Posts: 4 |
Update I was able to get it working. I had to go to the /home/me/.BOINC/ directory and when I invoked 'boincmgr' from there I was good to go. Sorry I missed this the first time. How do I mark this solved? |
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.