Page 1 of 1

[SOLVED] boinc on World Community Grid not working in mga 3

PostPosted: May 24th, '13, 00:09
by akbrian
I did a fresh install of Mageia 3 x86_64 and I'm having a problem with boinc and the world community grid. I had it working for a couple years under 1 & 2 using the 64 bit boinc installer script directly from BOINC. This time I installed;

Code: Select all
# rpm -qa | grep -e boinc
boinc-client-doc-7.0.36-2.mga3
boinc-client-7.0.36-2.mga3


Rather than using /var/lib/boinc as my working directory, I have a seperate partition for this, /opt/folding. I formated the partition during the install.

I made the following change in /etc/rc.d/init.d/boinc-client ;
Code: Select all
#BOINCDIR=/var/lib/boinc
BOINCDIR=/opt/folding/Boinc/boinc


which is owned by boinc:boinc . I added my own user name to the boinc group.

I also changed the following to match what was installed in /usr/bin;

Code: Select all
#BOINCCMD=/usr/bin/boinc_cmd
BOINCCMD=/usr/bin/boinccmd


When I try to attach to the World Community Grid from caommand line I get;

Code: Select all
$ boinccmd --join_acct_mgr http://www.worldcommunitygrid.org wcgusername wcgpassword
poll status: unexpected XML tag or syntax
poll status: read() failed
$


Any clues?

Re: boinc on the World Community Grid not working in mga 3

PostPosted: May 27th, '13, 19:56
by doktor5000
Well, is boinc running at all?
You may want to check http://boinc.berkeley.edu/wiki/Installi ... stallation

You want to look for the systemd sections, so please try:
Code: Select all
systemctl start boinc-client.service
systemctl status boinc-client.service
ps aux | grep boinc

Re: boinc on the World Community Grid not working in mga 3

PostPosted: May 27th, '13, 23:42
by akbrian
It was running, no problem there. I "think" I have resolved the issued. I was using the code quoted before;
Code: Select all
    $ boinccmd --join_acct_mgr http://www.worldcommunitygrid.org wcgusername wcgpassword
    poll status: unexpected XML tag or syntax
    poll status: read() failed
    $


Today I tried;
Code: Select all
$ boinccmd --host localhost --passwd <hash from /var/opt/folding/Boinc/boinc/gui_rpc-auth.cfg> --project_attach www.worldcommunitygrid.org <wcg weak account key hash>


That seems to work. I'm not quite sure why, as I set all my preferences on the WCG site itself, and not locally, so I was under the impression that was my account manager. I don't use the local gui tool.