Date: Mon, 27 Sep 1999 17:07:03 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: freebsd-hackers@freebsd.org Subject: Register a RPC service with inetd Message-ID: <Pine.GSO.3.96.990927170614.5369B-100000@sol.cs.binghamton.edu>
next in thread | raw e-mail | index | archive | help
On Mon, 27 Sep 1999, Alfred Perlstein wrote: > > On Mon, 27 Sep 1999, Zhihui Zhang wrote: > > > > > I have typed in the source code of rls (remote directory list) from the book > > "Power programming with RPC" and run it under FreeBSD successfully. > > > > But I can not get the rls server registered with inetd so that it can be > > started *automatically* during bootup. What I have done is as follows: > > ...<snip, didn't mention turning on portmap> > > Is portmap running? > I think so. On the server side: now4# rpcinfo -p localhost program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100005 3 udp 1023 mountd 100005 3 tcp 1023 mountd 100005 1 udp 1023 mountd 100005 1 tcp 1023 mountd 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100024 1 udp 1011 status 100024 1 tcp 1022 status 20000001 1 tcp 1024 rls <-- this is the service now4# On the client side: > newrpc/rls now4 / now4: RPC: Program not registered -Zhihui -------------------------------------------------- Zhihui Zhang. Please visit http://www.freebsd.org -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990927170614.5369B-100000>