nfs server permission denied
I know this is a common issue, but I cannot seem to work it out despite the fact that I have set up several nfs servers and clients without issue in the past. Here goes ....
Dist: Slack10
Kernel: 2.6.8.1
`cat /usr/src/linux/.config | grep -i nfs`:
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
`cat /etc/exports`: /shared 192.168.1.*(rw,sync)
`cat /etc/hosts.allow`:
portmap:192.168.1.*
lockd:192.168.1.*
rquotad:192.168.1.*
mountd:192.168.1.*
statd:192.168.1.*
`cat /etc/hosts.deny`:
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
portmap:ALL
`showmount -e server`: /shared 192.168.1.*
`cat /etc/hosts`: 127.0.0.1 server, localhost
`ps fax | grep rpc`:
1443 ? Ss 0:00 /sbin/rpc.portmap
1902 ? Ss 0:00 /usr/sbin/rpc.rquotad
1913 ? S 0:00 [rpciod]
1915 ? Ss 0:00 /usr/sbin/rpc.mountd
1918 ? Ss 0:00 /usr/sbin/rpc.statd
now, the problem:
`sudo mount server:/shared/ tmp/`:
mount: server:/shared/ failed, reason given by server: Permission denied
Yes, I did `sudo exportfs -ra`, and I even did `sudo sh /etc/rc.d/rc.nfsd restart`, to no avail. What am I doing wrong?? Thanks.
|