- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS Problem
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
09-28-2000 12:50 AM
09-28-2000 12:50 AM
I have recently set up two new J class workstations as NIS slave servers using the ypinit -s (nis master) command. The nis maps where transferred correctly and I then edited the namesvrs file.
The problem is that the NIS master is not updating these NIS slaves. The ypservers.pag file under /var/yp/(nisdomain) does not include the hostnames of the new nis slaves. This file also includes the hostname of an old 720 workstation which was a nis slave but has been replaced by one of the J-class boxes. Can I manually edit the ypserver.pag file on the nis master to add and remove nis slave servers?
One more thing, I can manually update the nis maps on the slave servers using the ypxfr command.
Any help would be gratefully received,
thanks,
Jim.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 01:04 AM
09-28-2000 01:04 AM
Re: NIS Problem
thanks,
Jim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 01:26 AM
09-28-2000 01:26 AM
SolutionLook here:
--
ypcat -k ypservers > /tmp/ypservers
echo "name_of_new_nis_server1" >> /tmp/ypservers
echo "name_of_new_nis_server2" >> /tmp/ypservers
cd /var/yp/
makedbm /tmp/ypservers ypservers
---
Now you can do ypcat -k ypservers to see if
they are contained in the ypservers map.
The maps should be pushed next time you run ypmake (and changes have been made to your source files)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 01:29 AM
09-28-2000 01:29 AM
Re: NIS Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 03:51 AM
09-28-2000 03:51 AM
Re: NIS Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 04:31 AM
09-28-2000 04:31 AM
Re: NIS Problem
Brilliant, NIS appears to work fine now. What did you mean when you said 'changes have been made to your source files'?
Also, thanks Chris for your additional comments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 04:46 AM
09-28-2000 04:46 AM
Re: NIS Problem
I just meant that in order to get the maps pushed by 'ypmake', changes have to be made to the files you build your NIS maps from.
This is usually the files in /etc/(passwd,group,services) etc. a 'touch