Operating System - HP-UX
1822550 Members
3067 Online
109642 Solutions
New Discussion юеВ

RPC: Program not registered

 
SOLVED
Go to solution
Amal Perera
Occasional Contributor

RPC: Program not registered

I am issueing the showmount command and get the error "RPC: Program not registered". What can I do to get this program to work.

Thanks in advance.
5 REPLIES 5
Kofi ARTHIABAH
Honored Contributor
Solution

Re: RPC: Program not registered

I suspect that the mountd (rpc.mountd) daemons are not running on the server. verify by doing a ps -ef | grep mountd if you do not get anything back then you would have to start the rpc processes for nfs:

/sbin/init.d/nfs.server start
then run
rpcinfo -p
this should list all the rpc programs and their corresponding details... if you see entries for mountd and nfs then you are fine.

To make the above permanent, you will have to edit the /etc/rc.config.d/nfsconf and set the variables NFS_SERVER=1 and NFS_CLIENT=1

good luck.
nothing wrong with me that a few lines of code cannot fix!
A. Clay Stephenson
Acclaimed Contributor

Re: RPC: Program not registered

I'll bet you NFS server daemons are not running.

cd /sbin/init.d
./nfs.server stop
./nfs.server start

You might also check the settings in /etc/rc.config.d/nfsconf before you restart.

Clay
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: RPC: Program not registered

Hi Amal

Check for the daemons whther they are running or not .

ps -ef | grep mountd

Incase they are not running :
cd /sbin/init.d

./nfs.server start

ps -ef | grep mountd , this should make the rpc run. And also to make is permanent edit it in the /etc/rc.config.f/nfsconf .

Manoj Srivastava

Amal Perera
Occasional Contributor

Re: RPC: Program not registered

Thanks everyone. Your suggestions worked.