Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up BOINC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Thu Jun 14, 2012 11:34 pm    Post subject: Setting up BOINC Reply with quote

So, I followed the official how to.

But when I get to starting the daemon and attaching a project, I get:

Code:
# /etc/init.d/boinc start
 * Starting boinc ...    [ ok ]
# /etc/init.d/boinc attach
 * If you cant find your account key just try to obtain it by using:
 *     boinccmd --passwd PASSWORD_FROM_GUI_RPC_AUTH --lookup_account URL EMAIL PASSWORD
    Enter the Project URL: <plop>
    Enter your Account Key: <plop>
 * boinc: Attaching to project ...
Error -155: authentication error                                                                                                                                                          [ !! ]
15-Jun-2012 01:25:08 [---] Suspending computation - CPU is busy
15-Jun-2012 01:25:49 [---] Resuming computation
15-Jun-2012 01:26:29 [---] Suspending computation - CPU is busy
15-Jun-2012 01:26:39 [---] Resuming computation
15-Jun-2012 01:26:59 [---] Suspending computation - CPU is busy
15-Jun-2012 01:27:10 [---] Resuming computation
15-Jun-2012 01:27:30 [---] Suspending computation - CPU is busy
15-Jun-2012 01:27:40 [---] Resuming computation
15-Jun-2012 01:30:21 [---] Suspending computation - CPU is busy
15-Jun-2012 01:30:41 [---] Resuming computation


As the how to suggested, I removed the contents of /var/lib/boinc/gui_rpc_auth.cfg

Could that be the issue?
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Fri Jun 15, 2012 6:50 am    Post subject: Re: Setting up BOINC Reply with quote

Q-collective wrote:
So, I followed the official how to.

But when I get to starting the daemon and attaching a project, I get:

Code:
# /etc/init.d/boinc start
 * Starting boinc ...    [ ok ]
# /etc/init.d/boinc attach
 * If you cant find your account key just try to obtain it by using:
 *     boinccmd --passwd PASSWORD_FROM_GUI_RPC_AUTH --lookup_account URL EMAIL PASSWORD
    Enter the Project URL: <plop>
    Enter your Account Key: <plop>
 * boinc: Attaching to project ...
Error -155: authentication error                                                                                                                                                          [ !! ]
15-Jun-2012 01:25:08 [---] Suspending computation - CPU is busy
15-Jun-2012 01:25:49 [---] Resuming computation
15-Jun-2012 01:26:29 [---] Suspending computation - CPU is busy
15-Jun-2012 01:26:39 [---] Resuming computation
15-Jun-2012 01:26:59 [---] Suspending computation - CPU is busy
15-Jun-2012 01:27:10 [---] Resuming computation
15-Jun-2012 01:27:30 [---] Suspending computation - CPU is busy
15-Jun-2012 01:27:40 [---] Resuming computation
15-Jun-2012 01:30:21 [---] Suspending computation - CPU is busy
15-Jun-2012 01:30:41 [---] Resuming computation


As the how to suggested, I removed the contents of /var/lib/boinc/gui_rpc_auth.cfg

Could that be the issue?

why not use the gui?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Fri Jun 15, 2012 8:21 am    Post subject: Re: Setting up BOINC Reply with quote

DaggyStyle wrote:
why not use the gui?

When I start boincmgr I get:
Code:
Error: Cannot get the official hostname (error 0: Success)
Error: Cannot get the official hostname (error 0: Success)
Error: Cannot get the official hostname (error 0: Success)
Error: Cannot get the official hostname (error 0: Success)
Error: Cannot get the official hostname (error 0: Success)

Etc etc.

I don't have a firewall configured.

Edit:
Amended so it has the correct error.


Last edited by Q-collective on Sat Jun 16, 2012 9:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Fri Jun 15, 2012 8:49 am    Post subject: Reply with quote

unmerge it, clean all files under /var and emerge it again.

then start the gui, don't delete /var/lib/boinc/gui_rpc_auth.cfg

first lets get the gui up and running.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Fri Jun 15, 2012 4:37 pm    Post subject: Reply with quote

DaggyStyle wrote:
unmerge it, clean all files under /var and emerge it again.

then start the gui, don't delete /var/lib/boinc/gui_rpc_auth.cfg

first lets get the gui up and running.

Ok, I unmerged boinc, ran --depclean, removed /var/lib/boinc and remerged boinc.

When I run the boincmgr as user I get Error: Cannot get the official hostname (error 0: Success) messages again. Both when running the daemon and when not. Visually I get a red "Error" after a few seconds.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Fri Jun 15, 2012 6:06 pm    Post subject: Reply with quote

Q-collective wrote:
DaggyStyle wrote:
unmerge it, clean all files under /var and emerge it again.

then start the gui, don't delete /var/lib/boinc/gui_rpc_auth.cfg

first lets get the gui up and running.

Ok, I unmerged boinc, ran --depclean, removed /var/lib/boinc and remerged boinc.

When I run the boincmgr as user I get Error: Cannot get the official hostname (error 0: Success) messages again. Both when running the daemon and when not. Visually I get a red "Error" after a few seconds.

in order for this to work, the daemon must be running.

what is the output of hostname cli cmd?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Fri Jun 15, 2012 6:31 pm    Post subject: Reply with quote

DaggyStyle wrote:
in order for this to work, the daemon must be running.

Yeah, thought so. But just trying the variables.

Quote:
what is the output of hostname cli cmd?

The machine is called "homesweethome" actually.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Sat Jun 16, 2012 5:48 am    Post subject: Reply with quote

Q-collective wrote:
DaggyStyle wrote:
in order for this to work, the daemon must be running.

Yeah, thought so. But just trying the variables.

Quote:
what is the output of hostname cli cmd?

The machine is called "homesweethome" actually.


but does typing hostname in cli returns that name?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Sat Jun 16, 2012 10:08 am    Post subject: Reply with quote

DaggyStyle wrote:
Q-collective wrote:
DaggyStyle wrote:
in order for this to work, the daemon must be running.

Yeah, thought so. But just trying the variables.

Quote:
what is the output of hostname cli cmd?

The machine is called "homesweethome" actually.


but does typing hostname in cli returns that name?

Yes, it does. Otherwise I wouldn't say so :P
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Sat Jun 16, 2012 10:46 am    Post subject: Reply with quote

which version of boinc are you using?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Sat Jun 16, 2012 11:44 am    Post subject: Reply with quote

DaggyStyle wrote:
which version of boinc are you using?

6.12.42, the only version available in the tree. 7.0.25 is available upstream though, would that make a difference?

Edit:
Nah, I installed the upstream version in my home dir, but get the same error when running run_manager.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Sat Jun 16, 2012 4:37 pm    Post subject: Reply with quote

Q-collective wrote:
DaggyStyle wrote:
which version of boinc are you using?

6.12.42, the only version available in the tree. 7.0.25 is available upstream though, would that make a difference?

Edit:
Nah, I installed the upstream version in my home dir, but get the same error when running run_manager.


something is messed up in your system, I'd suggest you'll post a question in the boinc forum
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Sat Jun 16, 2012 9:10 pm    Post subject: Reply with quote

DaggyStyle wrote:
Q-collective wrote:
DaggyStyle wrote:
which version of boinc are you using?

6.12.42, the only version available in the tree. 7.0.25 is available upstream though, would that make a difference?

Edit:
Nah, I installed the upstream version in my home dir, but get the same error when running run_manager.


something is messed up in your system, I'd suggest you'll post a question in the boinc forum

Fair enough, started one.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Sun Jun 17, 2012 3:02 am    Post subject: Reply with quote

Q-collective wrote:
DaggyStyle wrote:
which version of boinc are you using?

6.12.42, the only version available in the tree. 7.0.25 is available upstream though, would that make a difference?

Edit:
Nah, I installed the upstream version in my home dir, but get the same error when running run_manager.


When you say you installed the 7.0.25 upstream version - I presume you used the self extracting script from the boinc website - if so delete that and all the directories and files it created. You also reported following a wiki entry undo anything you did in the optional setup hints. When you change the contents of /var/lib/boinc/gui_rpc_auth.cfg change it to something thats easy to remember don't just delete the contents and leave it blank. You should now be back to your portage installed version of 6.12.42. In a terminal enter
Code:
sudo boinc_client --dir /var/lib/boinc/
the password it asks for is your sudo password then post the 20 or 30 lines of output here
_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Sun Jun 17, 2012 2:19 pm    Post subject: Reply with quote

Trog Dog wrote:
Q-collective wrote:
DaggyStyle wrote:
which version of boinc are you using?

6.12.42, the only version available in the tree. 7.0.25 is available upstream though, would that make a difference?

Edit:
Nah, I installed the upstream version in my home dir, but get the same error when running run_manager.


When you say you installed the 7.0.25 upstream version - I presume you used the self extracting script from the boinc website - if so delete that and all the directories and files it created.

I can, but it only installed things in my home folder, not systemwide.

Quote:
You also reported following a wiki entry undo anything you did in the optional setup hints. When you change the contents of /var/lib/boinc/gui_rpc_auth.cfg change it to something thats easy to remember don't just delete the contents and leave it blank.

Yeah, it was already reverted to its original state.

Quote:
You should now be back to your portage installed version of 6.12.42. In a terminal enter
Code:
sudo boinc_client --dir /var/lib/boinc/
the password it asks for is your sudo password then post the 20 or 30 lines of output here


Ok, here goes:

Code:
# boinc_client --dir /var/lib/boinc/
17-Jun-2012 16:14:23 [---] Starting BOINC client version 6.12.42 for x86_64-pc-linux-gnu
17-Jun-2012 16:14:23 [---] log flags: file_xfer, sched_ops, task
17-Jun-2012 16:14:23 [---] Libraries: libcurl/7.24.0 OpenSSL/1.0.0j zlib/1.2.5.1
17-Jun-2012 16:14:23 [---] Data directory: /var/lib/boinc
getaddrinfo: Success
17-Jun-2012 16:14:23 [---] Processor: 2 GenuineIntel Pentium(R) Dual-Core CPU       T4300  @ 2.10GHz [Family 6 Model 23 Stepping 10]
17-Jun-2012 16:14:23 [---] Processor: 1.00 MB cache
17-Jun-2012 16:14:23 [---] 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 lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pd
17-Jun-2012 16:14:23 [---] OS: Linux: 3.2.12-gentoo
17-Jun-2012 16:14:23 [---] Memory: 3.84 GB physical, 0 bytes virtual
17-Jun-2012 16:14:23 [---] Disk: 18.57 GB total, 9.87 GB free
17-Jun-2012 16:14:23 [---] Local time is UTC +2 hours
17-Jun-2012 16:14:23 [---] ATI GPU 0: ATI Radeon HD 4350/4550 (R710) (CAL version 1.4.1720, 512MB, 109 GFLOPS peak)
17-Jun-2012 16:14:23 [---] No general preferences found - using BOINC defaults
17-Jun-2012 16:14:23 [---] Preferences:
17-Jun-2012 16:14:23 [---]    max memory usage when active: 1963.61MB
17-Jun-2012 16:14:23 [---]    max memory usage when idle: 3534.49MB
17-Jun-2012 16:14:23 [---]    max disk usage: 9.28GB
17-Jun-2012 16:14:23 [---]    don't use GPU while active
17-Jun-2012 16:14:23 [---]    suspend work if non-BOINC CPU load exceeds 25 %
17-Jun-2012 16:14:23 [---]    (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
17-Jun-2012 16:14:23 [---] GUI RPC bind to port 31416 failed: 98
gstate.init() failed
Error Code: -180
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Sun Jun 17, 2012 9:57 pm    Post subject: Reply with quote

Did you stop the service before running that command?

Code:
sudo /etc/init.d/boinc stop

_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Sun Jun 17, 2012 10:39 pm    Post subject: Reply with quote

Trog Dog wrote:
Did you stop the service before running that command?

Code:
sudo /etc/init.d/boinc stop

I did not. Here is the result without the daemon running:

Code:
# boinc_client --dir /var/lib/boinc/
18-Jun-2012 00:38:25 [---] Starting BOINC client version 6.12.42 for x86_64-pc-linux-gnu
18-Jun-2012 00:38:25 [---] log flags: file_xfer, sched_ops, task
18-Jun-2012 00:38:25 [---] Libraries: libcurl/7.24.0 OpenSSL/1.0.0j zlib/1.2.5.1
18-Jun-2012 00:38:25 [---] Data directory: /var/lib/boinc
getaddrinfo: Success
18-Jun-2012 00:38:25 [---] Processor: 2 GenuineIntel Pentium(R) Dual-Core CPU       T4300  @ 2.10GHz [Family 6 Model 23 Stepping 10]
18-Jun-2012 00:38:25 [---] Processor: 1.00 MB cache
18-Jun-2012 00:38:25 [---] 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 lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pd
18-Jun-2012 00:38:25 [---] OS: Linux: 3.2.12-gentoo
18-Jun-2012 00:38:25 [---] Memory: 3.84 GB physical, 0 bytes virtual
18-Jun-2012 00:38:25 [---] Disk: 18.57 GB total, 9.89 GB free
18-Jun-2012 00:38:25 [---] Local time is UTC +2 hours
18-Jun-2012 00:38:25 [---] ATI GPU 0: ATI Radeon HD 4350/4550 (R710) (CAL version 1.4.1720, 512MB, 109 GFLOPS peak)
18-Jun-2012 00:38:25 [---] No general preferences found - using BOINC defaults
18-Jun-2012 00:38:25 [---] Preferences:
18-Jun-2012 00:38:25 [---]    max memory usage when active: 1963.61MB
18-Jun-2012 00:38:25 [---]    max memory usage when idle: 3534.49MB
18-Jun-2012 00:38:25 [---]    max disk usage: 9.28GB
18-Jun-2012 00:38:25 [---]    don't use GPU while active
18-Jun-2012 00:38:25 [---]    suspend work if non-BOINC CPU load exceeds 25 %
18-Jun-2012 00:38:25 [---]    (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
18-Jun-2012 00:38:25 [---] GUI RPC bind to port 31416 failed: 98
gstate.init() failed
Error Code: -180

Seems identical.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Mon Jun 18, 2012 10:16 am    Post subject: Reply with quote

You're not running selinux or something that can interfere with privileges are you?

In the meantime search on the error message

Code:
18-Jun-2012 00:38:25 [---] GUI RPC bind to port 31416 failed: 98
gstate.init() failed
Error Code: -180


I'll do the same - but I've got some real life stuff to attend to so I can't promise you a reply immediately
_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2076

PostPosted: Mon Jun 18, 2012 10:40 am    Post subject: Reply with quote

Trog Dog wrote:
You're not running selinux or something that can interfere with privileges are you?

Nope.

Quote:
In the meantime search on the error message

Code:
18-Jun-2012 00:38:25 [---] GUI RPC bind to port 31416 failed: 98
gstate.init() failed
Error Code: -180


I'll do the same - but I've got some real life stuff to attend to so I can't promise you a reply immediately

Ok, will do. Thanks for the effort on your part.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum