View previous topic :: View next topic |
Author |
Message |
zambizzi Guru
Joined: 28 Aug 2004 Posts: 581 Location: Boise Idaho
|
Posted: Sun Oct 10, 2004 4:57 am Post subject: NFS mount: permission denied |
|
|
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! |
|
Back to top |
|
|
eelke Guru
Joined: 17 May 2004 Posts: 406 Location: Earth, Netherlands, Friesland
|
Posted: Sun Oct 10, 2004 7:14 am Post subject: |
|
|
Have you checked /var/log/messages on your server? Sometimes the messages in there are more helpful. |
|
Back to top |
|
|
zambizzi Guru
Joined: 28 Aug 2004 Posts: 581 Location: Boise Idaho
|
Posted: Sun Oct 10, 2004 9:11 am Post subject: |
|
|
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 |
|
|
eelke Guru
Joined: 17 May 2004 Posts: 406 Location: Earth, Netherlands, Friesland
|
Posted: Sun Oct 10, 2004 11:33 am Post subject: |
|
|
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 |
|
|
zambizzi Guru
Joined: 28 Aug 2004 Posts: 581 Location: Boise Idaho
|
Posted: Sun Oct 10, 2004 4:22 pm Post subject: oops |
|
|
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 |
|
|
|