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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to