From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eskil Swahn Newsgroups: gmane.os.tru64.managers Subject: Strange rsh problem Date: Fri, 17 Jan 2003 00:02:54 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <001201c2bdb3$66f4a560$e9d543d5@starfleet> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1042758117 31176 80.91.224.249 (16 Jan 2003 23:01:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2003 23:01:57 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18ZJ1I-00086g-00 for ; Fri, 17 Jan 2003 00:01:56 +0100 Original-Received: (qmail 32070 invoked by uid 5); 16 Jan 2003 23:03:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 32047 invoked by uid 49493); 16 Jan 2003 23:03:06 -0000 Original-Received: from Eskil.Swahn@LDC.lu.se by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(1.8/5.0):. Processed in 0.432247 secs); 16 Jan 2003 23:03:06 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 16 Jan 2003 23:03:05 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H8T009QWXD4TO@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Thu, 16 Jan 2003 18:03:05 -0500 (EST) Original-Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H8T00F3FXCV5T@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Thu, 16 Jan 2003 18:02:57 -0500 (EST) Original-Received: from d1o985.telia.com (d1o985.telia.com [213.65.16.241]) by mailf.telia.com (8.12.5/8.12.5) with ESMTP id h0GN2sXY017472 for ; Fri, 17 Jan 2003 00:02:54 +0100 (CET) Original-Received: from starfleet (h233n2fls31o985.telia.com [213.67.213.233]) by d1o985.telia.com (8.10.2/8.10.1) with ESMTP id h0GN2sS16039 for ; Fri, 17 Jan 2003 00:02:54 +0100 (CET) Original-To: 'Tru64' X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Original-Recipient: Xref: main.gmane.org gmane.os.tru64.managers:2991 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2991 Hi! =A0 I am having a really confusing problem here with rsh. We have a DS25 = cluster V5.1A PK3 that we run Oracle Apps 11i on. Oracle has supplied a couple = of scripts to start/stop the different application servers involved and two wrapper scripts that execute all the individual scripts to do a complete startup and complete shutdown of all the Reports, Forms, Web servers etc involved. Both of these wrapper scripts work perfectly when executed = from the normal prompt but when I try to do this through =91rsh=92 (in the = backup script most needed), one of the scripts hangs and never releases the = prompt back so my backup script hangs at the very end. =A0 The scripts look like this in the interesting parts: =A0 for exe in `echo = /usr/users/oaa/applmgr/edancomn/admin/scripts/xxxx/*ctl.sh` do =A0 printf "Stopping $exe\n\n"; =A0 $exe start $unpw done =A0 A =91diff=92 between the working script (the stop script) and the none = working script (start) show only this (that is of interest as far as I can see, = the other stuff is just comments): =A0 55,56c58,59 <=A0=A0 printf "Stopping $exe\n\n"; <=A0=A0 $exe stop $unpw --- >=A0=A0 printf "Starting $exe\n\n"; >=A0=A0 $exe start $unpw =A0 I executed it like this (as root) =91su - applmgr =96c =93rsh othernode = start.sh userid/passwd=94=92 =A0 Is there some known issue with =91rsh=92 that causes this problem or am = I just being haunted by an evil troll here? =A0 I=92ll submit this tomorrow to support but I wouldn=92t mind the time at = all if I managed to solve this asap.. =A0 /Eskil =A0 =A0 Eskil Swahn =A0 LDC, Lund University =A0 Eskil.Swahn@LDC.lu.se http://www.ldc.lu.se/ Phone +46 46 222 49 86=20 Fax +46 46 13 82 25