Monday, November 12, 2007

Daemons (NFS)

Server :
rpc.portmap
rpc.mountd, rpc.nfsd
rpc.statd, rpc.lockd (if necessary), and rpc.rquotad

Client:

rpc.lockd
rpc.statd

automount if using automounter.

Nfs lock problem

NFS PROBLEM:

while strating the nfslock service the output was

  1. service nfslock start

Starting NFS statd: statd: Could not chdir: No such file or directory [FAILED]


and dmesg shows something like this:-

lockd: cannot monitor 192.168.9.32 nsm_mon_unmon: rpc failed, status=-13

Solution:-

Follow the below mentioned steps to resolve the problem:-

  1. cd /var/lib/nfs
  2. mkdir statd
  3. chmod 700 statd
  4. touch state
  5. chmod 600 state
  6. service nfslock restart

No comments: