- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ypxfr NIS map transfer 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
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
тАО04-12-2007 10:18 PM
тАО04-12-2007 10:18 PM
I followed the documented process for creating the NIS slave server which included defining the new slave in the masters ypmasters map, and running ypinit -s on the proposed slave. The default maps were transferred and these don't seem to pose a problem.
However there are a few custom maps defined, and I'm struggling to get these transferred to the new slave server. Forcing a ypxfr through Sam of all the maps has no effect, but no specific error other than for the Solaris-specific maps that I'd expect to see. So I tried yppush (not something I'd normally try as the maps aren't new)
One of the custom maps is pw_exire.byname
----------------------------------
(from the NIS server)
# yppush -v pw_expire.byname
Finding NIS servers:Map ypslaves.
mynewserver has been called.
slave2 has been called.
slave1 has been called.
Status received from ypxfr on slave2:
Transfer not done: master's version isn't newer.
Status received from ypxfr on slave1:
Transfer not done: master's version isn't newer.
Status received from ypxfr on
Transfer not done: master's version isn't newer.
No response from ypxfr on mynewserver
--------------------------------
Performing a yppush on a conventional map, such as hosts.byname doesn't see an error, and the ypxfr.log on the new NIS slave will report the attempted transfer (stopped because it has already been transferred).
Trying to send anyone of the custom maps though with yppush or straight ypxfr which it uses, all fail with the same
"No response from ypxfr on mynewserver"
...and no enties in mynewservers ypxfr.log with respect to the attempted transfer.
Looking at another slave server, the *.dir and *.pag files for the normal & customised maps can be seen in /var/yp/
Any clues or suggested paths to pursue would be very helpful.
ta!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 02:22 AM
тАО05-08-2007 02:22 AM
Re: ypxfr NIS map transfer problem
I had the same issue on hpux 10.20. What I did to get the custom maps pushed out to the slave servers was to touch empty map files on the slave in /var/yp/domain.com.
Then on the master touch each text file for the custom maps.
/var/yp/ypmake now pushed the new custom maps out to the slaves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 02:23 AM
тАО05-08-2007 02:23 AM
SolutionI had the same issue on hpux 10.20. What I did to get the custom maps pushed out to the slave servers was to touch empty map files on the slave in /var/yp/domain.com.
Then on the master touch each text file for the custom maps.
/var/yp/ypmake now pushed the new custom maps out to the slaves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 02:44 AM
тАО05-08-2007 02:44 AM
Re: ypxfr NIS map transfer problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 08:27 AM
тАО05-08-2007 08:27 AM
Re: ypxfr NIS map transfer problem
Bren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 10:01 PM
тАО05-08-2007 10:01 PM
Re: ypxfr NIS map transfer problem
>
>I had the same issue on hpux 10.20. What I >did to get the custom maps pushed out to >the slave servers was to touch empty map >files on the slave in /var/yp/domain.com.
>Then on the master touch each text file for >the custom maps.
>/var/yp/ypmake now pushed the new custom >maps out to the slaves.
This worked first time - no errors in the ypxfer log and the maps transferred and populated the /var/yp/
I've tried to allocate points but it hasn't taken yet - but I will continue persisting.