Operating System - HP-UX
1830899 Members
2910 Online
110017 Solutions
New Discussion

NFS Server cannot be started

 
Dennis To
New Member

NFS Server cannot be started

I am using HP-UX 10.20. One day, when I started the NFS server in SAM, I found that the status is still disabled, even though the nfs processes have all been started. I also could not mount the directories exported in the machine from other machine. Does anyone know why it is so ? And what file can I check for the reason ?
3 REPLIES 3
S.K. Chan
Honored Contributor

Re: NFS Server cannot be started

I've had this problem before using SAM. You'll have to check if rpc.mountd is started with -l option.
# ps -ef|grep rpc.mountd
If it is you have to kill it and start it up without the -l option.
Somehow SAM does not like the -l option in rpc.mountd.
Joseph Chakkery
Valued Contributor

Re: NFS Server cannot be started

Hello,

edit /etc/rc.config.d/nfsconf file
put NFS_SERVER=1 save the file.

Then run #/sbin/init.d/nfs.server start

This should enable nfs server.

Regards
Joe.
Knowledge is wealth
Roger Baptiste
Honored Contributor

Re: NFS Server cannot be started

Hi,

to make sure all your running NFS server daemons
are down, do a
/sbin/init.d/nfs.server stop
ps -ef |grep nfsd
ps -ef |grep rpc.mountd
ps -ef |grep rpc.lockd
ps -ef |grep rpc.statd

You can try a kill -9 , if
these processes are not down.
But, since this is a 10.20 box
where the NFS implementation
is flaky, i wouldn''t suggest
it , unless you are free to
reboot the box.

To start it do a
/sbin/init.d/nfs.server start

(set the NFS_SERVER=1 in the /etc/rc.config.d/nfsconf file)


HTH
raj
Take it easy.