On Fri, Feb 18, 2000 at 10:10:44AM -0700, Charles Curley wrote:
-> I have been able to nfs mount the root partition of a computer for over a
-> year with no problems. Recently, power went out, affecting both of the
-> computers involved, causing both to die a horrible death. As I was not
-> around at the time, I don't know what error messages were shown when the
-> machines rebooted.
-> 
-> The error message I now get is:
-> 
-> root@charlesc # mount /mnt/server/
-> mount: RPC: Program not registered
-> 
-> charlesc's fstab contains:
-> 
-> server:/                /mnt/server             nfs     timeo=14,intr,noauto 0 0
-> 
-> server's /etc/exports is:
-> 
-> [ccurley@server ccurley]$ cat /etc/exports /       charlesc(no_root_squash)
-> 
-> also on server:
-> 
-> [ccurley@server ccurley]$ cat /etc/rpc | grep -i nfs
-> nfs             100003  nfsprog
-> rpcnfs          100116  na.rpcnfs
-> nfs_acl         100227
-> pcnfsd          150001
-> bwnfsd          545580417
-> 
-> Any brilliant ideas out there?


I finally solved this problem. the most useful resource turned out to be a
checklist in a recent version of the NFS HOW-TO, at
ttp://www.redhat.com/mirrors/LDP/HOWTO/NFS-HOWTO-7.html.

It turned out in my case that the problem was incorrect syntax in the
/etc/hosts.allow file that was preventing rpc from accepting requests.

Another item not mentioned in the HOW-TO above is that the /etc/exports
file does not allow tabs; white space must be spaces, not tabs. This may
apply to other files as well.


-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

Reply via email to