LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-16-2012, 08:13 PM   #1
sean.miller
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
NSF server on LinuxMint13 Maya not allowing client connections


Hello,

I have setup a NFS server on a LinuxMint13 Maya box. When clients connect to it, they always get permission denied messages. Can someone help me figure out why this is happening?

Here are some details:

firewall is disabled

my /etc/exportfs file looks like this
/cmn/NFS/lenny_rfs *(rw,sync,no_root_squash,anonuid=0,anongid=0,subtree_check)

nfs-kernel-server and portmap are both running

showmount -e 192.168.2.106
Export list for 192.168.2.106:
/cmn/NFS/lenny_rfs (everyone)

nmap reports that port 2049 is open and I've verified that using telnet 192.168.2.106 2049 - it connects fine

I've run sudo exportfs -a and also rebooted the system

and finally, here is how I mount my nfs mount point

sudo mount 192.168.2.106:/cmn/NFS/lenny_rfs /tmp/miller
mount.nfs: access denied by server while mounting 192.168.2.106:/cmn/NFS/lenny_rfs

I forgot to mention that my home dir is encrypted, that is why I use /cmn/NFS/lenny_rfs. I have set the full path (/cmn/NFS/lenny_rfs) to mode 0777

thanks for your help
Sean Miller

Last edited by sean.miller; 08-16-2012 at 08:20 PM. Reason: forgot to provide some info
 
Old 08-17-2012, 08:08 AM   #2
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Rep: Reputation: 32
What version of NFS are you trying to use?

Try this as root on the client:

Code:
mount -v -t nfs4 192.168.2.106:/cmn/NFS/lenny_rfs /tmp/miller
 
1 members found this post helpful.
Old 08-17-2012, 08:05 PM   #3
sean.miller
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you Gattaca, running the nfs mount command as root solved the problem. Can't believe I was dumb enough not to realize it :-)

Sean M
 
  


Reply



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
Squid Proxy Server not allowing connections Mastermind- Linux - Networking 2 04-11-2012 08:28 AM
Samba server not allowing windows client to save files correctly royce2020 Linux - Server 6 11-07-2007 12:30 PM
Allowing connections to IMAP server? cypherc Linux - Newbie 4 05-16-2007 09:50 AM
RHEL5 - Allowing X connections on my server Digdis Red Hat 5 04-29-2007 12:19 AM
Server Not allowing any port connections. atomicx Linux - Networking 6 08-25-2006 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration