Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

unable to run 'alter database open' in RCV file

906746Jan 13 2012 — edited Jan 13 2012
hi,

my OS is Sun solaris,

DB version--10.2.0.2.0

i am trying to run a RCV file for offline backup through RMAN.
but when it never reaches to
alter database open;
the code is
connect target RMAN/*****@abcd

startup force dba;
shutdown immediate;
startup mount;

configure retention policy to recovery window of 31 days;
configure controlfile autobackup on;
configure default device type to sbt;
configure device type sbt parallelism 1;
configure channel device type sbt format '%d_%s_%t_%p';

RUN
{
set command id to 'RMAN off full to nsr';
backup database;
}    \\===============> full backup is successful here.

alter database open; //=================>but never reaches to this line

RUN
{
allocate channel d1 device type disk;
copy current controlfile to '/aib-oa/ar/oraA378/backup/copy_A378.ctl';
release channel d1;
}

allocate channel for maintenance device type disk;

RUN
{
delete noprompt backup of spfile completed before 'sysdate-7';
}
what's wrong with the script?

any help on this...

thanks
This post has been answered by Shivananda Rao on Jan 13 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2012
Added on Jan 13 2012
3 comments
240 views