Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> rsh on Unix hangs - OT

rsh on Unix hangs - OT

From: VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com>
Date: Sun, 12 Jan 2003 23:08:41 -0800
Message-ID: <F001.0052D6C2.20030112230841@fatcity.com>

> 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.
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: VIVEK_SHARMA
  INET: VIVEK_SHARMA_at_infosys.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Jan 13 2003 - 01:08:41 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US