And, re: RPC: Program not registered ...
[tt]When I restarted the box, which acts both as an NFS server and an NFS client, the boot process was paused with the following message:
Mounting NFS file systemsNFS Portmap: RPC: Program not registered
I also found the following messages in /var/log/messages on the NFS server:
portmap[83487]: connect from 192.168.0.18 to getport(mountd): request from unauthorized host
portmap[83517]: connect from 192.168.0.18 to getport(nfs): request from unauthorized host
I mentioned this on IRC, and Unfurl suggested it was an /etc/hosts.allow (i.e. tcpwrappers) issue. He suggested I change allow all for portmap. I did. Rebooted the client box (as that's the situation under which the problem occurred). This time, the box rebooted properly and the NFS partitions were properly mounted.
Here's what I had in /etc/hosts.allow:
# Portmapper is used for all RPC services; protect your NFS!
# (IP addresses rather than hostnames *MUST* be used here)
portmap : 192.0.2.32/255.255.255.224 : allow
portmap : 192.0.2.96/255.255.255.224 : allow
portmap : ALL : deny
Here's what I changed it to:
# Portmapper is used for all RPC services; protect your NFS!
# (IP addresses rather than hostnames *MUST* be used here)
portmap : 192.0.2.32/255.255.255.224 : allow
portmap : 192.0.2.96/255.255.255.224 : allow
portmap : 192.168.0.0/255.255.255.0 : allow
portmap : ALL : deny
[/tt]
Any use ?
One by one, the penguins steal my sanity.