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

strange nfs problem



Hi,

I have just installed FC4 (minimum install) on a computer I intend to
setup as a server.

When I went to enable the NFS, I can't get it to work properly.
The important error message is :=

# /etc/init.d/nfs start
# tail /var/log/messages
Sep  2 13:18:40 mini-cl exportfs[2524]: can't open /etc/exports for reading
Sep  2 13:18:40 mini-cl kernel: Installing knfsd (copyright (C) 1996 okir monad swb de).
Sep  2 13:18:40 mini-cl kernel: SELinux: initialized (dev nfsd, type nfsd), uses genfs_contexts
Sep  2 13:18:40 mini-cl rpc.idmapd: nfsdreopen: Opening '' failed: errno 2 (No such file or directory)

And on the client use
# mount mini-cl:/mnt/storage storage
mount: mini-cl:/mnt/storage failed, reason given by server: Permission denied

# exportfs -a
# tail /var/log/messages
Sep  2 13:21:30 mini-cl exportfs[2592]: can't open /etc/exports for reading

# ls -l /etc/exports
-rw-r--r--  1 root root 27 Sep  2 11:46 /etc/exports

# cat /etc/exports
/mnt/storage 192.168.0.0/16(rw)

# cat /etc/hosts.deny
portmap:ALL

# cat /etc/hosts.allow
portmap: 192.168.

If I use exportfs to bypass the /etc/exports file with
# exportfs -o rw 192.168.0.0/16:/mnt/storage

and on the client use
# mount mini-cl:/mnt/storage storage

Every thing works fine.

Any help appreciated.

Regards Neil.


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