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

Home -> Community -> Usenet -> c.d.o.server -> Help! Prob. with svrmgrl, remsh and << EOF

Help! Prob. with svrmgrl, remsh and << EOF

From: <glenh_at_my-dejanews.com>
Date: Tue, 13 Apr 1999 15:36:16 GMT
Message-ID: <7evo9f$4dr$1@nnrp1.dejanews.com>

 Hi All,

  I've got a solaris 2.6 system, which has a problem using remsh.

  If we take this script

  #!/usr/bin/sh
  ${ORACLE_HOME}/bin/svrmgrl << EOF
  connect internal ;
  exit ;
  EOF   and run it from a shell prompt, it works fine. If you remsh <localhostname> <same script>, then we see an alltogether different behaviour (remsh'ing to the local host is just for example - I don't really want to remsh to a local system, but it makes things less complicated. The thing is, I have this same script working on 15 or so other systems (various hp-ux and solaris boxes) and I can't work out why it doesn't work on this one. The necessary environmental variables remain set with the remsh method.

  Here's the output from the working version <<<<

   Oracle Server Manager Release 2.3.4.0.0 - Production

   Copyright (c) Oracle Corporation 1994, 1995. All rights reserved.

   Oracle7 Server Release 7.3.4.3.0 - Production    With the distributed and parallel query options    PL/SQL Release 2.3.4.3.0 - Production

   SVRMGR> Connected.
   SVRMGR> Server Manager complete.

>>>>>

  Here's the exact same script, but run via remsh to the local host

<<<<<

   Oracle Server Manager Release 2.3.4.0.0 - Production

   Copyright (c) Oracle Corporation 1994, 1995. All rights reserved.

   Oracle7 Server Release 7.3.4.3.0 - Production    With the distributed and parallel query options    PL/SQL Release 2.3.4.3.0 - Production

   SVRMGR> MGR-11401: input error, unable to read input line    MGR-01508: unable to close the current file

>>>>>

  Any ideas or information would be much appreciated.

Cheers,
Glen.

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Tue Apr 13 1999 - 10:36:16 CDT

Original text of this message

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