[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rpc.mountd times out (hamm)



Nathan E Norman wrote:

> Having moved our RAID array from a BSD box to a Debian box, I'm trying
> to set up NFS.  I have an area I'd like all our clients to be able to
> mount publically (it's a public ftp dir)
>
> Debian Linux runs mountd through RPC.  BSD didn't - mountd ran
> standalone.  Having RTFM, I think Debian does this for security (?) - I
> can't get it to work.

You are mistaken. At least in the sense of BSD not using RPC. NFS mounting is an
ONC RPC call no matter what system you use. NFS and RPC are protocols. They have
to work the same no matter what system they run on.

> I've edited my /etc/exports.  I also added a line to my
> /etc/hosts.allow:
>
>   portmap: <ipnet>/<ipmask>
>
> portmap is running.  I tried /etc/inetd.conf with the stock setup, and
> also tried adding the mountd lines listed in the mountd man page.
>
> I don't know jack about NIS, or RPC :)  so I don't know why this doesn't
> work.
>
> Symptoms:
>
> The server (pavlov) logs lines like
>
>   Apr 23 14:10:38 pavlov mountd[2456]: NFS mount of /home/ftp/pub
>   attempted from <ipaddr>
>   Apr 23 14:10:38 pavlov mountd[2456]: /home/ftp/pub has been mounted by
>   <ipaddr>
>
> However, the mount command on the other machine (also running Debian)
> hangs indefinitely.  Only kill -9 will get rid of it.
>
> showmount also hangs, and eventually comes back with
>
>   mount clntudp_create: RPC: Port mapper failure - RPC: Timed out
>
> If I log into one of our BSD servers and attempt an NFS mount, I get
>
>   NFS Portmap: RPC: Program not registered

Ok, so portmap is running. Did  you reboot? If not, there are a bunch of other
programs which must run other than mountd. You can get them running by executing
'/etc/init.d/netstd_nfs start' without rebooting.

--
Jens B. Jorgensen
jjorgens@bdsinc.com



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: