Link to home
Start Free TrialLog in
Avatar of monish
monish

asked on

NFS Portmap: RPC: Program not registered

The server and client both are alpha 300 machines running
OSF1 4.0

I get the message
"NFS Portmap: RPC: Program not registered"

when I try to run on client

# mount -t nfs server:/usr /tmp_mnt

I have mountd, nfsd running on server and in /etc/exports
I do have the client listed to mount the filesystem with the same priveleges as does root on the server.

Thanks for any ideas.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

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 monish
monish

ASKER

Hmm, Adding the line to the server
mountd stream rpc/tcp wait root /usr/etc/rpc.mountd mountd
to /etc/inetd.conf and HUPintg inetd didn't help.

I also added a line to /etc/services to the server
mountd          60/tcp          mountd

I still get the same error message.
Ups, I gave you an example. You need to check out if this is valid for you mashine.
After changing these files you need to HUP inetd, best you reboot.
This might be a little off but check your dfstab on your
server that is giving share i think it is that part that has
been either not shared properly or even if it has been u
have not killed the process and restarted them
/usr/sbin/biod
/usr/sbin/exportfs -a
/usr/sbin/nfsd 8
/usr/sbin/rpc.mountd
/usr/sbin/rpc.statd
/usr/sbin/rpc.lockd

or preferably if u can reboot the machine that way u can make sure it works.
This might be a little off but check your dfstab on your
server that is giving share i think it is that part that has
been either not shared properly or even if it has been u
have not killed the process and restarted them
echo "share -F nfs -o ro /export/apps" >> /etc/dfs/dfstab
shares /export/apps with read only option more options can be
added to either have rw for a particular server /machine etc
look at man dfstab or give scenario and i might be able to help.
please check the path of dfstab it might not be the same as i have mention on your os.

/etc/init.d/nfs.server start

or preferably if u can reboot the machine that way u can make sure it works.

good luck.