boinccmd "can't connect to localhost" When installing boinc into non default directory

Message boards : BOINC client : boinccmd "can't connect to localhost" When installing boinc into non default directory
Message board moderation

To post messages, you must log in.

AuthorMessage
Seth

Send message
Joined: 19 Nov 16
Posts: 63
Australia
Message 84877 - Posted: 21 Feb 2018, 11:08:33 UTC
Last modified: 21 Feb 2018, 11:42:13 UTC

Hello,
Im running into the "can't connect to localhost" when running boinccmd.

This is using the Ubuntu apt-get package.

I am trying to force it to be installed into another file system, linked to it's usual destination /var/lib/boinc-client. The filesystem is tmpfs, a ram disk.

My fstab entry is:
tmpfs /var/lib/boinc-client tmpfs defaults,size=2048M 0 0

Checking netstat --listen and lsof I can't see boinc is actually listening on the expected port 31416

Any ideas on why I would be getting "can't connect to localhost"?

Cheers
Seth
ID: 84877 · Report as offensive
Seth

Send message
Joined: 19 Nov 16
Posts: 63
Australia
Message 84878 - Posted: 21 Feb 2018, 12:43:59 UTC - in response to Message 84877.  

Fixed it, like I always do when I post here. This line did the trick:

sudo sysctl -w fs.protected_symlinks=0
ID: 84878 · Report as offensive

Message boards : BOINC client : boinccmd "can't connect to localhost" When installing boinc into non default directory

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.