[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenBSD 3.2: unable to register (YPPROG, YPVERS, udp)



Hello,

I am trying to setup an NIS slave on a fresh install of OpenBSD 3.2 (Release). I
am receiving the following error on the NIS slave machine.

# cat /var/log/daemon
yp-slave ypserv[26737]: unable to register (YPPROG, YPVERS, udp).

Also, I have tried to setup the slave machine as an NIS master (of its own
'test' domain), and as an NIS client of my current NIS domain--and none of them
work.

Is there a service I should be adding to /etc/services, or maybe a daemon to
/etc/inetd? Is there something else I've overlooked or forgot about?

Thanks in advance.

Kevin Weiss
kweiss_(_at_)_mail_(_dot_)_utexas_(_dot_)_edu

PS - Here are the setup instructions I created for setting up my NIS slave with
OpenBSD 3.0 (Release); they setup the slave without any problems.

# $Id: nis-slave-setup.txt,v 1.21 2002/09/17 07:14:59 <userid> Exp $

# Initialize YP slave
mkdir -p /etc/yp
echo "localhost" > /etc/yp/jbd
domainname <mydomain>
echo "<mydomain>" > /etc/defaultdomain
ypinit -s <ypmaster> <mydomain>

# Append the following line to /etc/master.passwd file using `vipw`
+:*::::::::

## Make sure NIS is running ##
cp -p /tools/conf/nis/ypserv.acl /var/yp
ypserv -d -a /var/yp/ypserv.acl
ypbind
yptest

## Back on YP master, run:
ypinit -u

## Append the following on the NIS slave's /var/cron/tabs/root file ###
#
# YP Slave crontab entries
0 *    * * * /usr/sbin/ypxfr_1perhour
0 0,12 * * * /usr/sbin/ypxfr_2perday
0 0    * * * /usr/sbin/ypxfr_1perday



Visit your host, monkey.org