Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 1999 21:55:17 -0400 (EDT)
From:      Zhihui Zhang <bf20761@binghamton.edu>
To:        Alfred Perlstein <bright@wintelcom.net>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Register a RPC service with inetd
Message-ID:  <Pine.GSO.BU-L4.10.9909272153550.29944-100000@bingsun2>

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, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.BU-L4.10.9909272153550.29944-100000>