Ypinit fails in Solaris 10

I am trying to set up a NIS client Solaris 10 for the first time. Ypinit fails with the errors:

svcadm: Pattern 'network/nis/server:default' doesn't match any instances

svcadm: Pattern 'network/nis/xfr:default' doesn't match any instances

svcadm: Pattern 'network/nis/passwd:default' doesn't match any instances

svcadm: Pattern 'network/nis/update:default' doesn't match any instances

svcs -a doesn;t list any of those services. How do I create them? I have the SUNWnisr and SUNnisu packes on the host.

[551 byte] By [wsandersa] at [2007-11-27 2:24:18]
# 1

Turns out the NIS server packages are required for the client to work. Installing SUNypu and SUNWypr tool care of the svcadm errors.

Then, the network/nis.client service got disabled every time I ran ypinit -c.

Turns out the user had a "securenets" file on the master that was not allowing access. After fiddling with svcadm for a while, everything seems to be working.

wsandersa at 2007-7-12 2:31:08 > top of Java-index,General,Sun Networking Services and Protocols...