*BSD News Article 30135


Return to BSD News archive

Xref: sserve comp.sys.sun.admin:29531 comp.unix.bsd:13871
Newsgroups: comp.sys.sun.admin,comp.unix.bsd
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!pipex!sunic!trane.uninett.no!eunet.no!nuug!EU.net!uunet!retix!spock!joshua
From: joshua@sleepy.retix.com (joshua geller)
Subject: yp wierdness betwixt vax and suns
Message-ID: <JOSHUA.94May3072501@sleepy.retix.com>
Followup-To: poster
Nntp-Posting-Host: sleepy.retix.com
Date: 03 May 1994 14:25:00 GMT
Lines: 53


my network is mostly composed of sparcs, but for obscure and historical
reasons services are provided by a vax 8650 running 4.3 bsd-tahoe. this
beast is out the door as soon as we can manage it, but presently it is
(among other things too numerous and disgusting to mention) our yp master
server. ok fine. we had not been exporting a mailaliases map, and I wanted
(and still want) to start doing so. I edited the make file in the yp
directory, the map built fine, but when I tried to ypxfr from the slave
servers I get messages like this:

slave# ./ypxfr aliases
Can't get master of aliases. Reason: no such map in server's domain.
slave# ./ypxfr -f aliases
Can't get master of aliases. Reason: no such map in server's domain.
slave# ./ypxfr mail.aliases
Can't get master of mail.aliases. Reason: no such map in server's domain.
slave# ./ypxfr -f mail.aliases
Can't get master of mail.aliases. Reason: no such map in server's domain.
slave# ./ypxfr -f -h master aliases
(info) Can't get order number from ypserv at master. Reason: no such map in\
	server's domain.
slave# ./ypxfr -f -h master mail.aliases
master: RPC: Program not registered
(info) master domain mail.aliases ypxfrd getdbm failed (reason = -1) --\
	using ypxfr

in fact there does not seem to be a ypxfrd on "master".

when I update the yp maps on "master" I get:

/etc/yp/domain/mail.aliases: 539 aliases, longest 692 bytes, 33022 bytes total
updated aliases
No response from ypxfr on slave.retix.com
No response from ypxfr on slave1.retix.com
No response from ypxfr on slave2.retix.com
No response from ypxfr on slave3.retix.com

Status received from ypxfr on master.retix.com:
	Failed - no local order number in map - use -f flag to ypxfr.
No response from ypxfr on slave.retix.com
No response from ypxfr on slave1.retix.com
No response from ypxfr on slave2.retix.com
No response from ypxfr on slave3.retix.com

pushed aliases

but this map does *not* exist anywhere on the slave servers. it can
be seen by using the master for a yp server, which is not incredibly
useful.

any ideas?

josh