ORA-01547 :warning recover succeeded but open resetlogs......
Hai All,
In a standby database I put a command
sql> recover standby database
auto
then error comes...
ORA-01547 :warning recover succeeded but open resetlogs......
ora-01152 : file1 was not restored from a sufficiently old bcakup
ora-01110 : datafile 1: d:\sfms\system01.dbf'
when the database open read only .. also this error comes...
How can I resolve....
Shiju
See Note:1070049.6
Similar Messages
-
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error be
Hi,
I am trying rman duplicate from RAC to NON-RAC and getting below error. Restore is successfull, but while recover i am getting below issue.
I referred tech note RMAN-06102 DURING DUPLICATE OR RESTORE [ID 436637.1]
I have tried until cancel using controlfile;
To Implement solution " I restored controlfie from the backup peice of contrll file" , Any pointers appreciated.
contents of Memory Script:
set until scn 5968419799614;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 19-FEB-11
starting media recovery
Oracle Error:
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: '/u01/oracle/PROD/db/clonedata/system01.dbf'
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/19/2011 14:39:27
RMAN-03015: error occurred in stored script Memory Script
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of log thread 2 seq 184399 lowscn 5968419794646 found to restore
RMAN-06025: no backup of log thread 2 seq 184398 lowscn 5968419759510 found to restore
RMAN-06025: no backup of log thread 2 seq 184397 lowscn 5968419736368 found to restore
RMAN-06025: no backup of log thread 2 seq 184396 lowscn 5968419726043 found to restore
RMAN-06025: no backup of log thread 2 seq 184395 lowscn 5968419705565 found to restore
RMAN-06025: no backup of log thread 2 seq 184394 lowscn 5968419678283 found to restore
RMAN-06025: no backup of log thread 2 seq 184393 lowscn 5968419665940 found to restore
RMAN-06025: no backup of log thread 2 seq 184392 lowscn 5968419647797 found to restore
RMAN-06025: no backup of log thread 2 seq 184391 lowscn 5968419630414 found to restore
RMAN-06025: no backup of log thread 2 seq 184390 lowscn 5968419626580 found to restore
RMAN-06025: no backup of log thread 2 seq 184389 lowscn 5968419593858 found to restore
RMAN-06025: no backup of log thread 2 seq 184388 lowscn 5968419527543 found to restore
RMAN-06025: no backup of log thread 2 seq 184387 lowscn 5968419501163 found to restore
RMAN-06025: no backup of log thread 2 seq 184386 lowscn 5968419485951 found to restore
RMAN-06025: no backup of log thread 2 seq 184385 lowscn 5968419469937 found to restore
RMAN-06025: no backup of log thread 2 seq 184384 lowscn 5968419440393 found to restore
RMAN-06025: no backup of log thread 2 seq 184383 lowscn 5968419422292 found to restore
RMAN-06025: no backup of log thread 2 seq 184382 lowscn 5968419397028 found to restore
RMAN-06025: no backup of log thread 2 seq 184381 lowscn 5968419366574 found to restore
RMAN-06025: no backup of log thread 2 seq 184380 lowscn 5968419352992 found to restore
RMAN-06025: no backup of log thread 2 seq 184379 lowscn 5968419338522 found to restore
RMAN-06025: no backup of log thread 2 seq 184378 lowscn 5968419326774 found to restore
RMAN-06025: no backup of log thread 2 seq 184377 lowscn 5968419313956 found to restore
RMAN-06025: no backup of log thread 2 seq 184376 lowscn 5968419300847 found to restore
RMAN-06025: no backup of log thread 2 seq 184375 lowscn 5968419282136 found to restore
RMAN-06025: no backup of log thread 2 seq 184374 lowscn 5968419265656 found to restore
RMAN-06025: no backup of log thread 2 seq 184373 lowscn 5968419254578 found to restore
RMAN-06025: no backup of log thread 2 seq 184372 lowscn 5968419229337 found to restore
RMAN-06025: no backup of log thread 2 seq 184371 lowscn 5968419218373 found to restore
RMAN-06025: no backup of log thread 2 seq 184370 lowscn 5968419178539 found to restore
RMAN-06025: no backup of log thread 2 seq 184369 lowscn 5968419167027 found to restore
RMAN-06025: no backup of log thread 2 seq 184368 lowscn 5968419143802 found to restore
RMAN-06025: no backup of log thread 2 seq 184367 lowscn 5968419139461 found to restore
RMAN-06025: no backup of log thread 2 seq 184366 lowscn 5968419133683 found to restore
RMAN-06025: no backup of log thread 2 seq 184365 lowscn 5968419099514 found to restore
RMAN-06025: no backup of log thread 2 seq 184364 lowscn 5968419094146 found to restore
RMAN-06025: no backup of log thread 2 seq 184363 lowscn 5968419072193 found to restore
RMAN-06025: no backup of log thread 2 seq 184362 lowscn 5968419055733 found to restore
RMAN-06025: no backup of log thread 2 seq 184361 lowscn 5968419047459 found to restore
RMAN-06025: no backup of log thread 2 seq 184360 lowscn 5968419005913 found to restore
RMAN-06025: no backup of log thread 2 seq 184359 lowscn 5968419001578 found to restore
RMAN-06025: no backup of log thread 2 seq 184358 lowscn 5968418983975 found to restore
RMAN-06025: no backup of log thread 2 seq 184357 lowscn 5968418950115 found to restore
RMAN-06025: no backup of log thread 2 seq 184356 lowscn 5968418945661 found to restore
RMAN-06025: no backup of log thread 2 seq 184355 lowscn 5968418909994 found to restore
RMAN-06025: no backup of log thread 2 seq 184354 lowscn 5968418891366 found to restore
RMAN-06025: no backup of log thread 2 seq 184353 lowscn 5968418884733 found to restore
RMAN-06025: no backup of log thread 1 seq 217710 lowscn 5968419793223 found to restore
RMAN-06025: no backup of log thread 1 seq 217709 lowscn 5968419779424 found to restore
RMAN-06025: no backup of log thread 1 seq 217708 lowscn 5968419776035 found to restore
RMAN-06025: no backup of log thread 1 seq 217707 lowscn 5968419775408 found to restore
RMAN-06025: no backup of log thread 1 seq 217706 lowscn 5968419774817 found to restore
MAN-06025: no backup of log thread 1 seq 217705 lowscn 5968419758
RMAN>thanks in advance.Hello,
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistentFrom the error ORA-01547 and ORA-01194 you got, it seems that the Database is still inconsistent and, you have to apply more Archived logs .
Then, you have the following error:
RMAN-06053: unable to perform media recovery because of missing logWhich says that some logs are missing. The error messages RMAN-06025 below give you the list of missing logs:
RMAN-06025: no backup of log thread 2 seq 184399 lowscn 5968419794646 found to restore
...Are you sure to have a Backup of all the needed Archived logs ?
You may execute this statement to check the contents of the RMAN Backup:
list backup of archivelog all;Hope this help.
Best regards,
Jean-Valentin -
FLASHBACK succeeded but OPEN RESETLOGS would get error
I have Windows XP with 10g 10.2.0.1.0.
Please read the message below and please shed a light. Thanks in advance.
SQL> flashback database to restore point before_alter;
flashback database to restore point before_alter
ERROR at line 1:
ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
below
ORA-01245: offline file 5 will be lost if RESETLOGS is done
ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'Hi,
Cause: An attempt was done to do an OPEN RESETLOGS with a file that will be
lost because it is offline.
The file was not taken offline with the DROP option.
Action: Either bring the file online and recover it, or take it offline with
the DROP option.
Tell me first, what is the reason that dat file 5 is offline. ?? Do you remember any thing at the time of restore point before_alter -> does the data file is online or offline. Make suer changes are persistent with respect to flashback.
- Pavan Kumar N
OCP- Oracle 9i/10g
http://oracleinternals.blogspot.com -
Error in Recover Database - ORA-01547 , ORA-01194 and ORA-01110
Hello folks,
I am facing a problem when recovering a database..
I made each tablespace in backup mode, then copied the datafile. I revert back the tablespace status to normal status.Once all datafiles are copied to target location, i created the control file from the source db.
I started the target db by
sqlplus "/ as sysdba"
then i executed the control file
SQL>@ctrlfile.sql
Control file got created.
SQL>recover database until cancel using backup controlfile;
it asked for archives. I gave the path one by one until everything was done.Now i gave 'cancel' as below.
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 377 needs more recovery to be consistent
ORA-01110: data file 377: '<path>/xxfndx01.dbf'
ORA-01112: media recovery not started
Could anyone please tell me where I went wrong and how can I move ahead from this stage???
Later on, when I gave open resetlogs, it gave the same error(as below)
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 377 needs more recovery to be consistent
ORA-01110: data file 377: '<path>/xxfndx01.dbf'
Please let me know the mistake I made, how to avoid that and how to proceed now ???
Thanks,
Cherrish Vaidiyan
[email protected]Hello Cherrish,
A very good question you have asked. I hope you realize that you're doing an incomplete recovery. There is some amount of information that is still there in the online redo-log, that would not be applied on your target db. Moreover when you're using backup controlfile, you do not know till which point you need to apply archive logs.
For incomplete recovery, Oracle for some reason has been very strict about the recover database command. i.e.
recover database using backup controlfile
recover database using backup controlfile until cancel
Is not same. It also applies to the command that you had given. By giving the command 'recover database using backup controlfile until cancel', you're telling Oracle that incomplete recovery is in process, and you would do resetelogs, to make sure all files are in sync. This is required when you have lost the redo-logs
In case you have just lost the control file. All latest redo-logs, archive-logs and datafiles are okay (or have been restored), then recover database using backup controlfile; would work perfectly okay. and resetlogs would not be required.. and that would be a complete recovery
I hope this all makes sense to you
Regards
Sudhanshu -
Recover database until cancel using backup controlfile Fails with ORA-01547
Hi
First of all, I'm sorry for posting in this community as my issue doesn't have any thing to do with Rman, but I couldn't find any more relative Community to post in
our System is Oracle EBS 11i and the OS on the production is AIX 5.2 / and the DR is 5.3 / DB version is 9i
we have our Oracle ERP scheduled using crontab to take a database COLD backup daily using gtar -cvzf .
yesterday I needed to clone the database only, so I used my usual method witch is
1) on the source SQL> alter database backup controlfile to trace as '<dest>/makecntrlfil.sql'
then you can delete the Commented header and change the first command from
"CREATE CONTROLFILE REUSE DATABASE <SOURCE> NORESETLOGS ..."
TO
CREATE CONTROLFILE SET DATABASE <TARGET> RESETLOGS <NO>ARCHIVELOG
2) de-compress the tgz files
3) on the target edit the $ORACLE_HOME/dbs/init<source>.ora, $ORACLE_HOME/environment file
4)run /ORACLE_HOME/appsutils/clone/bin/adcfgclone.prl
5) delete old controlfiles
6) on the database run the script you created on firs t step to create a new control fole
7)recover database until cancel using backup controlfile
8) alter database open resetlogs
add new temp file system
this way I used to do it
but yesterday when trying to execute recover database it didn't work, and gave this error
ORA-00279: change 6450277404 generated at 02/28/2013 02:47:56 needed for thread
1
ORA-00289: suggestion : /ERPDEV/DBASE/devdb/9.2.0/dbs/arch1_188462.dbf
ORA-00280: change 6450277404 for thread 1 is in sequence #188462
Specify log: {<RET>=suggested | filename | AUTO | CANCEL} >> I gave cancel >> so >>
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/ERPDEV/DBASE/SYS/devdata/system01.dbf'
nothing strange in the original alert log file in the time of taking the backup
So can You please tell me what maybe wrong and why it used to work before and now it's not
take in consideration that we are on archive log mode, but not using Rman or the archived Logs for backup and the sequence it needed ( 188462 ) is too old and already deleted on Production.the output of the sript
Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root ConcMgr will not work ConcMgr will not work ConcMgr will not work #####################################################
172.16.10.10:1.0
access control disabled, clients can connect from any host
You are running adstpall.sh version 115.19
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adapcctl.sh stop script returned:
adapcctl.sh version 115.54
Apache Web Server Listener :httpd ( pid 765998 ) is running.
Stopping Apache Web Server Listener (dedicated HTTP) ...
Apache Web Server Listener (PLSQL) :httpd ( pid 2830390 ) is running.
Stopping Apache Web Server Listener (dedicated PLSQL) ...
adapcctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adalnctl.sh stop script returned:
adalnctl.sh version
Shutting down listener process APPS_ABP.
adalnctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adtcfctl.sh stop script returned:
You are running adtcfctl.sh version 115.14
Shutting down TCF SocketServer for ABP on port -1.
adtcfctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adcmctl.sh stop script returned:
You are running adcmctl.sh version 115.28
Shutting down concurrent managers for ABP ...
Submitted request 7481224 for CONCURRENT FND SHUTDOWN
adcmctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfrmctl.sh stop script returned:
You are running adfrmctl.sh version 115.37
Stopping forms server for ABP on port 9003.
adfrmctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adrepctl.sh stop script returned:
You are running adrepctl.sh version 115.32
stopping Reports Server for ABP on port 7003.
kill -9 827420
Reports Server for ABP successfully stopped.
adrepctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmcctl.sh stop script returned:
You are running adfmcctl.sh version 115.19
Stopping forms load balancing client for ABP.
adfmcctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmsctl.sh stop script returned:
You are running adfmsctl.sh version 115.15
Stopping forms metrics server for ABP on port 9203.
adfmsctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/jtffmctl.sh stop script returned:
You are running jtffmctl.sh version 115.16
Shutting down Fulfillment Server for ABP on port 9303 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
All enabled services on this node are stopped.
Check logfile /ERPABP/APPL/abpcomn/admin/log/ABP_babtain-erp/04010130.log for details
Exiting with status 0
You are running addlnctl.sh version 115.7
Logfile: /ERPABP/DBASE/abpdb/9.2.0/appsutil/log/ABP_babtain-erp/addlnctl.txt
Shutting down listener process ABP ...
addlnctl.sh: exiting with status 0
You are running addbctl.sh version 115.10
Shutting down database ABP ...
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:36:25 2013
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
Database closed.
Database dismounted.
ORACLE instance shut down.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
addbctl.sh: exiting with status 0
You are running addbctl.sh version 115.10
Starting the database ABP ...
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:38:48 2013
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 6829474752 bytes
Fixed Size 742336 bytes
Variable Size 1493172224 bytes
Database Buffers 5324800000 bytes
Redo Buffers 10760192 bytes
Database mounted.
Database opened.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
addbctl.sh: exiting with status 0
You are running addbctl.sh version 115.10
Shutting down database ABP ...
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 01:39:08 2013
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
Database closed.
Database dismounted.
ORACLE instance shut down.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
addbctl.sh: exiting with status 0
root 2883784 2097278 0 01:39:54 - 0:00 grep abpappl
root 1425530 2097278 1 01:39:54 - 0:00 grep abpora
Taring /ERPABP/DBASE/SYS/abpdata
Mon Apr 1 01:39:54 SAUST 2013
Mon Apr 1 03:00:16 SAUST 2013
Taring /ERPDEV/DBASE/SYS/abpdata
Mon Apr 1 03:00:16 SAUST 2013
Mon Apr 1 03:10:18 SAUST 2013
Taring /ERPABP/DBASE/DATA/abpdata
Mon Apr 1 03:10:18 SAUST 2013
Mon Apr 1 04:51:04 SAUST 2013
Taring /ERPDEV/APPL/DATA/abpdata
Mon Apr 1 04:51:04 SAUST 2013
Mon Apr 1 05:02:58 SAUST 2013
You are running addbctl.sh version 115.10
Starting the database ABP ...
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 1 05:04:46 2013
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 6829474752 bytes
Fixed Size 742336 bytes
Variable Size 1493172224 bytes
Database Buffers 5324800000 bytes
Redo Buffers 10760192 bytes
Database mounted.
Database opened.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
addbctl.sh: exiting with status 0
You are running addlnctl.sh version 115.7
Logfile: /ERPABP/DBASE/abpdb/9.2.0/appsutil/log/ABP_babtain-erp/addlnctl.txt
Starting listener process ABP ...
addlnctl.sh: exiting with status 0
Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root Please Do not Forgot to run /usr/bin/runmwm as root ConcMgr will not work ConcMgr will not work ConcMgr will not work #####################################################
172.16.10.10:1.0
access control disabled, clients can connect from any host
You are running adstrtal.sh version 115.16
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adapcctl.sh start script returned:
adapcctl.sh version 115.54
Apache Web Server Listener is not running.
Starting Apache Web Server Listener (dedicated HTTP) ...
Apache Web Server Listener (PLSQL) is not running.
Starting Apache Web Server Listener (dedicated PLSQL) ...
adapcctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adalnctl.sh start script returned:
adalnctl.sh version
Checking for FNDFS executable.
Starting listener process APPS_ABP.
adalnctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adtcfctl.sh start script returned:
You are running adtcfctl.sh version 115.14
TCF SocketServer for ABP on port -1 is already started.
adtcfctl.sh: exiting with status 2
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adcmctl.sh start script returned:
You are running adcmctl.sh version 115.28
Starting concurrent manager for ABP ...
Starting ABP_0401@ABP Internal Concurrent Manager Default printer is noprint
adcmctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfrmctl.sh start script returned:
You are running adfrmctl.sh version 115.37
Starting forms server for ABP on port 9003.
adfrmctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adrepctl.sh start script returned:
You are running adrepctl.sh version 115.32
starting Reports Server for ABP on port 7003.
adrepctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmcctl.sh start script returned:
You are running adfmcctl.sh version 115.19
Starting forms load balancing client for ABP.
adfmcctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/adfmsctl.sh start script returned:
You are running adfmsctl.sh version 115.15
starting forms metrics server for ABP.
adfmsctl.sh: exiting with status 0
.end std out.
.end err out.
Executing service control script:
/ERPABP/APPL/abpcomn/admin/scripts/ABP_babtain-erp/jtffmctl.sh start script returned:
You are running jtffmctl.sh version 115.16
Validating Fulfillment patch level via /ERPABP/APPL/abpcomn/java Fulfillment patch level validated.
Starting Fulfillment Server for ABP on port 9303 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
All enabled services for this node are started.
Check logfile /ERPABP/APPL/abpcomn/admin/log/ABP_babtain-erp/04010505.log for details
Exiting with status 0
MWA Telnet Server Release: 1.0.8.4 [December 12th 2002] Mon Apr 1 05:06:01 SAUST 2013
9653.50 /store/abp/data/data_abpdata_010413.tgz
1089.50 /store/abp/data/datadev_abpdata_010413.tgz
0.04 /store/abp/data/mkctrl.sql
13309.38 /store/abp/data/sys_abpdata_010413.tgz
1000.25 /store/abp/data/sysdev_abpdata_010413.tgz
Mon Apr 1 05:06:01 SAUST 2013
####################################################################################################################### -
Recover database but don't have archive log file
Hi
I use old backup set in tape and restore all datafile completed but I cannot recover that show below errror in RMAN
RMAN> recover database;
Starting recover at 08-SEP-09
using channel ORA_DISK_1
starting media recovery
unable to find archive log
archive log thread=1 sequence=29166
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 09/08/2009 21:49:36
RMAN-06054: media recovery requesting unknown log: thread 1 seq 29166 lowscn 1648727512
But in backup set and include archive log already that don't have seq 29166 that have last seg is 29165 when I tyr recover in sqlplus that show below error
SQL> recover database using backup controlfile;
ORA-00279: change 1648727512 generated at 09/05/2009 00:02:07 needed for thread
1
ORA-00289: suggestion : /oradata/archive/hrprd/1_29166_671345511.arc
ORA-00280: change 1648727512 for thread 1 is in sequence #29166
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'/oradata/archive/hrprd/1_29166_671345511.arc'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
And I tried to open with reset log that show below error
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/oradata/data/hrprd/system01.dbf'
How can I do to open database?
Taohiko.taohiko wrote:
Hi Werner
I tried and show below error
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 1648727512 generated at 09/05/2009 00:02:07 needed for thread
1
ORA-00289: suggestion : /oradata/archive/hrprd/1_29166_671345511.arc
ORA-00280: change 1648727512 for thread 1 is in sequence #29166
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/oradata/data/hrprd/system01.dbf'
ORA-01112: media recovery not started
How to do next step?
TaohikoHi Taohiko
Have you made backup of all archived redo log files? If so, why this one was disappeared?
Have you applied all archived redo log files before that required archived redo log file?
Please try to recover the database using the following command:
RMAN> RESTORE DATABASE;
RMAN> RECOVER DATABASE UNTIL SEQUENCE 29166;
RMAN>ALTER DATABASE OPEN RESETLOGS; -
Hi,
while clonning(hot) the database i have got the above errors
i have given the command sql>alter database begin backup;
and coppied the all the dbf to paticular location.
and created contolfile trace, created pfile
and after that
exported the database export ORACLE_SID=clone
sql>startup nomount
sql>@contol.ctl--created contol file
nd given
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u01/ijmj/clone/system.dbf'
nd after that recreated contol file and given the cmd
SQL> RECOVER DATABASE using backup controlfile until cancel;
auto
got the error ora01547warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ora01195 online backup of file 1 needs more recovery to be consistent
ora 0110 data file 1: '/u01/ijmj/clone/system.dbHi,
Well, i assume that you still can perform recovery of your cloned database.
So, do perform the log switch, and copy all new (not copied yet) archive log files to target db.
Then issue the recover command and submit all remaining archive log, then 'cancel', and open with reset logs.
Otherwise, if you still have all archive logs since your previous hot backup, you could take a new hot backup of the problematic tablespace (with finishing with a log switch), and recover your database.
HTH,
Thierry -
Hi,
I have taken the RMAN backup from 9.2.0.4 database - moved to another server having 10.2.0.3. RMAN restore/recovery (incomplete) worked but database got terminated during "ALTER DATABASE OPEN RESETLOGS;".
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Fri Oct 26 14:49:23 2007
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Fri Oct 26 14:49:23 2007
Errors in file /opt/app/tmdsdb/ora01/Q0TEST/logs/bdump/q0test_psp0_24055.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 26454
ORA-1092 signalled during: alter database open resetlogs...
Anyone has any idea what to do? or is it possible?
Thanks in advance.
DaljinderThis is my question .....how can I do that. I did
1. restored database - using RMAN 10g
2. recovered using backup controlfile until cancel;
3. Tried to open "alter database open resetlogs;";
4. Got error.
5. tried to oprn "startup upgrade;"
SQL> startup upgrade;
ORACLE instance started.
Total System Global Area 520093696 bytes
Fixed Size 2031352 bytes
Variable Size 406847752 bytes
Database Buffers 109051904 bytes
Redo Buffers 2162688 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
So how can I do this..... -
hi,
we are facing the following problems again and again in cloning process.
we should the database properly and listener.then backup the files and transfer the files from source(instance name is pix) to target (instance name is prod).
os:red hat 4.2
db:9.2 no archivelog mode
SQL> startup nomount pfile=/prod/p02/oracle/proddb/9.2.0/dbs/initprod.ora
and created the controlfile and set the database name prod instead of pix
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/prod/p02/oracle/proddata/sys1.dbf'
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 8173880387520 generated at 11/30/2009 01:43:55 needed for
thread 1
ORA-00289: suggestion : /prod/p02/oracle/proddb/9.2.0/dbs/arch1_22.dbf
ORA-00280: change 8173880387520 for thread 1 is in sequence #22
then i shut the db and add the entires ALLOWRESETLOGS_CORRUPTION = TRUE inti initprod.ora
again i started the db.
SQL> startup nomount pfile=/prod/p02/oracle/proddb/9.2.0/dbs/initprod.ora
ORACLE instance started.
Total System Global Area 581506668 bytes
Fixed Size 452204 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
SQL> alter database mount;
Database altered.
SQL> alter database open resetlogs; After 10 to 10 minutes i got the following errors
alter database open resetlogs
ERROR at line 1:
ORA-03113: end-of-file on communication channel
SQL>
i got the alert.log info
Errors in file /prod/p02/oracle/proddb/9.2.0/admin/prod_oraapps/udump/prod_ora_25303.trc:
ORA-00600: internal error code, arguments: [2662], [1903], [557623276], [1903], [557640061], [41943049], [], []
Tue Dec 1 01:56:43 2009
Error 600 happened during db open, shutting down database
USER: terminating instance due to error 600
Instance terminated by USER, pid = 25303
ORA-1092 signalled during: alter database open resetlogs...
Tue Dec 1 02:01:43 2009
USER: terminating instance due to error 1092
Instance terminated by USER, pid = 25303
cat: tail: No such file or directory
cat: 50: No such file or directory
Edited by: user3266490 on Dec 1, 2009 2:47 PMSQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/prod/p02/oracle/proddata/sys1.dbf'
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 8173880387520 generated at 11/30/2009 01:43:55 needed for
thread 1
ORA-00289: suggestion : /prod/p02/oracle/proddb/9.2.0/dbs/arch1_22.dbf
ORA-00280: change 8173880387520 for thread 1 is in sequence #22
Try providing one of the online redo log files as input here and see if that helps in the recovery process. -
Routine AFPPRD has encountered a fatal error. ORA-22297: warning: Open LOBs
Hi,
Sometime we are getting this issue ORA-22297: warning: Open LOBs .Could you please help us on that .We are not able to get the report due to that issue.
Please suggest.
Regards
DasThe [url http://download.oracle.com/docs/cd/E11882_01/server.112/e17766/e19999.htm#sthref6563]docs state:
>
ORA-22297: warning: Open LOBs exist at transaction commit time
Cause: An attempt was made to commit a transaction with open LOBs at transaction commit time.
Action: This is just a warning. The transaction was commited successfully, but any domain or functional indexes on the open LOBs were not updated. You may want to rebuild those indexes.
>
I guess you have to do one of two things:
Find the piece of code that did not close a LOB properly and fix it.
Or alternatively catch the ORA-22297 exception in an exception handler and choose to ignore it so the rest of your code can continue. -
DBMS_BLOB: ORA-22297: warning: Open LOBs exist at transaction commit time
Hello
I've written this to get to understand BLOBS. I had intended it to take a VARCHAR2 string, convert it to RAW and write the contents to a blob.
However, DBMS_LOB.Write()) returns the error message "ORA-22297: warning: Open LOBs exist at transaction commit time". Can somebody put me right? Just why is this being returned?
Thanks in advance, Aidan
INSERT INTO BINARY (PK ,
BLOBDATA )
VALUES (1 ,
Empty_Blob());
/* Lock the row. */
SELECT BLOBDATADATA INTO V_Blob FROM BINARY WHERE PK = 1 FOR UPDATE;
/* Open the Lob. */
DBMS_LOB.OPEN (V_Blob, DBMS_LOB.LOB_READWRITE);
DBMS_LOB.WRITE (V_Blob ,
V_Length ,
V_Offset ,
UTL_RAW.CAST_TO_RAW (p_Data));
DBMS_LOB.CLOSE (V_Blob);I get the abocve error when running using the GUI
when running from command prompt i get the following
begin
-- Remove Application
wwv_flow_api.remove_flow(nvl(wwv_flow_application_install.get_application_id,99000));
end;
ORA-20001: Package variable g_security_group_id must be set.
ORA-06512: at "APEX_040200.WWV_FLOW_API", line 998
ORA-06512: at "APEX_040200.WWV_FLOW_API", line 1569
ORA-06512: at line 5
I am assuming there are some permissions problems
I have DBA role in Database
We are on databasae > 11 (11.0.2 i think)
My database DBA installed 4.2.2 but does know APEX real well he installed becasue he has SYS password which I am not privy to.
I was able to install Pacakaged appliaction.
Kind of Lost from Here.......
I am assuming i have a permissions error
I have DBA role in Database -
Recover Database after opening in Resetlog
Hi All,
Is it possible to recover datbase after opening it in resetlog.
Scenoria:
Due to some serious update exceuted on a particular table , I want to extract one table from previous day morning backup and apply archive still 4PM .
But after recovering the datbase still 2PM ..I opened the database with resretlog .
Now how can I apply archive generated after 2 clock.
Do I need to restore the database again?
ThanksDo I need to restore the database again?Yes. You have to restore the database and proceed until applying archive logs upto 4pm.
RESETLOGS - Updates all current datafiles and online redo logs and all subsequent archived redo logs with a new RESETLOGS SCN and time stamp.Archives the current online redo logs (or up to the last redo record before redo corruption if corruption is found), clears the contents of the online redo logs, and resets the online redo logs to log sequence 1. -
As my question asks, I followed instructions for creating an APP TAB for my web mail account, and succeeded but each time I close and re-open Firefox, the app tab disappears. Can someone tell me what I am doing wrong please?
For better or worse, I think it's part of the design for the app tabs to be window specific. I know my first reply didn't solve your problem, but that was one way that worked for me to get the app tabs back when I restarted Firefox. Also I noticed the tag for this post is Firefox 4. I've only tried it with Firefox 5.
I agree with you that the way it's working isn't ideal. For the time being, I've stopped using the app tabs. Maybe they'll fix/improve it soon. -
Error during restore/recovery and 'open resetlogs'
Hello forum. I'm attempting to restore a database to a new host and have run into an error during the opening of the database (with resetlogs). The renaming of the datafiles, restore, switching of datafiles, and recovery are all done by an rman script, the contents of which are below:
# Restore production database to DR site using file system
# instead of ASM
run {
set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
restore database;
switch datafile all;
recover database;
I get the following output:
RMAN> @/home/oracle/scripts/rman_dr.rman
RMAN> # Restore production database to DR site using file system
2> # instead of ASM
3> #
4> run {
5> set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
6> set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
7> set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
8> set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
9> set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
10> set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
11> set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
12>
13> restore database;
14> switch datafile all;
15> recover database;
16> }
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 03-JAN-08
Starting implicit crosscheck backup at 03-JAN-08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 651 objects
Finished implicit crosscheck backup at 03-JAN-08
Starting implicit crosscheck copy at 03-JAN-08
using channel ORA_DISK_1
Crosschecked 1 objects
Finished implicit crosscheck copy at 03-JAN-08
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /opt/oracle/product/10gR2/oradata/DB01/system.dbf
restoring datafile 00002 to /opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
restoring datafile 00003 to /opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
restoring datafile 00004 to /opt/oracle/product/10gR2/oradata/DB01/users.dbf
restoring datafile 00005 to /opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
restoring datafile 00006 to /opt/oracle/product/10gR2/oradata/DB01/file1.dbf
restoring datafile 00007 to /opt/oracle/product/10gR2/oradata/DB01/file2.dbfchannel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus
channel ORA_DISK_1: restored backup piece 1
piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus tag=20080101_LV0_DB
channel ORA_DISK_1: restore complete, elapsed time: 01:22:28
Finished restore at 03-JAN-08
datafile 1 switched to datafile copy
input datafile copy recid=14 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/system.dbf
datafile 2 switched to datafile copy
input datafile copy recid=15 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
datafile 3 switched to datafile copy
input datafile copy recid=16 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
datafile 4 switched to datafile copy
input datafile copy recid=17 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/users.dbf
datafile 5 switched to datafile copy
input datafile copy recid=18 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
datafile 6 switched to datafile copy
input datafile copy recid=19 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file1.dbf
datafile 7 switched to datafile copy
input datafile copy recid=20 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file2.dbf
Starting recover at 03-JAN-08
using channel ORA_DISK_1
starting media recovery
channel ORA_DISK_1: starting archive log restore to default destination
channel ORA_DISK_1: restoring archive log
archive log thread=2 sequence=1005
channel ORA_DISK_1: restoring archive log
archive log thread=1 sequence=1365
channel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus
channel ORA_DISK_1: restored backup piece 1
piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus tag=20080101_LV0_DB
channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc thread=1 sequence=1365
archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_2_1005_3qtshncz_.arc thread=2 sequence=1005
channel default: deleting archive log(s)
archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc recid=2418 stamp=643049236
unable to find archive log
archive log thread=1 sequence=1366
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/03/2008 16:47:22
RMAN-06054: media recovery requesting unknown log: thread 1 seq 1366 lowscn 181804603
RMAN> **end-of-file**
I searched for a decription of the 06054 error, and found that if the archive logs weren't available, then to run "alter database open resetlogs;", which I did. Here's the output:
RMAN> alter database open resetlogs;
database opened
RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
ORACLE error from target database:
ORA-06553: PLS-801: internal error [56319]
I've done all of this twice now, with the same result. I've googled PLS-801 and found more than a few instances of people getting this code, but not during a database open after a restore. Can anyone shed some light on what might have gone wrong? In the interest of brevity, I left out the rest of the restore process prior to running the database restore, but other than setting "compatible" and "db_recovery_file_dest_size", it was all by the book.
Thanks in advance.Thanks for the reply Pierre.
I am not using RMAN Duplicate. Yes, the source of the backup is an RAC. The destination is a single server, with the DB on the filesystem. Here's an overview of of the commands I ran and the procedure.
Copied tar'd backup controlfile and datafiles to destination machine. Untar'd. Install 10.2.0.1.0 on destination machine, patch to 10.2.0.2.0.
OS> sqlplus /nologin
SQL> alter system set compatible = '10.2.0.2.0' scope=spfile;
SQL> alter system set db_recovery_dest_file_size = '8g'; scope spfile;
SQL> shutdown immediate;
SQL> startup; (to verify changes took...)
SQL> shutdown immediate;
OS> Copy control file from untar'd dir and place in $ORACLE_HOME/dbs/, truncate name to c-DBID-date-00.
OS> rman target /
RMAN> startup nomount;
RMAN> set dbid <dbid from control file>;
RMAN> restore controlfile from autobackup; (finds control file with no problem...)
RMAN> alter database mount;
RMAN> @/home/oracle/rman_dr.rman (script cited in first post, to rename datafiles from ASM to filesystem, restore, switch files, and recover...)
RMAN> alter database open resetlogs; (as cited before...)
If I'm not using Duplicate and not specifying dates, the UNTIL/SET UNTIL commands aren't necessary, correct? -
Open resetlogs is not working when creating clone db with online backup
Hi All,
I am trying to create a clone database using hot backup of a database .
STEPS THAT I FOLLOWED
LET ----- >CURRENT_DB NAME=DEV
CLONE DATABASE NAME=DEVCLONE
steps PERFORMED FORM DEV DB
- put the database in backup mode using 'alter database begin backup'
- copy all the data files to a different folder
- during copy i have performed some operations on the DB (creating users, tables, dmls etc...)
- in between copying i also performed log switch
- after completion of copy , "alter database end backup"
- created a backup control file in a human readable format (alter database backup controlfile to trace as ........)
steps performed for clone DB side ((DEVCLONE)
- created a parameter file for the database .
- modified the backup control file so that it will point to the location of copied destination of datafiles
- set the ORACLE_SID
- then 'sqlplus / as sysdba
- starup nomount
- run the modified control file ( created a control file for the clone database)
- recover the database using "recover database using backup controlfile"
I have provided the archive files that it was asking for (archive logs that has been generated in DEV DB)
then i canceled the recovery by typing "cancel"
- recover database using backup controlfile until cancel;
then typed "cancel"
- then try to open the database with open resetlogs but it showed below error
alter database open resetlogs
ERROR at line 1:
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\DATA_GUARD\DEVHOT\SYSTEM01.DBF'
please help me on this ......
ThanksThanks , now i am able to open the DB in open reset logs mode .
Previously , when i had not taken the archive log after "alter database end backup" , i was not able to open the db with open resetlogs because the
fuzzy status of all the datafile headers were YES .
But after taking the archive log that got generated after "alter database end backup" and applying it on the clone db(Created with HOT backup ) the datafile_header status got changed from YES to NO .
So for that i am able to open the clone db with open resetlogs .
Can you please help me with a small description why this is happening ?
Thanks.......
Maybe you are looking for
-
How to change tree colors? example inside.
Hello, I was looking on the Internet to find the way to change background tree to specific colors, not the same color. Here is an example...: and here's another one: Thank you'll.
-
Importing vector image that can be edited in keynote 6
Hi All, I have a vector image (eps) that I'd love to put in my keynote 6 presentation. Need to be able to edit it. Struggling to find a way. I can get the image in, but not able to edit it. Any ideas?
-
Won't load past question mark, MacBook 13 2012
-
Is .class-active:hover good css?
I ran across some code for a menu that has this in the css: .ddmx .item1, .ddmx .item1:hover, .ddmx .item1-active, .ddmx .item1-active:hover { position:relative; display:block; padding:3px 10px 3px 10px; font:20px arial; background-color:#5B7893; col
-
Home Sharing with my PC & Macbook
I have successfully connected both my macbook and pc with the same itunes account for home sharing, both computers say they are home sharing is on, but both dont show the other computer and its library in the sidebar in itunes. what is my problem? an