Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS mount: permission denied
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zambizzi
Guru
Guru


Joined: 28 Aug 2004
Posts: 581
Location: Boise Idaho

PostPosted: Sun Oct 10, 2004 4:57 am    Post subject: NFS mount: permission denied Reply with quote

Out of nowhere I can't mount my NFS drives anymore...I'm stumped.

I double checked my fstab file (both server & client), they are correct as always.

I double-checked my hosts file, all names/IPs are correct and resolving the names is obviously not an issue (telnet still works fine).

AFAIK everything is functional except I get this error for every drive I try to mount:

Quote:

mount: server:/dir/shared_dir failed, reason given by server: Permission denied


I haven't altered permissions and on the shares in question, my user is set to 755 recursively, there should not be an issue there.

I just rebooted a few times and that had no effect.

haaaaaalp! 8O
Back to top
View user's profile Send private message
eelke
Guru
Guru


Joined: 17 May 2004
Posts: 406
Location: Earth, Netherlands, Friesland

PostPosted: Sun Oct 10, 2004 7:14 am    Post subject: Reply with quote

Have you checked /var/log/messages on your server? Sometimes the messages in there are more helpful.
Back to top
View user's profile Send private message
zambizzi
Guru
Guru


Joined: 28 Aug 2004
Posts: 581
Location: Boise Idaho

PostPosted: Sun Oct 10, 2004 9:11 am    Post subject: Reply with quote

eelke wrote:
Have you checked /var/log/messages on your server? Sometimes the messages in there are more helpful.


Of course, there's no indication that there is a problem, nothing is mentioned in the logs about netmout, rpc, nfs, whatever....it all looks normal.
Back to top
View user's profile Send private message
eelke
Guru
Guru


Joined: 17 May 2004
Posts: 406
Location: Earth, Netherlands, Friesland

PostPosted: Sun Oct 10, 2004 11:33 am    Post subject: Reply with quote

Quote:
nothing is mentioned in the logs about netmout, rpc, nfs, whatever....it all looks normal.


Strange, normally even succesful authentications are logged!

Do you use hostnames in your export file to restrict access? Check the server can resolve these. If that doesn't help try adding a rule for the IP address of the client to the export file.
Back to top
View user's profile Send private message
zambizzi
Guru
Guru


Joined: 28 Aug 2004
Posts: 581
Location: Boise Idaho

PostPosted: Sun Oct 10, 2004 4:22 pm    Post subject: oops Reply with quote

My mistake, I obviously wasn't looking in the right log. I found these entries in the "everything" log:

Code:

Oct 10 10:14:17 [rpc.statd] Version 1.0.6 Starting
Oct 10 10:14:17 [exportfs] /etc/exports [3]: No 'sync' or 'async' option specified for export "bart:/home/me"._  Assuming default behaviour ('sync')._  NOTE: this default has changed from previous versions
Oct 10 10:14:17 [exportfs] /etc/exports [4]: No 'sync' or 'async' option specified for export "bart:/usr/local/share/mp3"._  Assuming default behaviour ('sync')._  NOTE: this default has changed from previous versions
Oct 10 10:14:17 [exportfs] /etc/exports [5]: No 'sync' or 'async' option specified for export "bart:/usr/local/share/stock_photos"._  Assuming default behaviour ('sync')._  NOTE: this default has changed from previous versions
Oct 10 10:14:17 [exportfs] /etc/exports [6]: No 'sync' or 'async' option specified for export "bart:/usr/local/share/me"._  Assuming default behaviour ('sync')._  NOTE: this default has changed from previous versions


...and

Code:

Oct 10 10:14:23 [rpc.mountd] Fake hostname homer.springfield for 10.0.0.102 - forward lookup doesn't match reverse
Oct 10 10:14:23 [rpc.mountd] refused mount request from 10.0.0.102 for /home/me (/): no export entry
Oct 10 10:14:23 [rpc.mountd] Fake hostname homer.springfield for 10.0.0.102 - forward lookup doesn't match reverse
Oct 10 10:14:23 [rpc.mountd] refused mount request from 10.0.0.102 for /usr/local/share/mp3 (/): no export entry
Oct 10 10:14:23 [rpc.mountd] Fake hostname homer.springfield for 10.0.0.102 - forward lookup doesn't match reverse
Oct 10 10:14:23 [rpc.mountd] refused mount request from 10.0.0.102 for /usr/local/share/me (/): no export entry
Oct 10 10:14:23 [rpc.mountd] Fake hostname homer.springfield for 10.0.0.102 - forward lookup doesn't match reverse
Oct 10 10:14:23 [rpc.mountd] refused mount request from 10.0.0.102 for /usr/local/share/stock_photos (/): no export entry


The client machine was just telling me "permission denied"...which doesn't look exactly correct now...

...how can I resolve this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum