Operating System - HP-UX
1847834 Members
5191 Online
104021 Solutions
New Discussion

NFS server will not start on HP-UX 11.22i

 
SOLVED
Go to solution
Greg Harte_1
New Member

NFS server will not start on HP-UX 11.22i

I cannot understand why the NFS server will not start.

The syslog reports:

Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9141]: Setting STREAMS-HEAD high water value to 65536.
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9142]: Cannot get address for transport tcp host \1 service nfsd
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9142]: Cannot establish NFS service over tcp: transport setup problem.
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: nfsd do_one mpctl succeeded: ncpus = 2.
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: nfsd do_one pmap 2
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: nfsd do_one pmap 3
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9148]: nfsd do_one bind 0
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: nfsd do_one bind 1
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: netdir_getbyname (transport udp, host/serv \1/nfsd), Bad file number
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: Cannot establish NFS service over udp: bind problem. Attempting older NFSD binding method.
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9148]: netdir_getbyname (transport udp, host/serv \1/nfsd), Bad file number
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9148]: Cannot establish NFS service over udp: bind problem. Attempting older NFSD binding method.
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: netdir_getbyname (transport udp, host/serv \1/nfsd), Address already in use
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9146]: Cannot establish NFS service over udp: bind problem. Exiting.
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9148]: netdir_getbyname (transport udp, host/serv \1/nfsd), Error 0
Jun 4 16:52:48 ca-hp01 /usr/sbin/nfsd[9148]: Cannot establish NFS service over udp: bind problem. Exiting.
8 REPLIES 8
Joseph Loo
Honored Contributor

Re: NFS server will not start on HP-UX 11.22i

hi,

refer to this post with similar problem as yours:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=104566

regards.
what you do not see does not mean you should not believe
Greg Harte_1
New Member

Re: NFS server will not start on HP-UX 11.22i

Joseph,

Thanks for replying.

I already read that posting, but there was no resolution to the problem.
Joseph Loo
Honored Contributor

Re: NFS server will not start on HP-UX 11.22i

hi,

please reply if there are any output:

# ps -ef|grep -i nfs
want to check if the nfskd daemon is running, if not,

# /sbin/init.d/nfs.core start

have u also recently patch the NFS portion for this server?

regards.
what you do not see does not mean you should not believe
Joseph Loo
Honored Contributor

Re: NFS server will not start on HP-UX 11.22i

hi,

u may also like to read this HP KB:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062906878

regards.
what you do not see does not mean you should not believe
Bharat Katkar
Honored Contributor
Solution

Re: NFS server will not start on HP-UX 11.22i

HI Greg,
I think you must have done this but just to revise all this for any unforcefull error's:

1. Configuration file in /etc/rc.config.d/nfsconf. Here check this parameters:
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16

2. There are three deamons associated with nfs.
nfs.core,nfs.server,nfs.client.
See if these are running and if not try restarting it :
# /sbin/init.d/nfs.core stop
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.core start
# /sbin/init.d/nfs.server start
3. Check /etc/exports file.
For proper files/directories to be exported and with what permissions.


Hope that helps.
Regards,


You need to know a lot to actually know how little you know
KapilRaj
Honored Contributor

Re: NFS server will not start on HP-UX 11.22i

Whever I came across the NFS problems the first check point for me is name resolution. Check your name services (hosts , bind) are working properly.

I would try a host & host to check this. If this is not correct , Add / remove necessary entries in /etc/hosts or bind.

Regds,

Kaps
Nothing is impossible
Ted Buis
Honored Contributor

Re: NFS server will not start on HP-UX 11.22i

You should really also consider upgrading to HP-UX 11.23.
Mom 6
Greg Harte_1
New Member

Re: NFS server will not start on HP-UX 11.22i

The problem turned out to be the nsswitch settings, I changed the order from
"NIS file" to "file NIS" and this seemed to solve the problem.

Thanks for all the replies.