boinccmd -- What is Error -1?

Message boards : Questions and problems : boinccmd -- What is Error -1?
Message board moderation

To post messages, you must log in.

AuthorMessage
tigersfan

Send message
Joined: 13 Jun 12
Posts: 8
United States
Message 59001 - Posted: 26 Dec 2014, 16:59:57 UTC

Hi, I'm trying to get BOINC running on an old PC of mine that has a headless version of Fedora 20 on it. I can get into the box fine, but I'm trying to connect it to BOINC stats and I keep getting "Operation failed: Error -1".

The commands I've tried are

boinccmd --join_acct_mgr boincstats.com <username> <password>

AND

boinccmd --join_acct_mgr boincstats.com <weakautnenticator> randomstring

Anyone else run into this?
ID: 59001 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 59003 - Posted: 26 Dec 2014, 17:07:01 UTC - in response to Message 59001.  
Last modified: 26 Dec 2014, 17:08:28 UTC

http://boincstats.com is as far as I know just the BOINCStats page, it isn't the address for the BOINC Account Manager BAM!

Instead use:
boinccmd --join_acct_mgr http://bam.boincstats.com username passwd

ID: 59003 · Report as offensive
tigersfan

Send message
Joined: 13 Jun 12
Posts: 8
United States
Message 59004 - Posted: 26 Dec 2014, 17:15:30 UTC

Thanks, but... no change.

In case it matters, yes, I've tested overall internet connectivity.
ID: 59004 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 59008 - Posted: 26 Dec 2014, 18:12:30 UTC - in response to Message 59004.  

You have a username and password at BAM!?
You are using the boinccmd command from the directory that it's working in? So e.g. if your BOINC client working directory is at /var/lib/boinc, cd into that before issuing the boinccmd command.
ID: 59008 · Report as offensive
tigersfan

Send message
Joined: 13 Jun 12
Posts: 8
United States
Message 59009 - Posted: 26 Dec 2014, 18:15:35 UTC - in response to Message 59008.  

Yes, I have a username and password at BAM. I've had it for years. I can log into it on my windows machine, so I know the pass is good.

And yes, I'm using the boinccmd command from /var/lib/boinc (which is where I have boinc installed).
ID: 59009 · Report as offensive
tigersfan

Send message
Joined: 13 Jun 12
Posts: 8
United States
Message 59017 - Posted: 27 Dec 2014, 3:36:54 UTC

Even trying to attach directly to individual projects gets me this same error... This is somewhat frustrating.
ID: 59017 · Report as offensive
tigersfan

Send message
Joined: 13 Jun 12
Posts: 8
United States
Message 59039 - Posted: 28 Dec 2014, 1:04:06 UTC

Is there more information needed? I'm kind of at a loss as to where to go or what to try at this point?
ID: 59039 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 59049 - Posted: 28 Dec 2014, 17:29:40 UTC - in response to Message 59009.  

And yes, I'm using the boinccmd command from /var/lib/boinc (which is where I have boinc installed).

What do you mean you have BOINC installed in that directory? Are the BOINC binaries in that directory, or are the project files there?

Going by past threads, it's a permission problem. Either a missing password (read from gui_rpc_auth.cfg, or because you're in the wrong working directory. The working directory under Fedora is /var/lib/boinc/, but only the project files should be here, not the BOINC binaries. See http://boinc.berkeley.edu/wiki/Installing_BOINC_on_Fedora for whic h directories should be used by what.
ID: 59049 · Report as offensive
tigersfan

Send message
Joined: 13 Jun 12
Posts: 8
United States
Message 59054 - Posted: 28 Dec 2014, 20:55:13 UTC - in response to Message 59049.  

Maybe there is something wrong with the way BOINC is installed?

When I run: ps aux | grep boinc

I get:

boinc 727 0.0 0.1 6568 2356 ? SNs Dec26 0:00 /bin/bash /usr/bin/boinc --dir /var/lib/boinc
boinc 729 0.0 0.5 48032 11188 ? SNl Dec26 2:15 /usr/bin/boinc_client --allow_multiple_clients --dir /var/lib/boinc

But that wiki page you posted says I should have " boinc_client --daemon " somewhere in that list, but I don't seem to.

I installed BOINC using the command at the top of that page, so I'm not sure what could be wrong, if something indeed is.
ID: 59054 · Report as offensive
tigersfan

Send message
Joined: 13 Jun 12
Posts: 8
United States
Message 59057 - Posted: 28 Dec 2014, 22:59:30 UTC

Ok, thank you for your patience, I have gotten this issue resolved.

While I thought I had set up the permissions properly, I guess I hadn't. I went through and tried the procedure listed on: http://boinc.berkeley.edu/wiki/Installing_BOINC_on_Fedora , and tried again. This time, I did not get any errors.
ID: 59057 · Report as offensive

Message boards : Questions and problems : boinccmd -- What is Error -1?

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.