Solved

NFS Portmap: RPC: Program not registered

Posted on 1998-01-28
5
579 Views
Last Modified: 2013-12-23
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.
0
Comment
Question by:monish
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 10 total points
ID: 1583095
Your server does not have a service spcified in the portmaper configuratin file (usually /etc/inetd.conf). You should have somthing like:
  mountd stream rpc/tcp wait/lc root /usr/etc/rpc.mountd     mountd
0
 

Author Comment

by:monish
ID: 1583096
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.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1583097
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.
0
 

Expert Comment

by:nish
ID: 1583098
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.
0
 

Expert Comment

by:nish
ID: 1583099
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.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Let’s list some of the technologies that enable smooth teleworking. 
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question