- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname not resolving
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2006 10:29 PM
тАО09-17-2006 10:29 PM
Hostname not resolving
Thank you for any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2006 10:38 PM
тАО09-17-2006 10:38 PM
Re: Hostname not resolving
If you don't have dns server perhaps you should specify hostname in router (linksys).
Do the other hosts in network use same router ?
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2006 11:25 PM
тАО09-17-2006 11:25 PM
Re: Hostname not resolving
For sure is a resolution problem?
Are you using a DNS server?
Do you have your host name defined in your /etc/hosts file?
Make sure that other hosts knows your ip-hostname resolution on this new server, the simplest way to do it to to set it up in the hosts file.
Other files that you want to check up are your resolv.conf and your nsswitch.conf file.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2006 11:56 PM
тАО09-17-2006 11:56 PM
Re: Hostname not resolving
Secondly,
Ivan,
I am not using a dns server. Other machines are using the same router and not having any issues with them. Please note that this is the only unix box on the network. All other are Windows. I reserved an IP on the dhcp (under the unix box's hostname), but that shows up as "inactive" and the unix box still has a different IP address. BTW, the dhcp is running on a Windows 2003 Server.
Jaime,
Are you using a DNS server?
No.
Do you have your host name defined in your /etc/hosts file?
Yes.
Other files that you want to check up are your resolv.conf and your nsswitch.conf file.
resolv.conf looks good with the following entries:
domain (name)
nameserver (IP address)
I have not been able to find the nsswitch.conf file anywhere. There is no file on the box with that name.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 12:25 AM
тАО09-18-2006 12:25 AM
Re: Hostname not resolving
there are a bunch of configurations for you to choose from in /etc.
ll /etc/nsswitch*
pick the appropriate one for your location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 01:25 AM
тАО09-18-2006 01:25 AM
Re: Hostname not resolving
##/etc/nsswitch.conf file
hosts: files [NOTFOUND=continue] dns
services: files
networks: files
protocols: files
rpc: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 01:33 AM
тАО09-18-2006 01:33 AM
Re: Hostname not resolving
take a look at reservation in DHCP pool in 2003 box. Syntax is simmilar to :
IP - MAC addr.
The name part (DNS) is in DNS service , not in DHCP.
Try some things:
1. try to resolve UX box name on DHCP server.
2. if your router (linksys) have own DNS/hosts entries add UX name/IP there.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 01:43 AM
тАО09-18-2006 01:43 AM
Re: Hostname not resolving
If you are on the local host, and you ping it from there with the hostname and you do not get a response, probably it means that the hosts file is not configure properly.
This is an example:
# The form for each entry is:
127.0.0.1 localhost loopback
17.19.48.43 jaime.cro.hp.com CRN360
17.19.48.44 jaime2.cro.hp.com b2000
If you have that, you should be able to log into the HP-UX box and ping by IP and then by hostname.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 02:20 AM
тАО09-18-2006 02:20 AM
Re: Hostname not resolving
you can set this with 'set_parms'.
/sbin/set_parms hostname
/sbin/set_parms ip_address
should work.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 09:23 PM
тАО09-18-2006 09:23 PM
Re: Hostname not resolving
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2006 11:03 PM
тАО09-19-2006 11:03 PM