trouble doing ypxfr on a single NIS map

From: Steven C. Liu (sliu@steven-c-liu.com)
Date: Wed Nov 29 2006 - 17:23:04 EST


Dear Sun Managers,

I am having the weirdest problem doing ypxfr of the 'netgroup' map.
Only that map... I have no problems with netgroup.byhost or
netgroup.byuser. No problems either doing the 'make' on the NIS master.

In more detail, we see the problem in two environments. In the first
env, the NIS master is running RHEL 3. All the RHEL3 slave servers have
no problems doing the ypxfr. But, the Sol8 and Sol9 NIS slaves cannot
ypxfr this single map.

In the second env, the NIS master is running Sol8. I tried to do ypxfr
from an Sol8 slave server and it fails.

The error messages I get is different between Sol8 and Sol9. On the
Sol8 box, ypxfr returns "seek: Invalid argument". On the Sol9 box, I
get "Can't do dbm store into temp map netgroup."

In both cases, truss reports that ypxfr is able to open the temp file
/var/yp/<domainname>/ypxfr_map.netgroup.<pid>.[<dir>|<pag>]

Also in both environments, the 'netgroup' map is NOT the largest. For
example, netgroup.byhost is bigger by double. (No problems transferring
netgroup.byhost!) Nor, I believe, is the 'netgroup' the final map to be
attempted to be transferred. And, I see no filesystem full messages in
/var/adm/messages for /var.

In the second env (Sol8 to Sol8), the 'netgroup' map is ~ 10x bigger
than in the first env (RH to Sol8/9).

Any help would be appreciated.

Thanks,

Steve
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:16 EDT