standby not open in read only mode [message #320135] |
Wed, 14 May 2008 03:05 |
malvika
Messages: 55 Registered: May 2008 Location: india
|
Member |
|
|
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-01154: database busy. Open, close, mount, and dismount not allowed now
SQL> recover managed standby database cancel;
Media recovery complete.
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/newdata/app/oracle/oradata/EASTLEG_PS/system01.dbf'
on EASTLEG database...........
>alter system switch logfile;
and again try on EASTLEG_PS
>alter database open read only;
but errr0rrrrrrrrrrr..........
[Updated on: Wed, 14 May 2008 03:16] Report message to a moderator
|
|
|
|
|
|
Re: standby not open in read only mode [message #320221 is a reply to message #320218] |
Wed, 14 May 2008 06:02 |
malvika
Messages: 55 Registered: May 2008 Location: india
|
Member |
|
|
SQL> recover managed standby database cancel;
Media recovery complete.
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/newdata/app/oracle/oradata/EASTLEG_PS/system01.dbf'
SQL> recover database using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-01666: controlfile is for a standby database
SQL> recover standby database;
ORA-00279: change 114732 generated at 05/14/2008 14:14:45 needed for thread 1
ORA-00289: suggestion :
/u02/app/oracle/admin/EASTLEG_PS/arch/arch_EASTLEG_PS_5.log
ORA-00280: change 114732 for thread 1 is in sequence #5
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/u02/app/oracle/admin/EASTLEG_PS/arch/arch_EASTLEG_PS_5.log
ORA-00308: cannot open archived log
'/u02/app/oracle/admin/EASTLEG_PS/arch/arch_EASTLEG_PS_5.log'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00308: cannot open archived log
'/u02/app/oracle/admin/EASTLEG_PS/arch/arch_EASTLEG_PS_5.log'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log
'/u02/app/oracle/admin/EASTLEG_PS/arch/arch_EASTLEG_PS_5.log'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/newdata/app/oracle/oradata/EASTLEG_PS/system01.dbf'
[Updated on: Wed, 14 May 2008 06:05] Report message to a moderator
|
|
|
|
|
|
Re: standby not open in read only mode [message #328450 is a reply to message #328285] |
Fri, 20 June 2008 04:14 |
ranvijaidba
Messages: 71 Registered: May 2008 Location: Bangalore
|
Member |
|
|
Database version=10.2.0.1.0
When i am trying to open the standby database in read only mode it is showing error:
SQL> startup nomount
ORACLE instance started.
Total System Global Area 369098752 bytes
Fixed Size 1249056 bytes
Variable Size 113246432 bytes
Database Buffers 251658240 bytes
Redo Buffers 2945024 bytes
SQL> alter database mount standby database;
Database altered.
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'F:\ORACLE\ORADATA\PRIMARY\SYSTEM01.DBF'
When i am trying to recover standby database it showing error:
SQL> recover standby database
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1: 'F:\ORACLE\ORADATA\PRIMARY\SYSTEM01.DBF'
There is no problem with archive log.Log are archived in both primary location and standby location.
|
|
|
|
|