Solved

NFS Portmap: RPC: Program not registered

Posted on 1998-01-28
5
510 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

The DSL Parameters part of this article is valid and can be considered with any brand of internet router and modem (Dlink, 3com, Alcatel, Usrobotics, Parks), by accessing the configuration interface available by the manufacturer eg: http://10.1.1.1 …
Article by: IanTh
Hi Guys After a whole weekend getting wake on lan over the internet working, I thought I would share the experience. Your firewall has to have a port forward for port 9 udp to your local broadcast x.x.x.255 but if that doesnt work, do it to a …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now