Operating System - HP-UX
1822012 Members
3954 Online
109639 Solutions
New Discussion юеВ

Re: portmap is not running

 
SOLVED
Go to solution
Amit_44
Advisor

portmap is not running

hi Guys,

I am not able to mount the nfs share its giving the permission dined error.
after checking the rpcinfo -p found that the portmap is not running. even the binary of the portmap is not there.

could any one assist in this.

thanks in advance,
amit
10 REPLIES 10
spex
Honored Contributor
Solution

Re: portmap is not running

Hi Amit,

The portmap should be started via the NFS init script (/sbin/init.d/nfs.server). I'm not sure about the missing rpcbind binary.

PCS
A. Clay Stephenson
Acclaimed Contributor

Re: portmap is not running

Unless you are running a very old version of HP-UX, portmap functios have been replaced by rpcbind. Man 1m rpcbind for details. If rpcbind crashed (or were killed with kill -9) no cleanup would be done and you could not restart the daemon.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: portmap is not running

Unless you are running a very old version of HP-UX, portmap functions have been replaced by rpcbind. Man 1m rpcbind for details. If rpcbind crashed (or were killed with kill -9) no cleanup would be done and you could not restart the daemon.
If it ain't broke, I can fix that.
Amit_44
Advisor

Re: portmap is not running

yess, thats correct.

my main proble is, am not able to mount the NFS share, its giving me the "permission dineied" error and there is no other error.

#exportfs
/var/opt/ignite/recovery/archives/hp2006-d5g -anon=2,access=hp2006-d5g

#mount -F nfs 10.208.131.58:/var/opt/ignite/recovery/archives/punhp2006-d5g /test
Permission denied

-Amit
Peter Godron
Honored Contributor

Re: portmap is not running

amit,
unless you have a typing mistake your mount point names don't match!
You are exporting hp2006-d5g but trying to mount punhp2006-d5g.

Please confirm typing mistake.
Amit_44
Advisor

Re: portmap is not running

sorry,

there is no typing mistake. while editing the server name it happened.
spex
Honored Contributor

Re: portmap is not running

Hi,

Ensure correct permissions in /var/adm/inetd.sec.

PCS
Amit_44
Advisor

Re: portmap is not running

#cat /var/adm/inetd.sec
dtspc allow 127.0.0.1 loopback hp2600-d5h

Is it okay?

-amit
spex
Honored Contributor

Re: portmap is not running

Amit,

Yes, that's correct.

Also make sure the shared directory is at least o+r (e.g. 'chmod o+r /nfsshare').

PCS
Amit_44
Advisor

Re: portmap is not running

# ls -ld /var/opt/ignite/recovery/archives/hp2006-d5g
drwxrwxrwx 2 bin bin 96 Jan 4 11:52 /var/opt/ignite/recovery/archives/hp2006-d5g

no luck.