LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-09-2008, 08:01 PM   #1
methodtwo
Member
 
Registered: May 2007
Posts: 146

Rep: Reputation: 18
NFS not working


I'm using gentoo.I've just installed nfs-utils on my nfs client machine and on the nfs server machine, compiled i believe the necessary stuff in the ker nel for the server and client machines, but nfs is still not working. i get this error:
Code:
#mount xxx.xxx.xxx.xxx::/home/me /home/me/nfs
mount: mount to NFS server 'xxx.xxx.xxx.xxx' failed: RPC Error: program not registered.
I have all the necessary info in /etc/hosts and i also have the I.P address of the client along with the client daemons in /etc/hosts.allow.
Oh and i have port fowarding in my router for tcp port 2049
Please could anyone post me a method for how to check if i have all the necessary packages installed on both the client and server machines?.Any help would be great
Here are the excerts from the .config file for both the client and the server. The server's is
Code:
matt@novaexpress /usr/src/linux $ grep NFS .config
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_V4 is not set
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
and the clients is:
Code:
softmachine linux # grep NFS .config
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_COMMON=y
Thankx for any help and replies
 
Old 05-09-2008, 08:26 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have you exported the volumes you want to mount remotely? See /etc/exports on the server
 
Old 05-09-2008, 08:57 PM   #3
methodtwo
Member
 
Registered: May 2007
Posts: 146

Original Poster
Rep: Reputation: 18
Yes i have exported the files via /etc/exports
 
Old 05-09-2008, 11:20 PM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Did you see http://www.linuxquestions.org/questi...stered-368884/

Basically it suggests restarting the nfs services

I also think you need portmap installed

Last edited by billymayday; 05-09-2008 at 11:23 PM.
 
  


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 is not working nehra13 Linux - Networking 7 01-22-2008 01:15 PM
NFS stopped working John_Zbesko Linux - Server 1 09-18-2007 09:30 AM
NFS with Ubuntu not working? rm6990 Linux - Networking 2 01-24-2005 12:24 PM
Can't get NFS working properly Scruff Linux - Networking 8 02-08-2004 10:55 PM
nfs not working with slackware jakiel Linux - Networking 8 04-16-2003 05:31 PM


All times are GMT -5. The time now is 07:23 PM.

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