- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS slaves do not have all maps.
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
тАО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
- 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
- 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
- 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
- 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
- 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.