- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pushing of NIS maps fails with RPC failure message
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
01-09-2007 03:36 AM
01-09-2007 03:36 AM
I've inherited an Enterprise that is currently running NIS. We are trying to eliminate NIS with ldap, but that isn't moving too fast.
Recently I was tasked with eliminating our NIS master (server A) as this server was scheduled for decommission and "promoting" one of two slave servers (server B or server C) to be the master NIS server. I decided to make server B the new Master and server C would simply remain the only slave in the NIS domain.
The project was ultimately performed by a colleague of mine as I was called out of town. Here is the setup as it exists today, currently, after the project was “done”:
server A (old NIS master) --This Server is bye, bye --wheeled out of our datacenter.
server B (former slave server) --This is the guy we "promoted" to be the master.
HPUX 11.11
RP8400
Sept 2005 patches loaded
server C (former slave server) --We did nothing with this guy. He just stayed a slave. In fact, because we previously had two slaves in our production NIS domain, we're not entirely sure he worked to begin with.
HPUX 11.11
N4000
Sept 2005 patches loaded
The problem:
I noticed that some of the clients in this production domain (bgerp is the domainname) were not getting updated (IE, I couldn't login with the credentials I know I gave) when I was creating new user accounts in SAM on Server B. SAM was like “okay I need to push the maps”, so I said go for it. SAM pushed the maps and didn't say a thing.
Well the commonality was that the clients that weren't updating are "binding" or bound to slave server (server C)
So I don't know much about NIS but I started to troubleshoot, and I created another bogus account on the NIS master (server B), but this time I pushed the maps at the command line (ypmake--From the NIS master.)
Look what I'm getting:
ServerB # /var/yp/ypmake
For NIS domain bgerp:
Building the passwd map(s)... passwd build complete.
Pushing the passwd map(s): passwd.bynameStatus received from ypxfr on ServerC:
Failed - ypxfr had an RPC failure
passwd.byuidStatus received from ypxfr on ServerC:
Failed - ypxfr had an RPC failure
The group map(s) are up-to-date.
The hosts map(s) are up-to-date.
The networks map(s) are up-to-date.
The rpc map(s) are up-to-date.
The services map(s) are up-to-date.
The protocols map(s) are up-to-date.
The netgroup map(s) are up-to-date.
The aliases map(s) are up-to-date.
The publickey map(s) are up-to-date.
Building the netid map(s)... netid build complete.
Pushing the netid map(s): netid.bynameStatus received from ypxfr on ServerC:
Failed - ypxfr had an RPC failure
The auto_master map(s) are up-to-date.
ypmake complete: no errors encountered.
ServerB#
Thanks in advance for any direction. I award points.
Kirk
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 03:58 AM
01-09-2007 03:58 AM
Re: pushing of NIS maps fails with RPC failure message
exchanging the NIS master is a not-so-standard task. There is a complete description how to do that, look into
http://docs.hp.com/en/5991-1154/index.html
Take into account, that the name of the NIS master is kept in all maps served by this master: a change of the name of the server progagating a NIS map will make NIS slaves drop that map because of security reasons.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2007 04:47 AM
01-09-2007 04:47 AM
Re: pushing of NIS maps fails with RPC failure message
I would be willing to bet that the old master is probably in one or more of the slaves /etc/rc.config.d/namesvr files
There are probably errors in the log files of the servers that would be helpful.
Ideally, the last system I'd de-commission is the NIS master, I'd swing the rest of the building into LDAP or ADS(ew windows) authenticaiton first. When the NIS master is no longer used, then decommission. I recommend this approach after solving this problem.
I think the answer is in the configuration files and there will be helpful error messages in the /var/adm/syslog/syslog.log file of the systems.
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
01-09-2007 08:39 PM
01-09-2007 08:39 PM
Solutionwhere I went through the same process. I hope it helps you.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 02:05 AM
01-10-2007 02:05 AM
Re: pushing of NIS maps fails with RPC failure message
but as I (dimly) recall, a fairly easy way to
de-confuse the NIS servers is to run ypinit
(with appropriate options) on everyone. As I
(very dimly) recall, it asks for a list of
the servers, and that's your big chance to
omit any which are now gone. As I (even more
dimly) recall, there's a file somewhere
(perhaps somewhere in or under /var/yp) which
contains the list of servers, but note that
"man ypfiles" says:
*** No ASCII source exists for the ypservers database. It is
created from responses provided by the user of ypinit on the
master NIS server, and it has no matching ypservers.time
file.
"man ypinit" is also worth reading. My (dim)
recollection is that ypinit is safer than it
sounds. Just make sure that the new master
actually has good master (ASCII) source
files for all the maps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2007 02:39 AM
01-11-2007 02:39 AM
Re: pushing of NIS maps fails with RPC failure message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2007 02:49 AM
01-11-2007 02:49 AM
Re: pushing of NIS maps fails with RPC failure message
Are you still experiencing problems or have any of the above suggestions worked for you? If not, please tell us what the current situation is so we'll know what kind of assistance to offer.
Thanks,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2007 03:07 AM
01-11-2007 03:07 AM