NIS Master Init Errors/Sol9

From: Jadrian S. Johnson (jsj@NebrWesleyan.edu)
Date: Mon Jun 17 2002 - 15:30:59 EDT


Hello gurus-

I seem to recall reading about this problem before, but I'm trying to init
a yp (NIS) master server under Solaris 9. Continually, this is the
result:

# ypinit -m

In order for NIS to operate sucessfully, we have to construct a list of
the
NIS servers. Please continue to add the names for YP servers in order of
preference, one per line. When you are done with the list, type a
<control D>
or a return on a line by itself.
        next host to add: lurch
        next host to add:

The current list of yp servers looks like this:

lurch

Is this correct? [y/n: y] y

Installing the YP database will require that you answer a few questions.
Questions will all be asked at the beginning of the procedure.

Do you want this procedure to quit on non-fatal errors? [y/n: n] n
OK, please remember to go back and redo manually whatever fails. If you
don't, some part of the system (perhaps the yp itself) won't work.
The yp domain directory is /var/yp/lurch
Can we destroy the existing /var/yp/lurch and its contents? [y/n: n] y
There will be no further questions. The remainder of the procedure should
take
5 to 10 minutes.
Building /var/yp/lurch/ypservers...
Running /var/yp /Makefile...
updated passwd
updated group
updated hosts
updated ipnodes
make: Warning: Don't know how to make target `/etc/ethers'
Current working directory /var/yp
updated networks
updated rpc
updated services
updated protocols
make: Warning: Don't know how to make target `/etc/netgroup'
Current working directory /var/yp
make: Warning: Don't know how to make target `/etc/bootparams'
Current working directory /var/yp
/var/yp/lurch/mail.aliases: 13 aliases, longest 10 bytes, 150 bytes total
/usr/lib/netsvc/yp/mkalias /var/yp/`domainname`/mail.aliases
/var/yp/`domainname`/mail.byaddr;
updated aliases
updated publickey
updated netid
/usr/sbin/makedbm /etc/netmasks /var/yp/`domainname`/netmasks.byaddr;
updated netmasks
updated timezone
updated auto.master
updated auto.home
updated auth_attr
updated exec_attr
updated prof_attr
updated user_attr
updated audit_user
make: Warning: Target `all' not remade because of errors
Current working directory /var/yp
*** Error code 1
make: Fatal error: Command failed for target `k'
Error running Makefile.

lurch has been set up as a yp master server with errors. Please remember
to figure out what went wrong, and fix it.

If there are running slave yp servers, run yppush now for any data bases
which have been changed. If there are no running slaves, run ypinit on
those hosts which are to be slave servers.

------------------------------------------

Now it quits with a fatal error, but I can't for the life of me tell what
that fatal error is. There is no other information, I can't trace it back
much further...I believe there was a patch for Sol8 that fixed a problem
with /usr/bin/domainname which may have been attributed to this problem.
Any other ideas?

Jadrian S. Johnson
_______________________________________________
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:24:28 EDT