Skip to contentSkip to conversation

NFS server export problem

DISCUSSION Gobikrishnan Sundharraj 2 participants 2 messages Oct 19, 2003 – Oct 21, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

I installed RedHat 9 on my system and I am trying to setup an NFS server.

On the NFS client, I got the error:

"mount ... failed, reason given by server: permission denied"

and I have traced the problem to the "export" on the server.

On the server, the /proc/fs/nfs/exports does not show what I configured to be exported (empty).

/etc/exports file has read permission for the root, and it has the following entry:
/home/<user>/<dir> a.b.c.0/24(rw, sync)

On the server, rpcinfo -p produces the following:
program vers proto port

    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32768  status
    391002    2   tcp  32769  sgi_fam
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp  32776  nlockmgr
    100021    3   udp  32776  nlockmgr
    100021    4   udp  32776  nlockmgr
    100011    1   udp    654  rquotad
    100011    2   udp    654  rquotad
    100011    1   tcp    657  rquotad
    100011    2   tcp    657  rquotad
    100005    1   udp    662  mountd
    100005    1   tcp    665  mountd
    100005    2   udp    662  mountd
    100005    2   tcp    665  mountd
    100005    3   udp    662  mountd
    100005    3   tcp    665  mountd

Everything seems to be fine and I don't know why the exports is not working for me..

Can you please help?

Kernel version: 2.4.20-8
nfs-utils version: 1.0.5-1

Thanks,
Gobi.

-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 5 lines · Gobikrishnan Sundharraj

Hello,

I installed RedHat 9 on my system and I am trying to setup an NFS server.

Quoted 10 lines

On the NFS client, I got the error:

"mount ... failed, reason given by server: permission denied"

and I have traced the problem to the "export" on the server.

On the server, the /proc/fs/nfs/exports does not show what I configured to be exported (empty).

Look in /var/log/message for any error messages and/or run the "exportfs -rv" command (as root on the server) to see if there are any issues...

SteveD.

-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs