3.17.2007

nfs / rcp / CDE issue

This problem seems to keep happening since this box was upgraded to 11.11.  The rpc/nfs daemons seem to restart at 00:05.  Killed all fin_wait_2 connections and restarted nfs/rpc daemons.:

stuff=$(/usr/bin/printf "%.2x%.2x%.2x%.2x%.4x%.2x%.2x%.2x%.2x%.4x\n" \
$(/usr/bin/netstat -an -f inet | /usr/bin/grep FIN_WAIT_2 | \
/usr/bin/awk '{print $4,$5}' | /usr/bin/sed 's/\./ /g'))

for x in $stuff
do
/usr/bin/ndd -set /dev/tcp tcp_discon_by_addr $x
done


 /sbin/init.d/nfs.server stop ; /sbin/init.d/nfs.client stop ; /sbin/init.d/nfs.core stop
 /sbin/init.d/nfs.core start ; /sbin/init.d/nfs.client start  ; /sbin/init.d/nfs.server start


solution:  It was being caused by a cronjob stopping and starting rpc, but was not doing it correctly.

No comments: