LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


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

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


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
Export list for
/cmn/NFS/lenny_rfs (everyone)

nmap reports that port 2049 is open and I've verified that using telnet 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 /tmp/miller
mount.nfs: access denied by server while mounting

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
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 206

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

Try this as root on the client:

mount -v -t nfs4 /tmp/miller
1 members found this post helpful.
Old 08-17-2012, 08:05 PM   #3
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


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
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

All times are GMT -5. The time now is 01:52 PM.

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