Re: Automate rman login with shell script

From: sundar mahadevan <sundarmahadevan82_at_gmail.com>
Date: Mon, 12 Dec 2011 13:39:29 -0500
Message-ID: <CADmQEr4pbB_sUAHBERRJdR62fH9xVMAOLiNGcxX-74EnMGvJuA_at_mail.gmail.com>



Hi All,
I changed my script to connect differently and it works fine now. Attached new script as below. Thanks all for your help. Appreciate it. #!/bin/sh
. /u01/app/oracle/.profile1
${ORACLE_HOME}/bin/rman <<EOF
connect target sys/syspassword_at_cricprod_prim connect auxiliary sys/syspassword_at_cricprod_logstdby show all;
EOF On Mon, Dec 12, 2011 at 12:37 PM, sundar mahadevan < sundarmahadevan82_at_gmail.com> wrote:

> Forgot to add that i am on Oracle 11g Rel 2 EE on Suse Linux 11 x86_64.
> Thanks.
>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Dec 12 2011 - 12:39:29 CST

Original text of this message