- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- NIS slaves do not have all maps.
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
12-04-2007 02:45 PM
12-04-2007 02:45 PM
I have 1 master and 3 slave NIS servers.
The network was re ipaddressed..
I have 2 problems.
1) The master has all the maps and is fine. 2 of the slaves however are missing about 6 maps. I tried using a ypxfr (map name)to initailize a push of the maps from master to slave. I get the error no such map in the domain. I also tried yppush to no avail...Can I manually copy these maps from the master to the slave and have them recognized? I know never to run a make on the slaves...but....
2) Another Admin ran a make on 1 of the slaves and now that server is bound to another slave and they are both missing about 6 maps. I believe he did something to manually pull some maps but I need to remedy this in the correct way. I have 1 good slave server and the master is good as well.
Please help..
Thank You
James
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-04-2007 03:12 PM
12-04-2007 03:12 PM
Re: NIS slaves do not have all maps.
might be more helpful than vague
descriptions.
My actual NIS experience is pretty stale, and
mostly on Solaris, but ...
> I tried using a ypxfr (map name)to
> initailize a push of the maps from master
> to slave. I get the error no such map in
> the domain.
What was this "map name"? Maps may have
nonintuitive names. "ypcat -x".
> I also tried yppush to no avail.
Did it complain in some way, or did it just
not fix the problem? What happened?
> Can I manually copy these maps [...]
I doubt it. Sounds like the wrong thing to
do, in any case.
Did you try "ypinit -m" on the master after
you changed all the IP addresses? "ypinit
-s" on the slaves? Any reason not to?
Have you any evidence that the master has the
same list of slaves as you do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-04-2007 04:33 PM
12-04-2007 04:33 PM
Re: NIS slaves do not have all maps.
I actually mistyped my thoughts here...
The NIS master and slaves did not change ip addresses..Everything else did. As I said the other admin ran a make on one of the slaves and screwed something up. Thus 2 salves are not updating correctly and the master and 1 out of 3 slaves have correct map info.
I have not run a ypinit for fear of making things work, but if that is a safe step I will. See errors below.....
I run ypxfr from the slave...
ypxfr -f -h (masterserver) group.byname
ypxfr -f -h (masterserver) group.bygid
No error and maps have today's date in /var/yp/`domainname` however a ypcat group says no such map in server's domain..
A ypcat -k ypservers shows the master and 3 slaves on each server.
A yppush -v -h slaveserver group.byname
and
yppush -v -h (slaveserver) group.bygid
both produce.
slaveserver has been called from ypxfr on (slaveserver) failed, -ypxfr couldn't get the map master's address.
terminating 0 dead.
A "ypcat -x produces a "group" use group.byname."
But yet still ypcat group says no such map in server's domain.
Thanks
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-05-2007 01:23 AM
12-05-2007 01:23 AM
SolutionThis is the advice I received direct from HP when I had a similar problem.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-05-2007 07:51 AM
12-05-2007 07:51 AM
Re: NIS slaves do not have all maps.
You are correct sir! I actually fixed the issue last night about midnight after searching the net for hours. I rcp'd the maps to the correct slave, ran a ypxfr and the maps were then visible. A make comes back error free... The document was from 1993..Geez Nis is old.
But you are still the man. Thanks for the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-05-2007 07:53 AM
12-05-2007 07:53 AM
Re: NIS slaves do not have all maps.
rcp files to slaves, run a ypxfr and make sure no complaints, then run a make from master and make sure no errors come back.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP