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 -> Re: Help! Prob. with svrmgrl, remsh and << EOF

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

From: Gene Homan <homang_at_pcisys.net>
Date: Mon, 3 May 1999 20:38:16 -0600
Message-ID: <925786690.283.72@news.remarQ.com>


Fact is, the svrmgrl distributed with Oracle 7.3.4 had several problems (could not handle "tee", etc.). So many in fact that Oracle put out a patch for it.

Contact Oracle Support and ask for the svrmgrl 2.3.4.0.0 patch. Tell them to search on svrmgrl and tee and they should locate it with no problems.

Hope this helps.

Later,
Gene Homan....

eviva_at_my-dejanews.com wrote in message <7gk5fd$qf8$1_at_nnrp1.dejanews.com>...
>Hmm, looks like an stdio redirection problem........
>
>Your script seems to work well with older and newer versions of the
svrmgrl.
>Try installing Oracle patch 7344, this will update your svrmgrl.
>Run your script again then.
>
>I'm not an Oracle specialist but I've seem this problem before using Legato
>savepnpc-scripts for shutting-down and starting-up Oracle databases.
>
>Good Luck!
>
>With kind regards,
>
>Edvard Gooijenga
>Project Engineer
>Sun Microsystems Holland.
>
>----------------------------
>
>In article <7evo9f$4dr$1_at_nnrp1.dejanews.com>,
> glenh_at_my-dejanews.com wrote:
>>
>>
>> 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
>>
>
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Mon May 03 1999 - 21:38:16 CDT

Original text of this message

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