Subject: ypxfr - local resource allocation failure
To: None <current-users@netbsd.org>
From: C Kane <ckane@best.com>
List: current-users
Date: 03/30/1999 18:12:59
Hello.

I have five NetBSD-1.3I/i386 systems acting as YP slave servers for
two domains simultaneously.  All five systems have their local
domainname set to domain1.  The master systems for both domains
are sparc machines running SunOS 4.1.4.

The problem:  the master for domain2 is unable to "yppush" to
three of the systems.  Restarting ypserv on the slave does not help.
This is the error message:

  domain2: /usr/etc/yp/yppush -h slave4 -v passwd.byname
  slave4 has been called.
  Status received from ypxfr on slave4:
        Failed - local resource allocation failure.

The log file on slave4 looks like this:

  Mar 30 17:21:09 yplog opened
  Mar 30 17:21:09 ypxfr: Arguments:
  Mar 30 17:21:09 YP clear to local: yes
  Mar 30 17:21:09    Force transfer: no
  Mar 30 17:21:09            domain: domain2
  Mar 30 17:21:09              host: (null)
  Mar 30 17:21:09     source domain: (null)
  Mar 30 17:21:09           transid: (null)
  Mar 30 17:21:09              prog: (null)
  Mar 30 17:21:09              port: (null)
  Mar 30 17:21:09             ipadd: (null)
  Mar 30 17:21:09               map: passwd.byname

Running "ypxfr -d domain2 passwd.byname" on slave4 yields the same
entries in the log file, except "force transfer" to set to "yes",
and the program immediately returns without updating the map.

Could the problem be that ypxfr is unable to determine the master
of domain2?  That information should be in the map.

Running "ypxfr -d domain2 -h domain2 passwd.byname" on slave4
causes similar entries in the log file, except "host" is filled
in, but the program seems to work correctly and the map is updated.

Thanks for any help...
-- Chuck