rsh on Unix hangs - OT

From: VIVEK_SHARMA (VIVEK_SHARMA@infosys.com)
Date: Mon Jan 13 2003 - 02:08:52 EST


> The problem with rsh is as follows.
>
> The actual script is as follows.
>
> echo "subbu"
> su finacle -c '. /etc/b2k/ncb/com/commonenv.com;cd
/finacle/ncb/b2kcomp1/3.0/bin;./stops'
> echo "After stops"
> sleep 5
> su finacle -c '. /etc/b2k/ncb/com/commonenv.com;cd
/finacle/ncb/b2kcomp1/3.0/bin;./runs'
> echo "after runs"
> echo subbu
>
> When I execute this script from a remote machine as
> rsh archie /finacle/services/failover/back110102/subbu.com
> The output is as follows
> subbu
> After stops
> after runs
> subbu
>
> After that that the rsh command is hanging. Actually it is running all the
commands of remote script and then it is hanging.
> Any pointers to solve this problem.
>
> This is required as a part of failover between two machines.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:34 EDT