LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-01-2011, 09:31 AM   #1
zbamus
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Rep: Reputation: 0
Weird problem with NFS


Hi,

I am trying to setup NFS on Fedora 8 but i have a problem regarding the nfs service.

When i do a 'service rpcbind start' all services start well, same for 'service nfs start' and 'service nfslock start'.
The problem is, when i do a rpcinfo -p, i don't see the port 2049 open with nfs...

Here is what is see:

[root@nfs ~]# 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
100000 4 0 111 portmapper
100000 3 0 111 portmapper
100000 2 0 111 portmapper
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100005 1 udp 892 mountd
100005 1 tcp 892 mountd
100005 2 udp 892 mountd
100005 2 tcp 892 mountd
100005 3 udp 892 mountd
100005 3 tcp 892 mountd
100024 1 udp 32803 status
100024 1 tcp 45209 status

my export file is correct, and i my hosts.allow/deny files are empty.
And on the client side, when i try to mount, i have this error :

mount.nfs: mount to NFS server 'ec2-xx-xx-xx-xx.compute-1.amazonaws.com' failed: RPC Error: Program not registered

It's not a firewall problem because i have opened all the port to the correct ec2 instance.
i also have fixed ports for daemons but still doesn't work...

Any ideas?

Thanks!!
 
Old 02-01-2011, 09:35 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by zbamus View Post
Hi,

I am trying to setup NFS on Fedora 8 but i have a problem regarding the nfs service.

When i do a 'service rpcbind start' all services start well, same for 'service nfs start' and 'service nfslock start'.
The problem is, when i do a rpcinfo -p, i don't see the port 2049 open with nfs...

Here is what is see:

[root@nfs ~]# 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
100000 4 0 111 portmapper
100000 3 0 111 portmapper
100000 2 0 111 portmapper
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100005 1 udp 892 mountd
100005 1 tcp 892 mountd
100005 2 udp 892 mountd
100005 2 tcp 892 mountd
100005 3 udp 892 mountd
100005 3 tcp 892 mountd
100024 1 udp 32803 status
100024 1 tcp 45209 status

my export file is correct, and i my hosts.allow/deny files are empty.
And on the client side, when i try to mount, i have this error :

mount.nfs: mount to NFS server 'ec2-xx-xx-xx-xx.compute-1.amazonaws.com' failed: RPC Error: Program not registered

It's not a firewall problem because i have opened all the port to the correct ec2 instance.
i also have fixed ports for daemons but still doesn't work...

Any ideas?

Thanks!!
Check whether portmap service is running or not.

Code:
#service portmap status
If its not, then start the service.

Code:
#service portmap start
Start nfs again, then check.
 
Old 02-01-2011, 09:40 AM   #3
zbamus
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Portmap has been replaced by rpcbind since fedora 7 or 8
i already have restart my service in that order : rpcbind / nfs / nfslock.
 
Old 02-01-2011, 09:42 AM   #4
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by zbamus View Post
Portmap has been replaced by rpcbind since fedora 7 or 8
i already have restart my service in that order : rpcbind / nfs / nfslock.
And NFS client is installed on the system? from where you are trying to mount?
 
Old 02-01-2011, 09:47 AM   #5
zbamus
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
yes, i did a yum install nfs on the client to make sur, and it found nothing to install.

I already tried to remove/reinstall nfs with yum on the server side but didn't work.
 
Old 02-01-2011, 01:51 PM   #6
zbamus
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
any other ideas?
 
Old 02-02-2011, 01:51 AM   #7
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by zbamus View Post
any other ideas?
From the client, run this:

Code:
#showmount -e ip_of_the_server
What is the output?

And also, did you try mounting it with ip address? and check if mountd daemon is running on the server or not.

Last edited by Sayan Acharjee; 02-02-2011 at 02:05 AM.
 
Old 02-02-2011, 12:39 PM   #8
zbamus
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
# showmount -e 174.129.239.1
Export list for 174.129.239.1:
/var/www/test 10.124.47.130/32,174.129.210.22/32

and those 2 ip are pointing to the same machine, one is the public one and the other is the private.


i did try mounting with the ip address but still does not work, and yes mountd is running

it's only happening on 2 servers, whereas i manage to do it on 2 other servers... they are running the same OS fedora 8 but have different soft installed.
I really don't understand what's happening...
 
  


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
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
wierd nfs + mdadm bork (worked before) bobbens Debian 2 10-03-2005 03:17 PM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
Very Wierd NFS Problem in Suse 9.2 jayfoo Linux - Networking 0 12-08-2004 03:08 PM
wierd problem! jt1020 Linux - General 1 05-07-2003 11:29 AM

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

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