It been a while, I might be missing a step, this the same error on both
snv_b106 and 100u6:
# domainname mydomain
# echo "mydomain" > /etc/defaultdomain
# 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: unknown
next host to add: ^D
The current list of yp servers looks like this:
unknown
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] y
The yp domain directory is /var/yp/mydomain
Can we destroy the existing /var/yp/mydomain 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/mydomain/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
Feb 6 02:56:09 unknown sendmail[4503]: [ID 702911 mail.alert] unable to
qualify my own domain name (unknown) -- using short name
WARNING: local host name (unknown) is not qualified; see cf/README: WHO AM I?
/var/yp/mydomain/mail.aliases: 12 aliases, longest 10 bytes, 138 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
couldn't find /etc/timezone
updated auto.master
updated auto.home
updated ageing
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
The following command caused the error:
if [ ! 1 ]; then make -k all; \
else make -k all NOPUSH=1;fi
make: Fatal error: Command failed for target `k'
Error running Makefile.
#
--
This message posted from opensolaris.org