- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Problem With Hostname 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
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
тАО07-24-2003 01:56 AM
тАО07-24-2003 01:56 AM
Problem With Hostname Resolving
I have posted this also at,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xde2b169fe7a43a40a81e8d2347320349,00.html
Hi,
We have a linux machine with proper network configuration. nslookup is working ok when you try to resolve other hostnames. But ping fails unless otherwise you give a FQDN.
i.e
ping node1 - fails
ping node1.domain.com - passes
What could be the reason. Problem is not only with the ping but due to this automounting of shares also fails. Extract from messages file,
-----------------------------------------------
[root@linux-pc /etc]# more /var/log/messages
Jul 20 04:25:17 linux-pc syslogd 1.4-0: restart.
Jul 20 04:24:55 linux-pc nis_cachemgr[571]: Could not lookup cbin.eng.: NIS+ servers unreachable
Jul 20 04:25:54 linux-pc last message repeated 6 times
Jul 20 04:25:55 linux-pc automount[691]: attempting to mount entry /auto/ecs
Jul 20 04:26:04 linux-pc nis_cachemgr[571]: Could not lookup cbin.eng.: NIS+ servers unreachable
Jul 20 04:26:05 linux-pc automount[9274]: mount(nfs): entry ecs: host coffee: lookup failure
Jul 20 04:26:14 linux-pc nis_cachemgr[571]: Could not lookup cbin.eng.: NIS+ servers unreachable
-----------------------------------------------
Though it says NIS server is not reachable I am able to resolve other tables like passwd, group. DNS is used for hosts. /etc/resolv.conf and /etc/nsswitch.conf are just fine.
Pl. help
Thanks
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 02:01 AM
тАО07-24-2003 02:01 AM
Re: Problem With Hostname Resolving
What do your /etc/resolv.conf and /etc/nsswitch.conf files look like?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 02:09 AM
тАО07-24-2003 02:09 AM
Re: Problem With Hostname Resolving
/etc/resolv.conf
search domain.com
nameserver x.x.x.x
domain domain.com
The point here is Nslookup just works fine even without FQDN
/etc/nsswitch.conf
hosts: files dns
all other services are configured for "files nisplus"
Thanks,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 02:11 AM
тАО07-24-2003 02:11 AM
Re: Problem With Hostname Resolving
It may sound funny ... but it is working now after a reboot :-))
(It was not a so critical system ... so I could afford rebooting it)
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 02:21 AM
тАО07-24-2003 02:21 AM
Re: Problem With Hostname Resolving
I was wondering if there is any command to find out the replication status between a Master NIS+ and a Replicated NIS+ Server.
Thanks
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 02:23 AM
тАО07-24-2003 02:23 AM
Re: Problem With Hostname Resolving
Sorry, I don't do NIS. We tried it years ago and found it to be more trouble than it was worth.
I hope things continue to work now that you've re-booted.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 04:18 AM
тАО07-24-2003 04:18 AM
Re: Problem With Hostname Resolving
Most of the important stuff is there on HP-UX. I'll check a book and get back to you with specifics when I get to the office.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 04:43 AM
тАО07-24-2003 04:43 AM
Re: Problem With Hostname Resolving
"nisping -u" does something similar but only shows the last update time.
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 06:50 AM
тАО07-24-2003 06:50 AM
Re: Problem With Hostname Resolving
by any chance was the domainname altered by command name.
and hence ping was not working.
once u rebooted, the domain name was set properly and worked?
just a thought.
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 08:21 PM
тАО07-24-2003 08:21 PM
Re: Problem With Hostname Resolving
Regards,
Karthik S S