LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2005, 07:09 AM   #1
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
RPC not working


hi, i have been running a Linux server for quite a long time now its running sles9 no problem untill th other day. i have several other machines that have NFS shares mounted on them from the server or shall i say did!

the client machines are fine no problem whatsoever i even reinstalled one of them to make sure. the problem is the server. i have done some investigating and the reason i can no longer mount any NFS shares is because of RPC . viewed my /var/log/boot.msg and it says something along the lines of RPC not registered.

i have tried mounting the nfs share on the server but this still didnt work. so i did a search on LQ.org and came up with sort of an answere. i cleared the contents of my /etc/hosts.deny file and rebooted the server. and tried to mount the NFS share again localy on the server and it worked. but i still cant mount nfs from the client workstations and in the /var/log/boot.msg it still says RPC not registered.

i have gathered that it is something to do with the RPC not been registered but i dont have a clue how to fix this apart from reinstalling the server which i am not prepered to do.

the other day a changed some networking settings and this is when the problems accured but just incase if it was them i have reverted all settings back to what they where but i still have the same problem.

does any body have any ideas on how to get the RPC working again is this is a very annoying problem and in am completely stumped.

thanks in advance for any help

berrance
 
Old 10-10-2005, 09:20 AM   #2
ckeswani
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Rep: Reputation: 0
start all of the nfs programs

On suse, I believe you have to start several nfs programs include nfs and nfsserver
You can do this with
/etc/init.d/nfs start
/etc/init.d/nfserver start

You might want to poke around /etc/init.d and see if there are any other init scripts that start with nfs

ls /etc/init.d/nfs*

and start all of those.
 
Old 10-10-2005, 10:47 AM   #3
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
thanks but i have already tried that but it is alreday running.

the problem is definatly to do with RPC (Remote Preceadure Call, i think) not been registered, the only problem is i dont know how to register it or get it working. the annoying thing is it did work and has done for months!
 
Old 10-10-2005, 10:54 AM   #4
ckeswani
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Rep: Reputation: 0
is portmapd running?

/etc/init.d/portmapd status

RPC won't work with the portmap daemon which translates rpc program numbers into TCP ports.
 
Old 10-10-2005, 11:01 AM   #5
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
portmap is running but it has always ran even when i didnt have this problem with the RPC
 
Old 10-10-2005, 11:03 AM   #6
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
when i do rpcinfo -p i get this if this is any help


hull:~ # rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32773 status
100021 1 udp 32773 nlockmgr
100021 3 udp 32773 nlockmgr
100021 4 udp 32773 nlockmgr
100024 1 tcp 32818 status
100021 1 tcp 32818 nlockmgr
100021 3 tcp 32818 nlockmgr
100021 4 tcp 32818 nlockmgr
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100227 3 udp 2049 nfs_acl
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100005 1 udp 995 mountd
100005 1 tcp 998 mountd
100005 2 udp 995 mountd
100005 2 tcp 998 mountd
100005 3 udp 995 mountd
100005 3 tcp 998 mountd
 
Old 10-10-2005, 11:57 AM   #7
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
also there is no firewall running on either the server or on any clients
 
Old 10-10-2005, 12:25 PM   #8
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
does anybody know how i can start or register RPC?
 
  


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 RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 02:14 AM
mountd time out: "mount_nfs: bad MNT RPC: RPC: Timed out" on client brush Debian 1 10-15-2006 02:01 PM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 09:24 AM
fprintf is not working in rpc server pgm ratheesh Programming 1 01-08-2004 08:33 PM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:39 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
Open Source Consulting | Domain Registration