/etc/rc.d/rc.rpc looks for /sbin/rpc.portmap and /sbin/rpc.statd that should now be /sbin/rpcbind and /sbin/rpc.statd so the section of /etc/rc.d/rc.rpc like this rpc_start() { if [ -x /sbin/rpc.portmap -a -x /sbin/rpc.statd ]; then if ! ps axc | grep -q rpc.portmap ; then echo "Starting RPC portmapper: /sbin/rpc.portmap" /sbin/rpc.portmap fi if ! ps axc | grep -q rpc.statd ; then echo "Starting RPC NSM (Network Status Monitor): /sbin/rpc.statd" /sbin/rpc.statd fi else echo "WARNING: Cannot start RPC daemons needed for NFS. One or more of" echo " these required daemons is not executable or is not present" echo " on your system:" echo echo " /sbin/rpc.portmap or /sbin/rpc.statd" echo fi } rpc_stop() { killall rpc.statd 2> /dev/null sleep 1 killall rpc.portmap 2> /dev/null sleep 1 killall -9 rpc.statd 2> /dev/null # make sure :) sleep 1 killall -9 rpc.portmap 2> /dev/null # make sure :) sleep 1 } can be changed to this rpc_start() { if [ -x /sbin/rpcbind -a -x /sbin/rpc.statd ]; then if ! ps axc | grep -q rpcbind ; then echo "Starting RPC binder: /sbin/rpcbind" /sbin/rpcbind fi if ! ps axc | grep -q rpc.statd ; then echo "Starting RPC NSM (Network Status Monitor): /sbin/rpc.statd" /sbin/rpc.statd fi else echo "WARNING: Cannot start RPC daemons needed for NFS. One or more of" echo " these required daemons is not executable or is not present" echo " on your system:" echo echo " /sbin/rpcbind or /sbin/rpc.statd" echo fi } rpc_stop() { killall rpc.statd 2> /dev/null sleep 1 killall rpcbind 2> /dev/null sleep 1 killall -9 rpc.statd 2> /dev/null # make sure :) sleep 1 killall -9 rpcbind 2> /dev/null # make sure :) sleep 1 } and mounting your neighborhood friendly nfs share shouldn't hang... ... MultiMail, the new multi-platform, multi-format offline reader! === MultiMail/Linux v0.50 --- SBBSecho 2.33-Win32 * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
|