Operating System - HP-UX
1833238 Members
2741 Online
110051 Solutions
New Discussion

RPC program not registered

 
SOLVED
Go to solution
simon_164
Super Advisor

RPC program not registered

I want to mount a file system on both the client and the server.
I have done:
on the server side:

edit nfsconf.
nfs.server start
/etc/exports
exportfs -a

on the client side:
nfsconf
nfs.client start
mount server:/mount /mount
showmount -a gives me RPC program not registered.

if i try to mount it again it will tell me already mounted.
what have i done wrong ?
6 REPLIES 6
Pupil_1
Trusted Contributor
Solution

Re: RPC program not registered

On the server give exportfs command make sure that the directory has been shared.

From the client, give the command
showmount -e
to make sure that the share is visible !!

IF there are errors, check for the nfs process running, both on server and client.
There is always something new to learn everyday !!
Patrick Wallek
Honored Contributor

Re: RPC program not registered

Check your /etc/rc.config.d/nfsconf on the client and see what START_MOUNTD is set to.

If it is '0' then you need to make it '1'.

START_MOUNTD=1

Then umount your NFS mountpoint, stop and restart the nfs.client and then try mounting the NFS share again.
Pupil_1
Trusted Contributor

Re: RPC program not registered

I think the problem you are having is with the nfs deamons. Looks like they are not running.

check for nfs processes running on the client.

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start
showmount -e (should not have any errors)
mount :/ /.


use bdf to check that the nfs mount is available !!
There is always something new to learn everyday !!
simon_164
Super Advisor

Re: RPC program not registered

Dhanish / Patrick:

START_MOUNTD=1
showmount -e server : works fine
exportfs: works fine
the mount is shown in bdf.
but still the showmount command does not work. the problem is resolved when i start the nfs server.
if i start the nfs client alone there is no nfs running " ps -ef " how can i run them?
Pupil_1
Trusted Contributor

Re: RPC program not registered

Simon,
Only the server that is giving the data needs to run the nfsd (nfs.server deamon). This should be running when you share the data.

On the client side, only the nfs.client needs to be running. This will handle the mount requests !!

unmount /
ensure that the is shared (exportfs)
(should see the shared directory !!)
On the client, mount :/ /

There is always something new to learn everyday !!
simon_164
Super Advisor

Re: RPC program not registered

Dhanish:
The share is shared -- exportfs shows the files shared.
When i mount the share on the client, I have no errors everything works fine, I can even see the files and change them " the files that are shared" . However when i try to make from the client side:

showmount : i get the error RPC...
showmount -a: same error
showmount -e: same error
showmount -e server: no error

from the server side no errors at all.