LinuxQuestions.org
Review your favorite Linux distribution.
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 08-17-2005, 01:44 PM   #1
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Rep: Reputation: 15
mount: RPC: Program not registered


I'm trying to mount a share from one Mandrake 10 install on another and I keep getting this error. I'm having other issues with the server as well, like if I try to run a df -h my ssh session freezes and if I try to run rpm it freezes as well. I only have about 3GB of free space so I need to mount a share on a bigger server for a backup. I need to reboot the server to see if it'll clear it but before I do I want to back some of the info up in case it dies. I've verified that portmap, nfs, and rpc.mountd are all running. I've tried recycling the nfs services using /etc/init.d/nfs restart. For some reason I just can't get the command to work.

[root@server init.d]# mount -t nfs 10.x.x.101:/ /home/user1/mount
mount: RPC: Program not registered

[root@server init.d]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 869 mountd
100005 1 tcp 872 mountd
100005 2 udp 869 mountd
100005 2 tcp 872 mountd
100005 3 udp 869 mountd
100005 3 tcp 872 mountd

Other drives are mounted and functioning properly. I've mounted to this server in the past. Just to make sure nfs itself wasn't gummed up, I mounted a share from the server to one I was originally trying to mount and it was successful but it doesn't help as I still have to create the backups on the original server then move them off the share. Does anyone have any ideas as to what I can try that I haven't already?
 
Old 08-17-2005, 02:24 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Rep: Reputation: 30
A couple of things I see here, that you may try.
NFS is a bastard, just by the by.....

Firstly, you state that you have other files mounted on this machine. I would unmount them, as it seems though you are mounting / of that box - which presents a sort of weird conundrum - you have / mounted, but then you also have other dirs deeper in the FS mounted elsewhere - it's a lot for RPC to keep tabs on.

Secondly - omit the "-t nfs".
Mount can determine you mean NFS by the presence of the colon.

Lastly - do you have an entry for / in your /etc/exports file on the server? Does exportfs -a exit 0?
I would umount - on the client - all that you have NFS mounted from that server.
On the server, do an exportfs -ua
Then, remove all but / from the /etc/exports file (leave the perms - rw,root=*, etc....)
Rerun exportfs -a
Try again.

If that doesn't work - exportfs -ua
Restart NFS
exportfs -a

Good luck.
 
Old 08-17-2005, 02:36 PM   #3
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Original Poster
Rep: Reputation: 15
Well, I'm getting timeouts trying to unmount my mounts on the client. My exports file only has / listed and then two entries for two separate servers. exportfs -a shows some stats but no error codes; only suggestions on how to shore up some of my shares. The only connections to the box are at / and there are two mounts off server. I'm afraid I'm going to have to reboot it to get some of these freeze-ups to clear. Sheesh; wish me luck. Thanks for your reply.
 
Old 09-05-2005, 04:05 PM   #4
pgreenwood
LQ Newbie
 
Registered: Nov 2003
Location: Omaha, Nebraska USA
Distribution: Debian
Posts: 23

Rep: Reputation: 1
I got this error message when trying to mount an NFS share. This article

http://nfs.sourceforge.net/nfs-howto...eshooting.html

led me to my solution -- I had neglected to change my /etc/hosts.allow information when I changed the subnet of my network after installing a wireless router.
 
  


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 server: RPC: Program not registered burbank Linux - Networking 11 09-15-2011 03:04 PM
mount: RPC: Program not registered ritesh_aladdin Linux - Networking 7 10-01-2005 11:14 AM
NFS Portmap: RPC: Program not registered fibbi Linux - Software 2 08-12-2004 01:40 AM
Mount RPC : Program not registered phonecian Linux - Networking 2 08-29-2003 06:51 AM
mount: RPC: Program not registered madenan Linux - Software 2 08-16-2003 03:39 PM


All times are GMT -5. The time now is 05:51 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration