Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 13:29:06 -0500
From:      Mitch Collinsworth <mkc@Graphics.Cornell.EDU>
To:        Greg Skouby <gskouby@ns0.sitesnow.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: rpc.yppasswd not starting 
Message-ID:  <200001261829.NAA54613@benge.graphics.cornell.edu>
In-Reply-To: Message from Greg Skouby <gskouby@ns0.sitesnow.com>  of "Wed, 26 Jan 2000 10:24:59 EST." <Pine.BSF.4.10.10001261018090.85445-100000@ns0.sitesnow.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>Hello,
>I have a simple NIS system setup here.
>I have the master server (who is also a client)  and one other client.
>This is the rc.conf entry on the master:
>nisdomainname="example.net"     # Set to NIS domain if using NIS (or NO).
>nis_server_enable="YES" # We're an NIS server (or NO).
>nis_yppasswdd_enable="YES"      # Run rpc.yppasswdd at boot time (or NO).
>nis_yppasswdd_flags="-t /var/yp/master.passwd"  # Flags to rpc.yppasswdd
>      			#(if enabled).
>nis_client_enable="YES"
>nis_client_flags="-S example.net,web.example.net"
>
>
>web# ls -alsoF /var/yp
>total 44
> 1 drwxr-xr-x   4 root  wheel  -   512 Jan 25 22:14 ./
> 1 drwxr-xr-x  18 root  wheel  -   512 Apr 23  1999 ../
>18 -r--r--r--   1 root  wheel  - 18176 Jan 25 21:56 Makefile
>18 -r--r--r--   1 root  wheel  - 18176 Sep 16 17:48 Makefile.dist
> 1 drwxr-xr-x   2 root  wheel  -   512 Jan 26 10:09 binding/
> 1 drwxr-xr-x   2 root  wheel  -   512 Jan 26 10:03 example.net/
> 2 -rw-------   1 root  wheel  -  1267 Jan 26 09:36 master.passwd
> 2 -rw-r--r--   1 root  wheel  -  1095 Jan 26 09:36 passwd
> 0 -rw-r--r--   1 root  wheel  -     0 Jan 26 10:03 ypservers
>
>
>
>
>
>Everything is working fine except for I can't use yppasswd because of this
>error:
>
>yppasswd: rpc.yppasswdd is not running on the NIS master server
>
>
>I do a ps -aux and verify that rpc.yppassed is not starting at boot as it
>should. Do I have something wrong in rc.conf? Thank you for your time
>
>iI am running:
>3.3-RELEASE FreeBSD 3.3-RELEASE

It sounds like you have things more or less correct.  Maybe it is
trying to start at boot but running into an error somewhere and giving
up.  Have you tried looking for interesting messages in your log files?
And have you tried starting it by hand to make sure it will run?

-Mitch


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001261829.NAA54613>