can run boinc from terminal, boinc-manager can't connect to localhost

Message boards : Questions and problems : can run boinc from terminal, boinc-manager can't connect to localhost
Message board moderation

To post messages, you must log in.

AuthorMessage
Karl De Ruyck

Send message
Joined: 1 Jun 13
Posts: 2
Belgium
Message 71624 - Posted: 17 Aug 2016, 7:45:50 UTC

Apologies if this is posted elsewhere; my own search didn't turn it up. Please redirect me if you know of a previously submitted solution.

I installed boinc (7.2.42 x86_64-suse-linux-gnu) on opensuse leap 42.1. When I open boinc manager in X, it can't connect to localhost. When I run boinc in a terminal, it chirps along merrily all night long.

Then, if I've started boinc by CLI, I can open boinc manager & connect to 127.0.0.1 with the pass in gui_rpc_auth.cfg. However, if I open boinc manager while boinc is not running, it will not connect. Sometimes it will tell me that the boinc client has unexpectedly quit 3 or 4 times in the past 3 to 5 minutes (the numbers change each time I see this dialog).

Yet, running boinc from CLI, then either starting the gui manager or not, seems to achieve normal, stable operation. Having run boinc on win7 and debian, I never needed to use a CLI pre-launch. What is wrong with my setup in opensuse?
ID: 71624 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 71627 - Posted: 17 Aug 2016, 8:13:33 UTC - in response to Message 71624.  

However, if I open boinc manager while boinc is not running, it will not connect.

That's normal. Under Linux starting BOINC Manager does not auto-start the client. You always have to start the client first, then the manager.

That it connects to a running client is normally because packaged-by-the-OS-BOINC is set up to run as a daemon, so at some point during OS start, and when you then start the manager, it'll connect (if locally allowed through firewalls).

Open a terminal and enter ps aux | grep boinc to print a partial list of running processes. You should see boinc_client --daemon in that list. If you do not, the install went wrong and you'll have to reinstall.
ID: 71627 · Report as offensive
Karl De Ruyck

Send message
Joined: 1 Jun 13
Posts: 2
Belgium
Message 71640 - Posted: 17 Aug 2016, 15:02:38 UTC - in response to Message 71627.  

Thank you for the swift reply. Since this is my first time running opensuse's version boinc package, I learned a bit from your post. I seem to recall (maybe confabulating) different behaviour running the debian packaged version, or the win7 version of boinc.

Running the terminal command you recommended doesn't return boinc_client --daemon, nor is it listed in the process list of System Monitor, though boinc is successfully running tasks on all available threads. I will try uninstalling boinc completely, then re-installing it.

It may seem like I'm trying to fix something that isn't really broken, but I don't think I should have to keep the terminal window open where I started boinc, while it is running, especially if I want to keep the boinc manager gui open alongside. So, I guess I need to repair the daemon installation/implementation/execution...

OK, now back to the tinkering shed!
ID: 71640 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 71641 - Posted: 17 Aug 2016, 15:06:14 UTC - in response to Message 71640.  

In case your distro's BOINC does not do BOINC as a daemon out of the box, you can see how to set that up at http://boinc.berkeley.edu/wiki/Stop_or_start_BOINC_daemon_after_boot
ID: 71641 · Report as offensive

Message boards : Questions and problems : can run boinc from terminal, boinc-manager 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.