host name fixed?

Message boards : BOINC Manager : host name fixed?
Message board moderation

To post messages, you must log in.

AuthorMessage
dagg

Send message
Joined: 15 May 07
Posts: 54
Message 11753 - Posted: 22 Jul 2007, 17:42:29 UTC

is the hostname same for all clients? e.g. localhost?
if not, is there an way to retrive it?

thanks in advance
ID: 11753 · Report as offensive
Didactylos

Send message
Joined: 16 Jun 07
Posts: 15
Message 11754 - Posted: 22 Jul 2007, 22:31:37 UTC - in response to Message 11753.  

localhost is an alias for a hostname. It means *this* computer.

The hostname can be specified in a number of ways. On Linux, type hostname to retrieve the current name.
ID: 11754 · Report as offensive
dagg

Send message
Joined: 15 May 07
Posts: 54
Message 11760 - Posted: 23 Jul 2007, 8:01:17 UTC

ok, but or example, my hostname is 5000d but boinc in using localhost, using 5000d hasnt been able to connect
ID: 11760 · Report as offensive
dagg

Send message
Joined: 15 May 07
Posts: 54
Message 11764 - Posted: 23 Jul 2007, 13:24:21 UTC

got linux, boinc 5.9.5, I'm asking cause of the command line boinc option
ID: 11764 · Report as offensive
AlphaLaser

Send message
Joined: 14 Sep 06
Posts: 17
United States
Message 11926 - Posted: 2 Aug 2007, 11:18:49 UTC
Last modified: 2 Aug 2007, 11:19:06 UTC

Okay, I'm having the same problem. On project sites, the name used for this Linux computer is 'localhost.localdomain' however typing in hostname in the shell provides a different and correct hostname. Is there some other place BOINC is expecting the name but didn't find? I'm a bit of a linux neophyte so I didn't bother until seeing this thread.
ID: 11926 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 11928 - Posted: 2 Aug 2007, 15:02:53 UTC - in response to Message 11926.  
Last modified: 2 Aug 2007, 15:07:23 UTC

Is there some other place BOINC is expecting the name but didn't find?

It looks like it's stuck in the client_state.xml file. The <domain_name> entry is localhost.localdomain

I'll test if changing it in my CS file will break things. ;-)
That was a quick test. I changed the domain name to my computer name as root, saved the file, updated on one project and the entry was changed again to localhost.localdomain in client_state.xml ... I'll go ask a developer what is up with that. ;)
ID: 11928 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 11930 - Posted: 2 Aug 2007, 16:58:38 UTC

Everyone, see Trac ticket 361
ID: 11930 · Report as offensive
AlphaLaser

Send message
Joined: 14 Sep 06
Posts: 17
United States
Message 11931 - Posted: 2 Aug 2007, 18:29:07 UTC
Last modified: 2 Aug 2007, 19:01:16 UTC

Okay, I guess that means it wasn't a bad configuration on my end. Thanks for posting the ticket.

EDIT: I looked this up and found this thread posted about the same issue over at SETI.

Additional info about localhost.localdomain behavior is in this email in the debian mailing list.

Lastly, the relevant code appears to be in client/hostinfo_network.C.

I'm not sure I understand though, the hostname command in the shell apparently goes through the same function but returns differently. I used it without any arguments.

Another concern - if the hostname gets changed, could it lead to a split host on the projects that cannot be merged?
ID: 11931 · Report as offensive

Message boards : BOINC Manager : host name fixed?

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.