Can't recover database - ORA-0610
Oracle 11g
Win 2008
Can't recover database after db crashed last night.
Database dismounted.
ORACLE instance shut down.
SQL> connect sys/sys as sysdba
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 6847938560 bytes
Fixed Size 2188768 bytes
Variable Size 4798286368 bytes
Database Buffers 2030043136 bytes
Redo Buffers 17420288 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open NORESETLOGS;
alter database open NORESETLOGS
ERROR at line 1:
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
When I try to create backup contriol file, I get os error:
SQL> alter database backup controlfile to '
2 F:\app\oradata\AHRPROD\control02.ctl';
alter database backup controlfile to '
ERROR at line 1:
ORA-01580: error creating control backup file
F:\app\oradata\AHRPROD\control02.ctl
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is
incorrect.
805758 wrote:
Here is the original error I got this morning:
Status Failed
Details ORA-01033: ORACLE initialization or shutdown in progress (DBD ERROR: OCISessionBeginsqlplus
/ as sysdba
shutdown abort
startup
exit
COPY commands (above) & results then PASTE all back here
Similar Messages
-
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 -
Can i recover my databse on linux with 10g from backup solaris 8 with oracle 9i
or
can i recover my database on linux with oracle10g copying datafiles from solaris8 with oracle 9iAdigozalov Gurban wrote:
Can i recover my databse on linux with 10g from backup solaris 8 with oracle 9i
or
can i recover my database on linux with oracle10g copying datafiles from solaris8 with oracle 9iYou can use expdp/impdp(exp/imp) utilities.Just copying datafiles that is not possible.However there is a way to convert database(datafile) to other platform using RMAN,but in your case that is not possible due to your ORACLE version is different. -
I can't create database - ORA-604 and ORA-1519
*** SESSION ID:(9.5) 2006-02-01 16:00:17.093
ORA-00604: error occurred at recursive SQL level 1
ORA-00000: normal, successful completion
Offending statement at line 647
create tablespace SYSTEM datafile '/u03/oradata/MMSTUS/system01.dbf' SIZE 200M
AUTOEXTEND ON NEXT 1024M MAXSIZE 4096M
default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 647
ORA-00604: error occurred at recursive SQL level 1
ORA-00000: normal, successful completion
Any Ideas?Here is my create database script:
startup nomount pfile="$ORACLE_HOME/dbs/initMMSTUS.ora";
CREATE DATABASE MMSTUS
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 255
MAXLOGMEMBERS 5
MAXDATAFILES 1024
DATAFILE '/u03/oradata/MMSTUS/system01.dbf' SIZE 200M
AUTOEXTEND ON NEXT 1024M MAXSIZE 4096M
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE TEMP
TEMPFILE '/u03/oradata/MMSTUS/temp01.dbf' SIZE 200M
AUTOEXTEND ON NEXT 1024M MAXSIZE 4096M
UNDO TABLESPACE "UNDOTBS1"
DATAFILE '/u03/oradata/MMSTUS/undotbs01.dbf' SIZE 200M
AUTOEXTEND ON NEXT 1024M MAXSIZE 4096M
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 ('/u02/oralog/MMSTUS/mmstus_redo1_1A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_1B.log') SIZE 100M ,
GROUP 2 ('/u02/oralog/MMSTUS/mmstus_redo1_2A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_2B.log') SIZE 100M ,
GROUP 3 ('/u02/oralog/MMSTUS/mmstus_redo1_3A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_3B.log') SIZE 100M ,
GROUP 4 ('/u02/oralog/MMSTUS/mmstus_redo1_4A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_4B.log') SIZE 100M ,
GROUP 5 ('/u02/oralog/MMSTUS/mmstus_redo1_5A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_5B.log') SIZE 100M ,
GROUP 6 ('/u02/oralog/MMSTUS/mmstus_redo1_6A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_6B.log') SIZE 100M ,
GROUP 7 ('/u02/oralog/MMSTUS/mmstus_redo1_7A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_7B.log') SIZE 100M ,
GROUP 8 ('/u02/oralog/MMSTUS/mmstus_redo1_8A.log',
'/u03/oralog/MMSTUS/mmstus_redo1_8B.log') SIZE 100M ; -
Dear experts,
I have a problem to open my database. ORA-01033: ORACLE initialization or shutdown in progress. I have restarted server many times. I tried several ways but no joy. Please see the steps I did to solve this -
SQL> connect dmadmin /mypwdx89 as sysdba
Connected.
SQL> STARTUP MOUNT
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> ALTER DATABASE OPEN;
ALTER DATABASE OPEN
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF'
SQL> RECOVER DATABASE;
ORA-00279: change 149935494 generated at 06/10/2009 17:05:33 needed for thread 1
ORA-00289: suggestion :
C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_06_23\O1_MF_1_
673_%U_.ARC
ORA-00280: change 149935494 for thread 1 is in sequence #673
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_06_10\O1_MF_1
_673_530WXF9P_.ARC'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
SQL> select * from v$controlfile;
STATUS
NAME
IS_
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL01.CTL
NO
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL02.CTL
NO
STATUS
NAME
IS_
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL03.CTL
NO
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
SQL> select name from v$controlfile;
no rows selected
SQL>
SQL> alter database mount;
Database altered.
SQL> select name from v$controlfile;
NAME
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL01.CTL
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL02.CTL
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL03.CTL
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF'
SQL>
The I tried to recover datafile
SQL> Recover datafile '<datafile-name>';
again error - even can not open data file ...i restarted server .. no use..same error.
Please help to resolve this issue.
Regards,
Ranjith JohnHi All,
Please see the alert log file ..file size is already few GBs now. There are errors in the file.
It says - ORA-19815: WARNING: db_recovery_file_dest_size of 10048576000 bytes is 100.00% used, and has 0 remaining bytes available.
so, i guess the back up was not done .please help to resovle this issue.
ARC1: Error 19809 Creating archive log file to 'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_04_14\O1_MF_1_37_U_.ARC'
ARC1: All standby destinations failed; successful archival assumed
ARC1: Failed to archive log 1 thread 1 sequence 37 (19809)
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc1_1352.trc:
ORA-16038: log 1 sequence# 37 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\REDO01.LOG'
Tue Apr 14 11:46:51 2009
ARC0: Evaluating archive log 1 thread 1 sequence 37
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc0_3828.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 10048576000 bytes is 100.00% used, and has 0 remaining bytes available.
You have the following choices to free up space from
flash recovery area:
1. Consider changing your RMAN retention policy.
If you are using dataguard, then consider changing your
RMAN archivelog deletion policy.
2. Backup files to tertiary device such as tape using the
RMAN command BACKUP RECOVERY AREA.
3. Add disk space and increase the db_recovery_file_dest_size
parameter to reflect the new space.
4. Delete unncessary files using the RMAN DELETE command.
If an OS command was used to delete files, then use
RMAN CROSSCHECK and DELETE EXPIRED commands.
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc0_3828.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 10017792 bytes disk space from 10048576000 limit
ARC0: Error 19809 Creating archive log file to 'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_04_14\O1_MF_1_37_U_.ARC'
ARC0: All standby destinations failed; successful archival assumed
ARC0: Failed to archive log 1 thread 1 sequence 37 (19809)
Regards,
Ranjith John -
Recover database from archive log: Time based recovery
Hi,
Could you pelase help regarding the following:
I have power outage in my machine running oracle 9i on Solaris OS 9
Oracle is mounted but failed to open
Once it is started showing the error message
SQL> startup;
ORACLE instance started.
Total System Global Area 9457089744 bytes
Fixed Size 744656 bytes
Variable Size 3154116608 bytes
Database Buffers 6291456000 bytes
Redo Buffers 10772480 bytes
Database mounted.
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4: '/opt/oracle/oradata/sysdb/indx/indx01.dbf'
So I tried to recover the database
SQL> recover database;
ORA-00279: change 1652948240 generated at 12/03/2007 13:09:08 needed for thread
1
ORA-00289: suggestion : /opt/oracle/oradata/nobilldb/archive/1_183942.dbf
ORA-00280: change 1652948240 for thread 1 is in sequence #183942
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 1652948816 generated at 12/03/2007 13:09:19 needed for thread
1
ORA-00289: suggestion : /opt/oracle/oradata/nobilldb/archive/1_183943.dbf
ORA-00280: change 1652948816 for thread 1 is in sequence #183943
ORA-00278: log file '/opt/oracle/oradata/nobilldb/archive/1_183942.dbf' no
longer needed for this recovery
The power outage at 16:00pm and the recovery archive log file '/opt/oracle/oradata/nobilldb/archive/1_183942.dbf' at 11 am
Always I am applying the next sequence it is giving the same message and asking the next sequence. I have more than 900 archive log from 11am to 4pm and each of them having the size of 100mb and it take 1 minute to get back from each to provide this error message.
How I can start my recovery from say 15:45 onwards until 16:15?
I have all archive logs in the proper destination.
Still my database is not opened and it is starts applying archive log since 5 hours back, please help me regarding this
Thanks in advanceWrong forum. Post your question in the following forum:
General Database Discussions -
How to recover database without controlfile and redo files?
Hi all,
If I just have datafiles using hot backup saving in another machine, and all files in current database were lost including data files,control files and redo log files .
How can I recover database just using hot backup datafiles? without control file, without redo files.
Your help is greatly appreciated.alter database backup control file to trace
SQL> alter database backup controlfile to trace;
Go to udump folder in oracle home folder check the trace file copy these lines
CREATE CONTROLFILE REUSE DATABASE "O10G1 NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 454
LOGFILE
GROUP 1 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO01.LOG' SIZE 10M,
GROUP 2 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO02.LOG' SIZE 10M,
GROUP 3 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO03.LOG' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSTEM01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\UNDOTBS01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSAUX01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\USERS01.DBF'
CHARACTER SET WE8MSWIN1252
Change the new database name abc
and REUSE replaced by SET and NORESTLOGS replaced by RESTLOGS above lines.
Save as C1.sql
C:\ set oracle_sid=instance name
C:\>sqlplus /nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Apr
11 06:44:28 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba;
Connected to an idle instance.
SQL> startup nomount
pfile='C:\oracle\product\10.1.0\admin\jeeno\pfile\jeenoinit.ora'
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
SQL> @c1.sql
Control file created.
SQL> alter database open resetlogs;
Database altered -
Recover Database complains of version
This is not technicaly a RMAN question but it seemed the most appropriate forum.
I am testing some database recovery scenarios so I know what I'm doing if I have a real problem.
I have a database that I have replicated to another machine and have current control files and archive logs, but am restoring an older set of datafiles to try and recover using the archive log information.
The archives were created on another server, but I have tried to mirror that install on a nother system. I have restored the control and archive log files from a more recent "hot" backup and the datafiles from an older "cold" backup. When I attempt a manual or auto recovery I get the following error:
ORA-00331: log version 8.1.0.0.0 incompatible with ORACLE version 8.0.5.0.0
ORA-00334: archived log: '/var/opt/oracle/admin/ORCL/arch/arch_1_34963.arc'
Both this instance and the instance that created the original files were backup up from are running 8.1.6.0.0
Any ideas why I would be seing this? I did a similar test about a month ago with no problems, I can't figure out what is different. Here is a log of the session: Sorry if the formatting get's mangled)
Oracle Server Manager Release 3.1.6.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
SVRMGR> connect internal
Connected.
SVRMGR> startup mount
ORACLE instance started.
Total System Global Area 55152624 bytes
Fixed Size 69616 bytes
Variable Size 15777792 bytes
Database Buffers 39124992 bytes
Redo Buffers 180224 bytes
Database mounted.
SVRMGR> select * from v$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
PL/SQL Release 8.1.6.0.0 - Production
CORE 8.1.6.0.0 Production
TNS for Solaris: Version 8.1.6.0.0 - Production
NLSRTL Version 3.4.0.0.0 - Production
5 rows selected.
SVRMGR> recover database
ORA-00279: change 2203988 generated at 01/30/2001 08:05:10 needed for thread 1
ORA-00289: suggestion : /var/opt/oracle/admin/ORCL/arch/arch_1_34963.arc
ORA-00280: change 2203988 for thread 1 is in sequence #34963
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00331: log version 8.1.0.0.0 incompatible with ORACLE version 8.0.5.0.0
ORA-00334: archived log: '/var/opt/oracle/admin/ORCL/arch/arch_1_34963.arc'
SVRMGR> set autorecovery on
Autorecovery ON
SVRMGR> recover database
ORA-00279: change 2203988 generated at 01/30/2001 08:05:10 needed for thread 1
ORA-00289: suggestion : /var/opt/oracle/admin/ORCL/arch/arch_1_34963.arc
ORA-00280: change 2203988 for thread 1 is in sequence #34963
ORA-00331: log version 8.1.0.0.0 incompatible with ORACLE version 8.0.5.0.0
ORA-00334: archived log: '/var/opt/oracle/admin/ORCL/arch/arch_1_34963.arc'
SVRMGR> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SVRMGR> exit
Server Manager complete.
nullDennis,
What about the compatible parameter in the init.ora? What is it set to on the new host?
Thanks. -
[HELP]Recover database from NOarchivelog
HAi all...
I run oracle 9.2.0.4 on linux, NOARCHIVELOG
I got this error when I tried to restore from my backup with create new control file.
SQL> Alter database open resetlogs
ORA-01113: file 1 need media recovery
ORA-01110: datafile 1: '/home/oracle/OraHome1/oradata/Mir/system01.dbf'
SQL> recover database;
ORA-00283: recovery session canceled due to error
ORA-01610: recovery using backup controlfile options must be done
SQL> recover database until cancel using backup controlfile;
ORA-00279: change 136236075 generated at 06/14/2006 19:23.03 need for thread 1
ORA-00289: suggestion: /home/oracle/Orahome1/dbs/arch_1053.dbf
ORA-00280: change 136236075 for thread 1 is in sequence #1053
specify log:
AUTO
ORA-00308: cannot open archived log '/home/oracle/OraHome1/dbs/arch1_1053.dbf'
ORA-27037: unable to obtain file status
Linux error; 2 : no such file or directory
ORA-01547: warning recover secceeded but open resetlogs would get error below
ORA-01194: file 1 need more recovery to be consistent
ORA-01110: data file 1; '/home/oracle/OraHome1/oradata/Mir/system01.dbf'
How I solve this?
Why the oracle ask me archivelog log file...? I'm using noarchivelog mode?
Regard
ERI got this error when I tried to restore from my backup with create new control file.Are you sure your backup is consistent cold backup.
Cause: An incomplete recovery session was started, but an insufficient number of logs were applied to make the file consistent. The reported file was not closed cleanly when it was last opened by the database. It must be recovered to a time when it was not being updated. The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery.
Action: Either apply more logs until the file is consistent or restore the file from an older backup and repeat recovery. -
Recover database oracle 9i Solaris 9
I am trying to recover my database. I get this error:
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
Pls assist.I supposed that you recover database using backup control files.
So you should to use the following
recover database using backup controlfile until cancel; -
Help me! ORA-01172 during database startup,and I can't recover it
Hi,
I use oracle 7.3.4.0.0 on Windows 2000 Adv server. My Cluster met some problem, the clustsvc quit unexpectedly,and cluster admin application hang, so I restarted the computer. But after I restart,I can't start my ORACLE_SID, I met ORA-01172, Instance recover stuck at block 49, file #1,can't aplly change SCN 0000000.0a435675,it isnot the next change,...ORA-00600 ....... My DB is NOARCHIVELOG, and file #1 is SYSTEM tablespace, and I have no recent copies of these datafiles. So I can't recover from the problem. I use dbverf73 checked all the datafiles, they all have no corrupt blocks. How can recover the database?
Please help me! A lot of thanks!Check Oracle support for the ORA-00600 error.
Recover a database without ARCHIVELOG and without a cold backup is impossible as far as i know...
Fred -
How can i recover my database after losing system data file.
hi everyone,
how can i recover my database in the following scenario.
1. offline complete backup taken 2 days ago. database was in archive mode.
2. today i lost my system data file, and also lost my all archived files.
3. i started up the database but, the following error was generated.
SQL> startup
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
4. i copied the system data file from backup and wrote the following statement, to recover the database.
SQL> recover datafile 1;
ORA-00279: change 2234434 generated at 07/15/2009 10:52:10 needed for thread 1
ORA-00289: suggestion : C:\B\ARC00051.001
ORA-00280: change 2234434 for thread 1 is in sequence #51
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
now i don't have any archive file. is there any chance to recover the database ?
R e g a r d s,
Asif Iqbal
Software Engineer,
Lucky Tex, Karachi,
Pakistan.now i don't have any archive file. is there any chance to recover the database ?If no archive log files are available you can't recover the datafile.You need to have all the archives from the time of offline backup was taken till the system datafile is lost.
Anand -
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
####################################################################################################################### -
Can I use RECOVER database command evenif there is no MEDIA FAILURE? [b]Urg
I need an urgent help from all the big guns out there?
My database is up and running, but still I want to recover the deletion of data that has been done on FRIDAY/SATURDAY/SUNDAY/MONDAY/TUESDAY/WEDNESDAY in other words I want the FRIDAY's state of the database.
Can I do it using the
"RECOVER DATABASE UNTIL TIME '2005-28-06-00:00:00' command?
Please guide me.
Thanks in advanceHi,
i assume you running your database in archive log mode and using rman to accomplish you task.i would say that you can recover your database even if there is no media faliur occurs,no doubt you can use this.i think you want to recover your database to the fridays state prior to the table deletion,so you get the tables back in your database.so what's a problem execut following.
run {
SET UNTIL TIME "TO_DATE('apr 03 2005 01:17:13','MON DD YYYY HH24:MI:SS')";
restore database ;
recover database ;
asuume in this example that you want to recover your database up to date aprail 3 and prior to 01pm time.
change the code according to your requirement.
thanks. -
After a recover database, how can I find the time of the last transaction?
After doing a restore and recovery. Is there something in the data dictionary that I can query to find the time of the last applied transaction that took place during the recover process?
restore database ;
recover database ;
For example, if I restored from a full backup on 8/3/2008 with archive redologs, I know my last restored transaction is from sometime on that day, but I'd like a way to know the hour:minute:second of the last transaction included in the backup and redologs that was applied to my restore. Is that possible?
The recover database applies all available redo logs for that day, but I want to know if that includes transaction up to 6PM, or 11:50PM, etc?
Thanks,
JasonIf you did only a "recover database" that would have been a Complete Recovery to the last transaction -- ie the point when the database was shutdown.
For an Incomplete Recovery, you would have to note the Sequence#, SCN or Timestamp of the recovery point.
Maybe you are looking for
-
I Can't get my iPhone to connect to wifi while my iPad and computer have no problem in connecting . The iPhone says it cannot pick up the network. I've tried rebooting several times but nothing works . Am I missing something ?
-
How to configure Business process to check attachment?
Hi All, I had created a simple business process. My requirement is that, application has to check attachment before send to review. Means before submitting my workflow to review, application has to check whether user had attached report or not? if re
-
I have a 2007 macbook that is stuck on the loading page and after a while it shuts down by itself. I don't know what to do anymore please help!!!
-
Installing/Implementing SAP on existing database?
Hello, I have been approached by a Consulting firm asking me this question: This organization already has a SQL server database and now they want to implement SAP system. Now, can they use their existing SQL Server database and we just install SAP Sy
-
How to build VI using XML commands
I would like to build vi's using XML commands. Can someone point towards tutorials, other info. Thanks, Kevin