Can't resolve hostname - bug

Message boards : Questions and problems : Can't resolve hostname - bug
Message board moderation

To post messages, you must log in.

AuthorMessage
mobrien118

Send message
Joined: 23 Nov 09
Posts: 2
United States
Message 28930 - Posted: 23 Nov 2009, 2:49:42 UTC

Hi there,

I THINK I may have discovered a bug in BOINC. It seems to be new, but may not be.

When I create my "remote_hosts.cfg" file on a Windows Vista host, I add my hostname, which is "mobrien24-1". However, I get the message "Can't resolve hostname mobrien24-1 in remote_hosts.cfg" when I try to access it from this machine. However, if I add the machine's IP address, it works just fine. I wonder if it has a problem with the "minus sign"/"dash" in the hostname.

Any other host listed in the file works fine. It would be nice to not have to update this file every time my RPC client's IP changes. (Fortunately, my router tends to assign the same one to this machine, so it is rare that it changes). Also, this issue doesn't seem to occur on Linux BOINC hosts, 32 or 64 bit. They can parse this machine name just fine.

Please let me know if I can be of any more help, or if I'm on the wrong track or forgetting something.

--mobrien118
ID: 28930 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 28933 - Posted: 23 Nov 2009, 6:24:09 UTC

Forwarded to the developers.
ID: 28933 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 28952 - Posted: 23 Nov 2009, 21:34:49 UTC
Last modified: 23 Nov 2009, 21:40:09 UTC

For clarification, is this a remote machine you are trying to reach, or is this the machine you're working from?

Can you ping the machine from a command line window?
Do you know what your network is based on, NetBIOS or DNS?

If it's the machine you're working from, try adding "localhost" (without quotes) instead of its name.
ID: 28952 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 28960 - Posted: 24 Nov 2009, 9:58:08 UTC - in response to Message 28956.  

Sorry I don't know which directory it's in.

Wasn't that /etc/hosts?
ID: 28960 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 28991 - Posted: 25 Nov 2009, 8:56:29 UTC - in response to Message 28985.  

Sorry I don't know which directory it's in.

Wasn't that /etc/hosts?

It's /etc/hosts on Linux but the OP is using Vista.

It's "C:\Windows\System32\drivers\etc" on Vista32 (and that sounds very familiar from other NT-based Windows versions, too)
ID: 28991 · Report as offensive

Message boards : Questions and problems : Can't resolve hostname - bug

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.