gethostname failed

obsidian
obsidian
Joined: 8 May 05
Posts: 55
Credit: 2,250,121
RAC: 0
Topic 192370

BOINC gives me the message "gethostname failed". what does it mean?

Desti
Desti
Joined: 20 Aug 05
Posts: 117
Credit: 23,762,214
RAC: 0

gethostname failed

The hostname of your computer might not be configured right.

obsidian
obsidian
Joined: 8 May 05
Posts: 55
Credit: 2,250,121
RAC: 0

how do i fix it?

Message 60199 in response to message 60198

how do i fix it?

Odysseus
Odysseus
Joined: 17 Dec 05
Posts: 372
Credit: 13,620,139
RAC: 8,970

RE: The hostname of your

Message 60200 in response to message 60198

Quote:
The hostname of your computer might not be configured right.


I get that all the time on one of my Macs (a G4/400 running OS 10.3.9 Server), and its name is definitely configured correctly, at least as far as all the other systems on the LAN are concerned. But the error seems harmless enough, and since it’s only the one machine, I can still identify it easily on my hosts page. One of these days I might try editing client_state.xml or whatever file BOINC uses to store that information, but it’s not a high priority of mine …

obsidian
obsidian
Joined: 8 May 05
Posts: 55
Credit: 2,250,121
RAC: 0

RE: BOINC gives me the

Quote:
BOINC gives me the message "gethostname failed". what does it mean?

my mistake, the error message is "gethostbyname failed". how can i fix it? i have a macintosh - OS10.4.8 (darwin 8.8.4). einstein@home calls my computer "localhost".

Jord
Joined: 26 Jan 05
Posts: 2,952
Credit: 5,779,100
RAC: 0

BOINC couldn't resolve your

BOINC couldn't resolve your computer's host name or IP address. Your firewall may be blocking communications on port 80, or you are behind a proxy server.

Solution: Make sure your firewall allows BOINC through on port 80. If using a proxy server, set it up in BOINC. If you are using your computer at work, ask your boss or IT department for permission to use BOINC.

obsidian
obsidian
Joined: 8 May 05
Posts: 55
Credit: 2,250,121
RAC: 0

RE: BOINC couldn't resolve

Message 60203 in response to message 60202

Quote:

BOINC couldn't resolve your computer's host name or IP address. Your firewall may be blocking communications on port 80, or you are behind a proxy server.

Solution: Make sure your firewall allows BOINC through on port 80. If using a proxy server, set it up in BOINC. If you are using your computer at work, ask your boss or IT department for permission to use BOINC.

i have turned off the firewall, but how do i determine if i am behind a proxy server? nothing that i have seen says that i am behind a proxy server.

Jord
Joined: 26 Jan 05
Posts: 2,952
Credit: 5,779,100
RAC: 0

Woh, do not ever turn off the

Message 60204 in response to message 60203

Woh, do not ever turn off the firewall !!
Or if you want to have lots of nasties on your PC, be my guest... but else... don't. Allow BOINC in your firewall's trusted options.

Have you tried the new BOINC 5.8.8 that came out yesterday? It uses a newer version of libCurl to communicate with the projects. It may well fix this problem for you. Just install it over the present version of BOINC. Download clicky.

If 5.8.8 still gives you this problem, please post the first 20 to 30 messages from BOINC startup here.

Odysseus
Odysseus
Joined: 17 Dec 05
Posts: 372
Credit: 13,620,139
RAC: 8,970

RE: BOINC couldn't resolve

Message 60205 in response to message 60202

Quote:
BOINC couldn't resolve your computer's host name or IP address. Your firewall may be blocking communications on port 80, or you are behind a proxy server.


JFTR my ‘nameless’ Mac has absolutely no difficulty connecting with BOINC projects (when they’re up!) and its BOINC Manager has no problems communicating with the daemon or science apps. Wouldn’t a firewall or proxy issue have further effects than just preventing the hostname from being found?

obsidian
obsidian
Joined: 8 May 05
Posts: 55
Credit: 2,250,121
RAC: 0

RE: BOINC couldn't resolve

Message 60206 in response to message 60202

Quote:

BOINC couldn't resolve your computer's host name or IP address. Your firewall may be blocking communications on port 80, or you are behind a proxy server.

Solution: Make sure your firewall allows BOINC through on port 80. If using a proxy server, set it up in BOINC. If you are using your computer at work, ask your boss or IT department for permission to use BOINC.

enistein@home says that my computer has an ip address and an external ip address. is this the problem?

obsidian
obsidian
Joined: 8 May 05
Posts: 55
Credit: 2,250,121
RAC: 0

RE: BOINC couldn't resolve

Message 60207 in response to message 60202

Quote:

BOINC couldn't resolve your computer's host name or IP address. Your firewall may be blocking communications on port 80, or you are behind a proxy server.

Solution: Make sure your firewall allows BOINC through on port 80. If using a proxy server, set it up in BOINC. If you are using your computer at work, ask your boss or IT department for permission to use BOINC.

enistein@home says that my computer has an ip address and an external ip address. is this the problem?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.