LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2010, 12:55 PM   #1
DD554
Member
 
Registered: May 2010
Location: Rome, Italy
Distribution: fedora, centos, debian.
Posts: 34

Rep: Reputation: 0
mount.nfs: access denied by server while mounting


Hi all. i set up a nfs server that is working locally only, on remote i get this :
root@poc ~]# mount -t nfs storage:/var/ftp/pub /net
mount.nfs: access denied by server while mounting storage:/var/ftp/pub
this is my exports file :
/var/ftp/pub/downloads 192.168.1.23(rw,sync)
/var/ftp/pub 192.168.1.23(ro,sync)
this is my rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 34910 nlockmgr
100021 3 udp 34910 nlockmgr
100021 4 udp 34910 nlockmgr
100021 1 tcp 55328 nlockmgr
100021 3 tcp 55328 nlockmgr
100021 4 tcp 55328 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 34684 mountd
100005 1 tcp 39595 mountd
100005 2 udp 34684 mountd
100005 2 tcp 39595 mountd
100005 3 udp 34684 mountd
100005 3 tcp 39595 mountd
100024 1 udp 34347 status
100024 1 tcp 52310 status

Firewall has 2049 open ONLY. other services suck as nfs or status, lockd have random ports, so firewalled.
Any idea?
 
Old 05-08-2010, 01:22 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Change the other services to static ports and open them on the firewall.
 
  


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
NFS mount failed, reason given by server: Permission denied alirezan1 Linux - Newbie 5 12-13-2012 03:57 AM
NFS mount : reason given by server: Permission denied linuxsys Linux - Newbie 6 06-09-2009 12:13 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 03:36 PM
mount.nfs: access denied by server while mounting mokrunka Linux - Networking 4 10-07-2008 01:53 AM
NFS Problem mounting 2 systems:Permission Denied by server meng_en Linux - General 3 09-24-2002 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:07 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