1833322 Members
2952 Online
110051 Solutions
New Discussion

NFS problem

 
Ramesh_27
Occasional Advisor

NFS problem

When i try to unmount from my HP-UX server i get these error messages. Can anyone throw some light on the same.

#umount prodsis2:/bigftp/flashemd
nfs umount: bindresvport: t_errno = 8
nfs umount: inform_server: Couldn't bind to a reserved port, rtn = -1

hawaii:/prodsis2/bigftp: umount prodsis2:/sis/data/prod/hostwkst/reman
nfs umount: bindresvport: t_errno = 8
nfs umount: inform_server: Couldn't bind to a reserved port, rtn = -1
3 REPLIES 3
Navin Bhat_2
Trusted Contributor

Re: NFS problem

Could you please post the contents of nsswitch.conf?
RAC_1
Honored Contributor

Re: NFS problem

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start

then try unmount it.

Anil
There is no substitute to HARDWORK
Todd Whitcher
Esteemed Contributor

Re: NFS problem

Hello,

The root of this issue appears to be the lack of available ports. umount needs to temporarily use a port in the reserved range (512- 1023) when doing the umount.

There is a known problem when using NIS as your primary name resolution resource.

Reserved ports are kept open by NIS until the calling process exits (typically
telnetd, rlogind, etc). A manual NFS mount or umount will request a port only for the
duration of the mount/umount process and then exit. Unfortunately this fails if no
ports are available. This can be seen with lsof

lsof -i UDP:512-1023 /* shows all ports 512 - 1023 in use */

Workaround: Do not use NIS as your primary / first policy for hosts: in nsswitch.conf.

You DNS or /etc/hosts would need to be able to resolve your NFS hosts.

This is resolved in HPUX 11.23

I'm not certain if this is your issue, but if it is test the workaround.


Hope this helps,

Todd