- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nis - unknown hostname
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
Forums
Discussions
Discussions
Discussions
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
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
04-16-2003 07:45 AM
04-16-2003 07:45 AM
nis - unknown hostname
I have just added a couple of users to one of our nis domains
however, when I log into one of the servers I get the message
I can lookup and reverse lookup the host ok
The nis master can ping and resolve the host
the entry in /etc/rc.config.d/netconf for the host is ok
the client is configured in namesvrs file ok
I am using dns to resolv hostnames. Other servers in the environments are configured in the same way and do not have an issue
Any ideas
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:06 AM
04-16-2003 08:06 AM
Re: nis - unknown hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:11 AM
04-16-2003 08:11 AM
Re: nis - unknown hostname
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:11 AM
04-16-2003 08:11 AM
Re: nis - unknown hostname
a- The problem stays with just that couple of users or all users ?
b- The server showing this error, is it a client,slave or master ?
c- Is the user home directory local or NFS mounted. If NFS mounted are you using automounter ?
d- The nsswitch.conf and hosts file in /etc , have you check them ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:12 AM
04-16-2003 08:12 AM
Re: nis - unknown hostname
ypmatch hostname hosts (* from master server *)
cd /var/yp
/usr/ccs/bin/make hosts (* to remake hosts map on master server *)
ypxfr hosts
To trace an unknown NIS host:
nsquery hosts hostname
To check your NIS master from the client:
ypwhich -m hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:13 AM
04-16-2003 08:13 AM
Re: nis - unknown hostname
I had checked nsswitch.conf for variations, a working server is the same
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns [
NOTFOUND=return UNAVAIL=return TRYAGAIN=return]
I will check DNS
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:14 AM
04-16-2003 08:14 AM
Re: nis - unknown hostname
To check if listed in hosts map?
ypmatch hostname hosts (* from master server *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:21 AM
04-16-2003 08:21 AM
Re: nis - unknown hostname
Thanks for the replies
I will have to go through your responses in the morning
We have a backup network for our servers.
ypwhich uses the hostname of the backup servers for the clients that don't have a problem
For the server that has an issue it uses the prod hostname
Would this cause an issue
For me it's
'Welcome to NIS , have a nice day - happy learning'
Thanks again
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 11:48 PM
04-16-2003 11:48 PM
Re: nis - unknown hostname
maybe your problem is similar to mine:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x329719434a69d711abdc0090277a778c,00.html
If you have one master server you maybe need to rebuild the slave servers like S.K. Chan told me.
Welcome to NIS ;-))
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2003 12:26 AM
04-17-2003 12:26 AM
Re: nis - unknown hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 03:04 AM
04-22-2003 03:04 AM
Re: nis - unknown hostname
After checking the NIS environment, other id's I found a script fired from /etc/profile runs a user front end on particular hosts, i had to add the id's to an exclude list to prevent the running of the script as this particular host wasn't setup for the gui.
Thanks again
Steve