[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
yp
i've read man pages, setup yp with
domainname <name>
echo <name> /etc/defaultdomain
ypinit -m
touch /var/yp/ypserv.log
then after looking at rc (to find how to start the server without
rebooting the pc) i found i needed to run ypbind too (at least to make
it create /var/yp/bindings). after looking on monkey.org to see why
ypbind hang i found i need to run ypserv before ypbind, so i run them
ypserv
ypbind
then i looked again at rc, and run rpc.yppasswd the same way it is run
inside rc. all the three processes are running now. there's nothing
inside /var/log/* or /var/yp/ypserv.log that makes me thing there's
something wrong, well there' really nothing at all that says
anything...
# cat /var/yp/ypserv.log
Jun 15 12:27:18 yplog opened
#
i suppose everything is up and running properly, however when i run
ypbind from a freebsd machine (after setting up the same domainname) the
bindings dir is not created inside /var/yp, and after waiting a bit
ypbind exits, so i think it cannot find the yp server, but i can't
understand why... there are no logs at all on both machines...
btw the freebsd machine is running under vmware 3.1 if that makes any
difference... (it's configured with its own ip address, it's not doing
nat with the machine vmware is running on)
# ps ax | grep yp
28843 ?? R 0:02.18 sshd: shiva@ttyp0 (sshd)
13066 ?? I 0:00.02 ypserv
4745 ?? Is 0:00.13 ypbind
7654 ?? Is 0:00.00 rpc.yppasswdd
6852 p0 I+ 0:00.00 grep yp
# netstat -a | grep yp
tcp 0 0 *.757[yppasswd] *.* LISTEN
tcp 0 0 *.709[ypbind] *.* LISTEN
tcp 0 0 *.605[ypserv] *.* LISTEN
udp 0 0 *.820[yppasswd] *.*
udp 0 0 *.758[ypbind] *.*
udp 0 0 *.778[ypserv] *.*
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
#
--
Shiva
"Better true to yourself
Than a perfect shadow
Of somebody else
An empty shell"
(MrBig, My new religion)
- Follow-Ups:
- Re: yp
- From: "David S." <davids@idiom.com>