LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-11-2009, 11:33 PM   #1
linuxsys
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
NFS mount : reason given by server: Permission denied


Hi,

I facing the problem when I am trying to mount the shared directory from server 1 to server 2. But I am able to successfully mount the shared directories from server 2 to server 1. please help me in this one

Below are the out put of /etc/exports of server 1
/test *(rw,sync,no_root_squash)

Below is the out put of showmount -e localhost
/test *

Regards,
Prabhu H
 
Old 05-12-2009, 01:03 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Check the firewalls on both systems.
Also check all services are running eg nfs, nfslock, portmap. See also tcp_wrappers (hosts.allow, hosts.deny)
 
Old 05-12-2009, 01:47 AM   #3
linuxsys
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Hi

All the services are running fine on the both the servers, and there are no entries in the host.allow and host.deny on both the servers

-Prabhu H
 
Old 05-12-2009, 02:53 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
What about the firewalls (iptables -L ) ?
 
Old 05-12-2009, 06:09 AM   #5
linuxsys
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
hi,

below is the iptables details

#iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

out put is same for the both the servers

-Prabhu H
 
Old 06-09-2009, 11:07 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
iptables -L
lists only the default filter table; if you want the full picture of the state of your FW, you need something like:

Code:
for T in filter nat mangle raw
do
  echo -e "============\n$T\n------"
  iptables -L -t $T 
done  | less
 
Old 06-09-2009, 11:13 AM   #7
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
What command are you using to mount?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount : ... failed, reason given by server: Permission denied knaries2000 Linux - Networking 4 06-25-2013 11:33 AM
NFS mount failed, reason given by server: Permission denied alirezan1 Linux - Newbie 5 12-13-2012 02:57 AM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: localhost:/etc failed, reason given by server: Permission denied Ten Inch Hero Linux - Networking 2 03-19-2009 11:15 PM
reason given by server: permission denied scottsteibel Linux - Newbie 2 11-26-2003 02:17 PM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration