From owner-freebsd-hackers Mon Sep 27 18:55:32 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingsun2.cc.binghamton.edu (bingsun2.cc.binghamton.edu [128.226.6.4]) by hub.freebsd.org (Postfix) with ESMTP id 481BA15716 for ; Mon, 27 Sep 1999 18:55:23 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id VAA00519; Mon, 27 Sep 1999 21:55:17 -0400 (EDT) X-Authentication-Warning: bingsun2.cc.binghamton.edu: bf20761 owned process doing -bs Date: Mon, 27 Sep 1999 21:55:17 -0400 (EDT) From: Zhihui Zhang X-Sender: bf20761@bingsun2 To: Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: Register a RPC service with inetd Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: > > ... > > 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, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message