BOINC client (/var/log/syslog): Couldn't resolve hostname

Message boards : Questions and problems : BOINC client (/var/log/syslog): Couldn't resolve hostname
Message board moderation

To post messages, you must log in.

AuthorMessage
using_namespace

Send message
Joined: 4 Apr 20
Posts: 7
Message 97809 - Posted: 18 Apr 2020, 12:16:57 UTC
Last modified: 18 Apr 2020, 12:17:48 UTC

Hi there,

I'm trying to configure and test the BOINC server and client both on my local laptop (Debian 10).

I was able to:

  • follow the steps in this documentation and configured the server, apache and MariaDB:
    https://boinc.berkeley.edu/trac/wiki/ServerIntro
    https://boinc.berkeley.edu/trac/wiki/MakeProject
  • log in to the project web interface successfully
  • install the boincmgr locally (on the same machine where the server is running).
  • add the project to the boinc manager gui using http://debian.debian/cplan URL.


However, the project files are not being downloaded, and I can see the following in /var/etc/syslog:

Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
Apr 18 14:42:08 debian boinc[1291]: <file_transfers>
Apr 18 14:42:08 debian boinc[1291]: <file_transfer>
Apr 18 14:42:08 debian boinc[1291]:     <project_url>http://debian.debian/cplan/</project_url>
Apr 18 14:42:08 debian boinc[1291]:     <project_n'
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#37] Info:  Expire in 1 ms for 1 (transfer 0x556b2ec9f7e0)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#38] Info:  Expire in 0 ms for 1 (transfer 0x556b2ee1dd20)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#37] Info:  Could not resolve host: debain.debian
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#37] Info:  Expire in 50 ms for 1 (transfer 0x556b2ec9f7e0)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#37] Info:  Closing connection 65
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#38] Info:  Could not resolve host: debain.debian
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#38] Info:  Expire in 50 ms for 1 (transfer 0x556b2ee1dd20)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] [ID#38] Info:  Closing connection 66
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [network_status] got HTTP error - checking ref site
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] HTTP error: Couldn't resolve host name
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [network_status] got HTTP error - checking ref site
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [http] HTTP error: Couldn't resolve host name
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [suspend] net_susp: no; file_xfer_susp: no; reason: unknown reason
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [network_status] need_phys_conn 0; trying https://www.google.com/
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] Project communication failed: attempting access to reference site
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [http] HTTP_OP::init_get(): https://www.google.com/
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [proxy] HTTP_OP::no_proxy_for_url(): https://www.google.com/
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [proxy] returning false
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [http] [ID#0] Info:  Expire in 0 ms for 6 (transfer 0x556b2ec9f7e0)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [file_xfer] http op done; retval -113 (can't resolve hostname)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [file_xfer] http op done; retval -113 (can't resolve hostname)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [---] [poll] CLIENT_STATE::poll_slow_events(): file_xfers
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] [file_xfer] file transfer status -113 (can't resolve hostname)
Apr 18 14:42:08 debian boinc[1291]: 18-Apr-2020 14:42:08 [cplan] Temporarily failed download of example_app_22489_x86_64-pc-linux-gnu: can't resolve hostname


I don't understand why the the hostname can't be resolved, because it is defined in /etc/hosts (127.0.01) and I can ping it successfully:

root@debian:/var/log# ping debian.debian
PING debian.debian (127.0.1.1) 56(84) bytes of data.
64 bytes from debian.debian (127.0.1.1): icmp_seq=1 ttl=64 time=0.094 ms
64 bytes from debian.debian (127.0.1.1): icmp_seq=2 ttl=64 time=0.061 ms
^C
--- debian.debian ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 28ms
rtt min/avg/max/mdev = 0.061/0.077/0.094/0.018 ms
root@debian:/var/log# 
root@debian:/var/log# 
root@debian:/var/log# hostname 
debian
root@debian:/var/log# 
root@debian:/var/log# 
root@debian:/var/log# hostname -f
debian.debian
ID: 97809 · Report as offensive
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 284
United Kingdom
Message 97813 - Posted: 18 Apr 2020, 13:33:56 UTC - in response to Message 97809.  

Have you a firewall that’s blocking Boinc?
ID: 97813 · Report as offensive
using_namespace

Send message
Joined: 4 Apr 20
Posts: 7
Message 97817 - Posted: 18 Apr 2020, 14:36:34 UTC - in response to Message 97813.  

No, there is no firewall, and besides, everything is local on one machine.
ID: 97817 · Report as offensive
using_namespace

Send message
Joined: 4 Apr 20
Posts: 7
Message 97818 - Posted: 18 Apr 2020, 14:51:48 UTC - in response to Message 97817.  

Resolved - the hostname was misspelled in app_versions table in back-end.
ID: 97818 · Report as offensive

Message boards : Questions and problems : BOINC client (/var/log/syslog): Couldn't resolve hostname

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.