Boinccmd Operation Failed: Error -1

Message boards : Questions and problems : Boinccmd Operation Failed: Error -1
Message board moderation

To post messages, you must log in.

AuthorMessage
rlockwood.88

Send message
Joined: 1 May 14
Posts: 3
Australia
Message 53862 - Posted: 1 May 2014, 13:03:43 UTC
Last modified: 1 May 2014, 13:04:15 UTC

Hey guys,

Just starting playing around with Headless Linux installs for BOINC on my 4P Servers.

Having an issue where a fresh install of Ubuntu 14.04, I SSH into the machine and install Boinc then;

boinccmd --lookup_account http://www.worldcommunitygrid.org username password
boinccmd --project_attach http://www.worldcommunitygrid.org (account key)
boinccmd --get_state

Here I can see that it's all been setup and working, htop reveals that it's working 100% on all 48 cores.

Now the problems start, any boinccmd --project URL op commands return with "Operation Failed: Error -1"

eg; boinccmd --project http://worldcommunitygrid.org/ nomorework

Returns error -1.

Any ideas guy? Is this something simple I'm missing?
ID: 53862 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 53884 - Posted: 1 May 2014, 19:23:37 UTC - in response to Message 53862.  

Have you set a password for the client? If you have then boinccmd needs to read it from gui_rpc_auth.cfg file in current directory or you need to supply it in command line.
ID: 53884 · Report as offensive
rlockwood.88

Send message
Joined: 1 May 14
Posts: 3
Australia
Message 53901 - Posted: 1 May 2014, 23:56:28 UTC - in response to Message 53884.  

Yea I set a password in the client using nano.

Currently at work and don't have VPN but will try when I get home, should gui_rpc_auth.cfg be empty when using boinccmd?

How do you issue the command with the password in it?
ID: 53901 · Report as offensive
rlockwood.88

Send message
Joined: 1 May 14
Posts: 3
Australia
Message 53903 - Posted: 2 May 2014, 0:14:10 UTC - in response to Message 53901.  

Nevermind guys, upon going over the wiki page for the 10th time I can see;

boinccmd [--host hostname] [--passwd passwd] command


Assuming then command would be;

boinccmd --passwd password --project http://www.worldcommunitygrid.org/ nomorework


Thanks.[/code]
ID: 53903 · Report as offensive
BobCat13

Send message
Joined: 6 Dec 06
Posts: 118
United States
Message 53905 - Posted: 2 May 2014, 1:30:07 UTC - in response to Message 53903.  

Assuming then command would be;

boinccmd --passwd password --project http://www.worldcommunitygrid.org/ nomorework

Thanks.

You don't need the http:// or the trailing /

It should be:
boinccmd --passwd password --project www.worldcommunitygrid.org nomorework
ID: 53905 · Report as offensive

Message boards : Questions and problems : Boinccmd Operation Failed: 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.