boinc won't attach to the boinc-client

Message boards : Questions and problems : boinc won't attach to the boinc-client
Message board moderation

To post messages, you must log in.

AuthorMessage
shirish

Send message
Joined: 17 Jun 07
Posts: 10
Message 21250 - Posted: 15 Nov 2008, 3:11:41 UTC
Last modified: 15 Nov 2008, 3:55:35 UTC

HI all,
I read this whole thread BOINC boards and still ain't able to connect. This happened after an update (was working good with 6.2.12 without doing any of this configuration)

I followed all the instructions given therein as well as checked the BOINC page. I am on ubuntu

1. Open /etc/group in a text editor.
2. Look for the line starting with boinc:x:<group ID number>:.
3. Edit the line to look like boinc:x:<group ID number>:username
4. Save the file and close the editor.
5. In a terminal, enter sudo chmod g+rw /var/lib/boinc-client
6. Enter sudo chmod g+rw /var/lib/boinc-client/*.*
7. Enter sudo ln -s /var/lib/boinc-client/gui_rpc_auth.cfg /home/username/gui_rpc_auth.cfg
8. Enter sudo chown boinc:boinc /home/username/gui_rpc_auth.cfg 


The only problem is when I do 7. I get this

ln: creating symbolic link `/home/shirish/gui_rpc_auth.cfg': File exists.

I renamed the file to gui_rpc_auth.cfg to gui_rpc_auth.cfg.orig just for safe-keeping purposes.

Also the /var/lib/boinc-client/gui_rpc_auth.cfg doesn't have anything, its blank. Is it supposed to be blank?

I also checked it through System > Administration > Users and Groups

clicking on Manage Groups and looking at boinc where the ownership is to the user i.e. me.

Any help on the same would be nice.
--
Shirish Agarwal
This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
ID: 21250 · Report as offensive
shirish

Send message
Joined: 17 Jun 07
Posts: 10
Message 21251 - Posted: 15 Nov 2008, 4:00:02 UTC - in response to Message 21250.  
Last modified: 15 Nov 2008, 4:06:26 UTC

Found something more

~$ ll /var/lib/boinc-client/gui_rpc_auth.cfg
lrwxrwxrwx 1 root root 34 2008-11-12 07:24 /var/lib/boinc-client/gui_rpc_auth.cfg -> /etc/boinc-client/gui_rpc_auth.cfg

Its apparently sym-linked to /etc/boinc-client/gui_rpc_auth.cfg

Also /etc/boinc-client/gui_rpc_auth.cfg is blank.

If needed can add the alphanumeric string from /home/shirish/gui_rpc_auth.cfg
--
Shirish Agarwal
This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
ID: 21251 · Report as offensive
shirish

Send message
Joined: 17 Jun 07
Posts: 10
Message 21254 - Posted: 15 Nov 2008, 5:00:00 UTC - in response to Message 21253.  
Last modified: 15 Nov 2008, 5:42:54 UTC

OIC now. The real qui_rpc_auth.cfg is created in /etc/boinc-client/, not /var/lib/boinc-client/. Doh! My mistake.

Ok, here is what you need to do.

1. edit /etc/boinc-client/gui_rpc_auth.cfg and put your password there
2. /etc/boinc-client/boinc needs to be able to read the password you put in /etc/boinc-client/gui_rpc_auth.cfg so make sure the permissions on /etc/boinc-client/gui_rpc_auth.cfg permit the read
3. delete /home/shirish/gui_rpc_auth.cfg if it exists (i think you already renamed it)
4. delete /var/lib/boinc-client/gui_rpc_auth.cfg if it exists
5. do sudo ln -s /etc/boinc-client/gui_rpc_auth.cfg /home/shirish/gui_rpc_auth.cfg
6. do sudo ln -s /etc/boinc-client/gui_rpc_auth.cfg /var/lib/boinc-client/gui_rpc_auth.cfg
7. do chown boinc:boinc /home/shirish/gui_rpc_auth.cfg
8. do chown boinc:boinc /var/lib/boinc-client/gui_rpc_auth.cfg


I hope you edit the documentation to show the same (I think its the debianized version of things).

Actually I didn't have to do anything. After much looking around just had to one thing.

 /etc/init.d/boinc-client status
 * Status of BOINC core client: stopped.


This was my clue. Did
~$ /etc/init.d/boinc-client start
 * Status of BOINC core client: running.


Now I'm able to crunch, dunno why this happened.

Problem solved.
--
Shirish Agarwal
This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
ID: 21254 · Report as offensive

Message boards : Questions and problems : boinc won't attach to the boinc-client

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.