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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to use rsh svrmgrl?

RE: How to use rsh svrmgrl?

From: Norrell, Brian <BNorrell_at_QuadraMed.com>
Date: Fri, 29 Dec 2000 18:37:19 -0600
Message-Id: <10725.125482@fatcity.com>


rsh connections do not necessarily run all the normal login script like .profile, so the environment is not always 100% there. Double-check which shell you are using and which scripts are run by rsh. Make sure $ORACLE_HOME and the like are getting set in those scripts.

Optionally, create a script that sets $ORACLE_HOME and the like the way you need them and calls server manager as the last step. then the rsh command calls the new script.

Brian Norrell
Senior Software Engineer
QuadraMed
972-831-6600

-----Original Message-----
From: yong huang [mailto:yong321_at_yahoo.com] Sent: Friday, December 29, 2000 5:35 PM
To: Multiple recipients of list ORACLE-L Subject: How to use rsh svrmgrl?

I have a requirement to run the backup script on a machine (indigopool below)
that backs up the database on a remote machine (ipweb3 below), because the tape
drive is attached to indigopool. The script has to be able to run queries and
startup/shutdown the database. So I decided to use remote shell, which fails:



indigopool:oracle> rsh ipweb3 /serv/oracle/OraHome1/bin/svrmgrl

Oracle Server Manager Release 3.1.6.0.0 - Production

Message 4505 not found; No message file for product=SVRMGR, facility=MGR

Error while trying to retrieve text for error ORA-12545 SVRMGR> connect internal
Message 701 not found; No message file for product=SVRMGR, facility=MGR

Message 701 not found; No message file for product=SVRMGR, facility=MGR

Error while trying to retrieve text for error ORA-12545 SVRMGR> exit
Message 37 not found; No message file for product=SVRMGR, facility=MGR


The Oracle software is installed on NetApp filer. Both ipweb3 and indigopool NFS-mount the filer on /serv. rsh works correctly on commands such as ls. ORACLE_HOME and ORALCE_SID are set to the remote database. Setting, unsetting
TWO_TASK or LD_LIBARARY_PATH makes no difference.

Thanks for any advice. Can Intelligent Agent somehow help?

Is it possible to remotely mount a tape drive?

Yong Huang
yong321_at_yahoo.com



Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: yong huang
  INET: yong321_at_yahoo.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Received on Fri Dec 29 2000 - 18:37:19 CST

Original text of this message

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