Link to home
Start Free TrialLog in
Avatar of jwelter
jwelterFlag for United States of America

asked on

RPC: Program not registered

The share is created on the remote host.

in /etc/dfs/dfstab:
share -F nfs -o anon=0 -d "Comment" /dir

in /etc/dfs/sharetab:
/dir  -  nfs  anon=0  Comment

#share
-       /dir   anon=0   "Comment"

Yet, when I try to mount the share from any other machine, I get:
nfs mount: host_name: : RPC: Program not registered
nfs mount: retrying: /mount_point

help?

Thanks Gents & Gentles!

JW
Avatar of DracoX
DracoX


IIRC, you need to run shareall, and you need to make sure nfsd and mountd are running.

The quickest way to do this is to run
/etc/init.d/nfs.server start
Avatar of jwelter

ASKER

Bah!  Nevermind...  I had to reboot the box anyway, to take it down to swap out/in some RAM, and upon reboot, everything was fine.
NFS wasn't running at the time :)

/etc/init.d/nfs.server start
/etc/init.d/nfs.client start

would have resolved the problem :)

-Ryan
double-check your /etc/services files and verify that you have a entries for:

   sunrpc     111/udp     rpcbind
   sunrpc     111/tcp     rpcbind

Also, if rpc is running properly, you can run a 'ps -ef | grep rpc' and you should see a bunch of rpc related PIDs running.

HTH
Glad to hear it's working now, please accept an answer from someone to close the question out.

Thanks and have a good one.
Avatar of jwelter

ASKER

Well now I am faced w/ a conundrum.  There are bits of of all of your answers that I would like to award the points to, but I'm too new to know how to do that.  Are these "threads" moderated?  Is there a channel administrator that can divy up these points to all of these guys?  I think that would be fair.  If not, after a couple more days, if I don't see that it has been acquired by an admin & divided up & closed, i'll probably just give the answer to the first guy - DracoX.  Sorry, guys (and/or girls)...

JW
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jwelter

ASKER

OK, Thanks, modulo.  I don't, however, know how to find the area where I would post "Points for <expertname>" ???  Once I have that, then I could post that link back here!

Sorry, I hoped this was simple :(

JW

Just jump to this link:
https://www.experts-exchange.com/Operating_Systems/Solaris/
and select "Ask a question" to post such a Q :-)

modulo
Avatar of jwelter

ASKER

gotcha, now - thanks... ;)
Avatar of jwelter

ASKER

DracoX:

Pick up your points for your help here @:

https://www.experts-exchange.com/questions/20567491/Points-for-DracoX-RE-20557877.html

And thanks!

JW
Avatar of jwelter

ASKER

ryanf:

Pick up your points for your advice here @:

https://www.experts-exchange.com/questions/20567494/Points-for-ryanf-RE-20557877.html

And Thanks!

JW
Avatar of jwelter

ASKER

austimmatthews:

I'm sorry, apparently I can't award less than 20 points, because I'd like to give you a few just for your efforts, here.  Obviously, I was up and running before you had jumped in, but, I do appreciate your effort.  You got a lot of certs there, big guy!  (I'm Jealous!)  What goes around comes around, chief - thanks again...

JW