BOINC BOINC 7.2.42 can't connect to local host

Message boards : Questions and problems : BOINC BOINC 7.2.42 can't connect to local host
Message board moderation

To post messages, you must log in.

AuthorMessage
elliptical

Send message
Joined: 3 Sep 18
Posts: 2
Canada
Message 87895 - Posted: 3 Sep 2018, 9:59:10 UTC

Having a clean installation of Ubuntu 14.04 I use a simple way to get boinc to work:

sudo apt-get update
sudo apt-get install boinc-client

That's all, Initially it should work, and works like a charm on my vps. But when I'm trying to setup boinc on another vps, I'm having the same error 'can't connect to local host' when trying to attach a new project\get anything\check status etc.

root@vps2:~# boinccmd --project_attach URL auth
can't connect to local host

The only concern I have is that the port 31416 is'n working. For example, I have a clean installation of ubuntu 14.04 on another vps hosting and have this result with netcat command:
root@vps1:~# nc -v localhost 31416
localhost.localdomain [127.0.0.1] 31416 (?) open

Checking the same port with CLEAN ubuntu with the same netcat command:
root@vps2:~# nc -v localhost 31416
localhost.localdomain [127.0.0.1] 31416 (?) : Connection refused

It's really confusing, because I have no luck with vps provider support, they keep saying that there's no firewall or port restriction from their side and that it must be a problem with my local settings.
I'd greatly appreciate any help.
ID: 87895 · Report as offensive
elliptical

Send message
Joined: 3 Sep 18
Posts: 2
Canada
Message 87898 - Posted: 3 Sep 2018, 13:04:14 UTC
Last modified: 3 Sep 2018, 13:10:29 UTC

I figured out that it can be a problem with boinc-client itself:

root@vps2:/# service boinc-client start
* Starting BOINC core client: boinc [ OK ]
* Setting up scheduling for BOINC core client and children: [ OK ]
root@vps2:/# nc -v localhost 31416
localhost.localdomain [127.0.0.1] 31416 (?) open

And after a couple of seconds:

root@vps2:/# nc -v localhost 31416
localhost.localdomain [127.0.0.1] 31416 (?) : Connection refused
root@vps2:/# service boinc-client status
* Status of BOINC core client: stopped
ID: 87898 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5078
United Kingdom
Message 87899 - Posted: 3 Sep 2018, 13:13:14 UTC - in response to Message 87898.  

Yes, that would explain the symptoms. You cannot connect to local host - the client - if the client isn't running.

The next job would be to locate any crash dump file, (boinc itself might have written error messages into stdoutdae.txt or stderrdae.txt), and try to interpret them.
ID: 87899 · Report as offensive

Message boards : Questions and problems : BOINC BOINC 7.2.42 can't connect to local host

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.