Can't connect to localhost

Message boards : Questions and problems : Can't connect to localhost
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile hiigaran
Avatar

Send message
Joined: 11 Sep 13
Posts: 57
Message 53577 - Posted: 11 Apr 2014, 10:42:29 UTC

OS: Lubuntu 32bit

boinccmd commands return "Can't connect to local host", and the GUI BOINC Manager tries connecting for a bit, then gives up and shows Disconnected in the bottom right corner.

Cause? Solution?

No gui_rpc_auth.cfg exists anywhere except in my trash. apt-get removing boinc, client, and manager, then reinstalling BOINC made no difference.
This is a signature
ID: 53577 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 53586 - Posted: 11 Apr 2014, 16:12:40 UTC - in response to Message 53577.  

No gui_rpc_auth.cfg exists anywhere except in my trash.

BOINC creates that file if it doesn't exist. If you don't want to use password then create an empty file and restart client.
ID: 53586 · Report as offensive
Profile hiigaran
Avatar

Send message
Joined: 11 Sep 13
Posts: 57
Message 53587 - Posted: 11 Apr 2014, 17:03:34 UTC - in response to Message 53586.  

Create it where? I came across the file in different places.
This is a signature
ID: 53587 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 53589 - Posted: 11 Apr 2014, 17:45:20 UTC - in response to Message 53587.  

If you are running the Ubuntu package, you should have a link /var/lib/boinc-client/gui_rpc_auth.cfg that points to /etc/boinc-client/gui_rpc_auth.cfg. Edit the one in /etc.

Although the package comes with a gui_rpc_auth.cfg file that contains only a linefeed character so should be the same as no password already.
ID: 53589 · Report as offensive
Profile hiigaran
Avatar

Send message
Joined: 11 Sep 13
Posts: 57
Message 53594 - Posted: 11 Apr 2014, 20:19:39 UTC

Yes, creating a new file there fixed the issue.

Strange. Wonder why it didn't automatically create that file.

Oh well, I'll keep this thread in mind if there are any similar issues in the future. Cheers.
This is a signature
ID: 53594 · Report as offensive

Message boards : Questions and problems : Can't connect to localhost

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.