ORA-00312
Hello
My database was down so when i try to open i get the folwing error .When i try to recover the database also i get the same error.There are 2 databases under the same home.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-00314: log 2 of thread 1, expected sequence# 4 doesn't match 15
ORA-00312: online log 2 thread 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'
Did you do any restore or attempt to recover your db? The log sequence numbers are not matching. Can you post the alert log file's last few lines as well?
HTH
Aman....
Similar Messages
-
Ora 00364,ora 00305 ora 00312 errors in standby database
hii friends i got a problem in my standby database yesterday i performed database restoration activity, restoration is done and database is in MRM modemout stage, archive gap sequence is completed and is in synchronize with primary but suddenly after some time i got in alertlog media recovery waiting for thread one and from there its is showing nothing in alert log after stoping mrm and restarting database i got few errors please check them and suggest me some solution
alert log file
RFS[87]: Assigned to RFS process 7912
RFS[87]: Identified database type as 'physical standby'
Tue Jan 4 17:12:14 2011
RFS[87]: Archived Log: '/backup/standby_archivelogs/1_87532_622555682.dbf'
Tue Jan 4 17:12:17 2011
Media Recovery Log /backup/standby_archivelogs/1_87532_622555682.dbf
Media Recovery Waiting for thread 1 sequence 87533
Tue Jan 4 17:55:35 2011
alter database recover managed standby database cancel
Tue Jan 4 17:55:38 2011
MRP0: Background Media Recovery cancelled with status 16037
Tue Jan 4 17:55:38 2011
Errors in file /oracle/app/oracle/admin/****/bdump/*******mrp03017.trc:
ORA-16037: user requested cancel of managed recovery operation
Recovery interrupted!
Tue Jan 4 17:55:39 2011
Waiting for MRP0 pid 3017 to terminate
Tue Jan 4 17:55:39 2011
Errors in file /oracle/app/oracle/admin/****/bdump/****mrp03017.trc:
ORA-16037: user requested cancel of managed recovery operation
Tue Jan 4 17:55:39 2011
MRP0: Background Media Recovery process shutdown (****)
Tue Jan 4 17:55:40 2011
Managed Standby Recovery Canceled (****)
Completed: alter database recover managed standby database cancel
Tue Jan 4 17:55:56 2011
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
Tue Jan 4 17:55:56 2011
Attempt to start background Managed Standby Recovery process (****)
MRP0 started with pid=16, OS id=9300
Tue Jan 4 17:55:56 2011
MRP0: Background Managed Standby Recovery process started (****)
Managed Standby Recovery not using Real Time Apply
Tue Jan 4 17:56:01 2011
Errors in file /oracle/app/oracle/admin/****/bdump/****mrp09300.trc:
ORA-00367: checksum error in log file header
ORA-00305: log 2 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 2 thread 1: '/dev/vg04/rREDOR21'
Clearing online redo logfile 2 /dev/vg04/rREDOR21
Clearing online log 2 of thread 1 sequence number 87533
Tue Jan 4 17:56:01 2011
Errors in file /oracle/app/oracle/admin/*****/bdump/*****mrp09300.trc:
ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 2 thread 1: '/dev/vg04/rREDOR21'
Clearing online redo logfile 2 complete
Media Recovery Waiting for thread 1 sequence 87533
Tue Jan 4 17:56:02 2011
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
Tue Jan 4 17:57:56 2011
alter database recover managed standby database cancel
Tue Jan 4 17:57:56 2011
MRP0: Background Media Recovery cancelled with status 16037
Tue Jan 4 17:57:56 2011
Errors in file /oracle/app/oracle/admin/APMBDRDB/bdump/apmbdrdb_mrp0_9300.trc:
ORA-16037: user requested cancel of managed recovery operation
Recovery interrupted!
Tue Jan 4 17:57:57 2011
Waiting for MRP0 pid 9300 to terminate
Tue Jan 4 17:57:57 2011
Errors in file /oracle/app/oracle/admin/*****/bdump/*****mrp09300.trc:
ORA-16037: user requested cancel of managed recovery operation
Tue Jan 4 17:57:57 2011
MRP0: Background Media Recovery process shutdown (*****)
Tue Jan 4 17:57:58 2011
Managed Standby Recovery Canceled (*****)
Completed: alter database recover managed standby database cancel
Tue Jan 4 17:58:10 2011
Shutting down instance: further logons disabled
Tue Jan 4 17:58:10 2011
Stopping background process CJQ0
Tue Jan 4 17:58:10 2011
Stopping background process MMNL
Tue Jan 4 17:58:11 2011
Stopping background process MMON
Tue Jan 4 17:58:12 2011
Shutting down instance (immediate)
License high water mark = 3
Tue Jan 4 17:58:12 2011
Stopping Job queue slave processes
Tue Jan 4 17:58:12 2011
Job queue slave processes stopped
Tue Jan 4 17:58:12 2011
ALTER DATABASE CLOSE NORMAL
ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
Tue Jan 4 17:58:12 2011
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Tue Jan 4 17:58:17 2011
ARCH shutting down
ARC1: Archival stopped
Tue Jan 4 17:58:22 2011
ARCH shutting down
ARC0: Archival stopped
Tue Jan 4 17:58:24 2011
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Tue Jan 4 17:58:33 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =242
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 2000
sga_max_size = 3221225472
__shared_pool_size = 1006632960
shared_pool_size = 637534208
__large_pool_size = 503316480
large_pool_size = 503316480
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 3221225472
control_files = /dev/vg01/rCTRLR1, /dev/vg01/rCTRLR2, /dev/vg01/rCTRLR3
db_block_size = 8192
__db_cache_size = 1677721600
db_cache_size = 637534208
compatible = 10.2.0.1.0
log_archive_config = DG_CONFIG=(APMBPROD,APMBDRDB)
log_archive_dest_1 = LOCATION=/archive/archivelogs/ valid_for=(ONLINE_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=APMBDRDB
log_archive_dest_2 =
log_archive_dest_4 = service=APMBPROD LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=APMBPROD
log_archive_max_processes= 2
standby_archive_dest = /backup/standby_archivelogs
fal_client = APMBDRDB
fal_server = APMBPROD
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
job_queue_processes = 10
background_dump_dest = /oracle/app/oracle/admin/APMBDRDB/bdump
user_dump_dest = /oracle/app/oracle/admin/APMBDRDB/udump
core_dump_dest = /oracle/app/oracle/admin/APMBDRDB/cdump
audit_file_dest = /oracle/app/oracle/admin/APMBDRDB/adump
db_name = APMBPROD
db_unique_name = APMBDRDB
open_cursors = 300
pga_aggregate_target = 1703936000
PMON started with pid=2, OS id=9371
PSP0 started with pid=3, OS id=9373
MMAN started with pid=4, OS id=9375
DBW0 started with pid=5, OS id=9377
LGWR started with pid=6, OS id=9380
CKPT started with pid=7, OS id=9382
SMON started with pid=8, OS id=9384
RECO started with pid=9, OS id=9386
CJQ0 started with pid=10, OS id=9388
MMON started with pid=11, OS id=9390
MMNL started with pid=12, OS id=9392
Tue Jan 4 17:58:35 2011
ALTER DATABASE MOUNT
Tue Jan 4 17:58:39 2011
Setting recovery target incarnation to 2
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=14, OS id=9395
Tue Jan 4 17:58:39 2011
ARC0: Archival started
ARC1: Archival started
ARCH: STARTING ARCH PROCESSES COMPLETE
Tue Jan 4 17:58:39 2011
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC0: Thread not mounted
ARC1 started with pid=15, OS id=9397
ARC1: Becoming the heartbeat ARCH
ARC1: Thread not mounted
Tue Jan 4 17:58:39 2011
Successful mount of redo thread 1, with mount id 3471861451
Tue Jan 4 17:58:39 2011
Physical Standby Database mounted.
Completed: ALTER DATABASE MOUNT
Tue Jan 4 17:58:51 2011
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
Tue Jan 4 17:58:51 2011
Attempt to start background Managed Standby Recovery process ()
MRP0 started with pid=16, OS id=9400
Tue Jan 4 17:58:51 2011
MRP0: Background Managed Standby Recovery process started
Managed Standby Recovery not using Real Time Apply
Tue Jan 4 17:58:57 2011
Errors in file /oracle/app/oracle/admin/*****/bdump/*****mrp09400.trc:
ORA-00367: checksum error in log file header
ORA-00305: log 2 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 2 thread 1: '/dev/vg04/rREDOR21'
Clearing online redo logfile 2 /dev/vg04/rREDOR21
Clearing online log 2 of thread 1 sequence number 87533
Tue Jan 4 17:58:57 2011
Errors in file /oracle/app/oracle/admin/*****/bdump/*****mrp09400.trc:
ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 2 thread 1: '/dev/vg04/rREDOR21'
Clearing online redo logfile 2 complete
Media Recovery Waiting for thread 1 sequence 87533
Tue Jan 4 17:58:57 2011
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
Tue Jan 4 19:37:24 2011
alter database register logfile '/backup/standby_archivelogs/1_87533_622555682.dbf'
Tue Jan 4 19:37:24 2011
There are 1 logfiles specified.
ALTER DATABASE REGISTER [PHYSICAL] LOGFILE
Completed: alter database register logfile '/backup/standby_archivelogs/1_87533_622555682.dbf'
Tue Jan 4 19:37:27 2011
Media Recovery Log /backup/standby_archivelogs/1_87533_622555682.dbf
Tue Jan 4 19:37:43 2011
Media Recovery Waiting for thread 1 sequence 87534
from here it is showing no errors or nothing in my alert log file from yesterday eveningNo version number, no definition of what you mean by "standby database" and not a clue as to what you mean by "restore" or why you did it.
No help is possible at this time.
PS: We do not guess at what someone means by "MRM modemout stage" ... you need to define your terms. -
ORA-00312 problem, thank you very much!
Hi, there,
when I use OEM standalone to login the database, I found there is an error:
ORA-00313:open failed for members of log group1 of thred 1
ORA-00312:online log 1 thread 1 "c:\oracle-database-server\oradata\redo01.log"
then I can't open the database and only can mount it.
and then I found all the other databases on my local machine have the exact same problem. at the same time, I found the service of OracleOracle9iDB_serveManagementServer can't startup. whenever I want to start it, it warn me "start and stop, becuase there is no work connect to it". so I doublt it seems there is something wrong with my operation system, but not the database's problem. my os is WIN XP PRO.
does there anyone who knows the reason and how can I solve it? besides, can I backup the database in mount status and how?
thank you very much for any hint!
I do need you help, thank you so much!!Please repost this in one of the database forums, unfortunately most of us on the JDev team are better at Java than database issues.
Here's the URL to the general RDBMS forum here on OTN:
General Database Discussions
Hope this helps,
Rob -
ORA-00314, ORA-00312 during restore
Hi.
I have (I should say I had) a database in archivelog mode.
Arch logs multiplexed on c:, e:.
Online redo logs multiplexed on c:, e:.
Controlfile multiplexed on c:, e:.
I also had a copy of spfile on e:
I also made a backup on e:
configure default device type to disk;
configure retention policy to redundancy 1;
configure channel device type disk format 'e:\backup\ora_040506_%t_s%s_s%p';
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to 'e:\backup\sp%F';
configure backup optimization on;
backup database format 'e:\backup\ora_040506_%t_s%s_s%p';
Then I had a problem on c: (lost local datafiles, controlfiles), and wanted to restore.
So I stopped db, copied controlfile, spfile, archive logs and redo logs from e: to c:
I ran:
rman nocatalog target / @restoredb.sql
and restoredb holds:
restore database;
recover database;
exit;
In alert log I can read:
Mon Dec 06 11:23:18 2010
Full restore complete of datafile 2 C:\ORACLEXE\ORADATA\XE\UNDO.DBF. Elapsed time: 0:00:15
checkpoint is 1853242
Full restore complete of datafile 4 C:\ORACLEXE\ORADATA\XE\USERS.DBF. Elapsed time: 0:00:19
checkpoint is 1853242
Mon Dec 06 11:23:50 2010
Full restore complete of datafile 1 C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF. Elapsed time: 0:00:47
checkpoint is 1853242
Full restore complete of datafile 3 C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF. Elapsed time: 0:00:55
checkpoint is 1853242
Mon Dec 06 11:24:05 2010
alter database recover datafile list clear
Mon Dec 06 11:24:05 2010
Completed: alter database recover datafile list clear
Mon Dec 06 11:24:05 2010
alter database recover datafile list
1 , 2 , 3 , 4
Completed: alter database recover datafile list
1 , 2 , 3 , 4
Mon Dec 06 11:24:05 2010
alter database recover if needed
start
Media Recovery Start
Mon Dec 06 11:24:06 2010
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3860.trc:
ORA-00314: journal 1, thread 1, numéro de séq. attendu 78 ne correspond pas à 58
ORA-00312: journal en ligne 1 thread 1 : 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_5F60S79R_.LOG'
Mon Dec 06 11:24:08 2010
Media Recovery failed with error 314
ORA-283 signalled during: alter database recover if needed
start
What happens?
I can't recover a database in archivelog!Iam going to be more complete:
XE on windows
I have a laptop.
Install XE, as default.
HDD on c:, sd card on e:
I have
* put db in archivelog,
* created online redo log groups #3,4,5, with members on c: and e:
* dropped default online redo log groups 1 and 2
* set up 2 controlfile multiplexing on c:, e:
* set up 2 archive log dest (one on c: and one on e:)
* copied spfile to e:
* set up a backup to e: every 2 weeks.
The laptop has worked one year then laptop crashed (hdd down), but I still have My sd card to restore datas.
=> To restore I installed a new laptop, the default XE install, stopped db, overwrite from e: -> c: :
* the controlfile
* the spfile
* archivelog and redolog
then startup mount.
select * from v$logfile;
=> Show only groups 1 and 2 (and 1 is stale)
select * from v$log;
=> sequences are 78,79 ( and 79 is current)
The archive logs I have go from 77->106.
+++++++++++++++++++++++++++++++++++++++++++++
1st issue (or bug?): redo log groups 3,4,5 are declared in control file but not taken into account when restoring controlfile!
I stopped new db, copied controlfile from e: (with redo logs 3,4,5 declared) to the one on c:, then restarted db.
Can someone tell me if I can do this without "guessing" which were the redo log member names and typing ALTER DATABASE ADD LOGFILE GROUP..., then repeat (alter system switch logfile; alter database drop logfile; and drop groups 1 and 2) (and repeating this several times while group 1 or 2 still exists).
+++++++++++++++++++++++++++++++++++++++++++++
=>rman target /
restore database;=>OK no error but v$logfile still shows only groups 1 and 2 (and 1 is stale)
recover database;=>error on screen:
dÚmarrage de la rÚcupÚration aprÞs dÚfaillance matÚrielle
Úchec de la rÚcupÚration aprÞs dÚfaillance matÚrielle
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Úchec de la commande recover Ó 12/23/2010 17:13:49
ORA-00283: recovery session canceled due to errors
RMAN-11003: erreur lors de l'analyse ou de l'exÚcution d'une instruction SQL : a
lter database recover if needed
start
ORA-00283: session de rÚcupÚration annulÚe pour cause d'erreurs
ORA-00314: journal 1, thread 1, numÚro de sÚq. attendu 78 ne correspond pas Ó 42
ORA-00312: journal en ligne 1 thread 1 : 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_
AREA\XE\ONLINELOG\O1_MF_1_5F60S79R_.LOG'
Gestionnaire de rÚcupÚration (Recovery Manager) terminÚ.
and in alert_log:
Full restore complete of datafile 3 C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF. Elapsed time: 0:00:56
checkpoint is 1853242
Thu Dec 23 17:13:45 2010
alter database recover datafile list clear
Thu Dec 23 17:13:45 2010
Completed: alter database recover datafile list clear
Thu Dec 23 17:13:45 2010
alter database recover datafile list
1 , 2 , 3 , 4
Completed: alter database recover datafile list
1 , 2 , 3 , 4
Thu Dec 23 17:13:45 2010
alter database recover if needed
start
Media Recovery Start
Thu Dec 23 17:13:46 2010
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2080.trc:
ORA-00314: journal 1, thread 1, numéro de séq. attendu 78 ne correspond pas à 42
ORA-00312: journal en ligne 1 thread 1 : 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_5F60S79R_.LOG'
Thu Dec 23 17:13:48 2010
Media Recovery failed with error 314
ORA-283 signalled during: alter database recover if needed
start
=> The problem is not seq 78.
Where does # 42 come from?
Is it possible to dump the controlfile?
I loiked into archive logs:
in # 77 in beginning I have: Seq# 0000000077, SCN 0x0000001bf6b3-0x0000001c473a
in # 78 in beginning I have: Seq# 0000000078, SCN 0x0000001c473a-0x0000001c96eb
in # 79 in beginning I have: Seq# 0000000079, SCN 0x0000001cb0bf-0x0000001cffc4
in # 80 in beginning I have: Seq# 0000000080, SCN 0x0000001cffc4-0x0000001d5a56
Furthermore:
If I look at dates; arch log 77 & 78 dates are newer than 79 and next ones. Probably they have been crashed due to question above (redo log groups)?
Regards,
Alain -
dear all
i am using oracle 10 g
operating system window xp.
i am facing following error
SQL> recover datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF'
ORA-00283: recovery session canceled due to errors
ORA-00341: log 3 of thread 1, wrong log # 2 in header
ORA-00312: online log 3 thread 1:
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
please if anyone could help me to solve this problem.
many many Thanks in advance
Nadeem asif1) Recovering After Losing a Member of a Multiplexed Online Redo Log Group: If the hardware problem is temporary, then correct it. The log writer process accesses the previously unavailable online redo log files as if the problem never existed.
If the hardware problem is permanent, then drop the damaged member and add a new member by using the following procedure.
SQL> SELECT GROUP#, STATUS, MEMBER FROM V$LOGFILE WHERE STATUS='INVALID';
GROUP# STATUS MEMBER
0002 INVALID /oracle/oradata/trgt/redo02.log
SQL > ALTER DATABASE DROP LOGFILE MEMBER '/oracle/oradata/trgt/redo02.log';
SQL> ALTER DATABASE ADD LOGFILE MEMBER '/oracle/oradata/trgt/redo02b.log' TO GROUP 2;
If the file you want to add already exists, then it must be the same size as the other group members, and you must specify REUSE. For example:
SQL > ALTER DATABASE ADD LOGFILE MEMBER '/oracle/oradata/trgt/redo02b.log' REUSE TO GROUP 2; -
ORA-00313:ORA-00312:ORA-00321;ORA-27037:
Hi,
after systemcopy und upgrade from oracle 9.2.0.3 to 9.2.0.7
i get the following messages!
ORA-00321: log 13 of thread 1, cannot update log file header
ORA-00312: online log 13 thread 1: '/oracle/DB1/mirrlogA/log_g13m2.dbf'
Thu Oct 25 09:48:06 2007
Errors in file /oracle/DB1/saptrace/background/at1_lgwr_15775.trc:
ORA-00313: open failed for members of log group 13 of thread 1
Thu Oct 25 09:48:06 2007
Thread 1 advanced to log sequence 2737
Current log# 13 seq# 2737 mem# 0: /oracle/DB1/origlogA/log_g13m1.dbf
Thu Oct 25 09:48:06 2007
ARC0: Evaluating archive log 14 thread 1 sequence 2736
Thu Oct 25 09:48:06 2007
Errors in file /oracle/DB1/saptrace/background/at1_arc0_15783.trc:
ORA-00313: open failed for members of log group 14 of thread 1
select * from v$logfile;
GROUP# STATUS TYPE
MEMBER
14 ONLINE
/oracle/DB1/origlogB/log_g14m1.dbf
14 INVALID ONLINE
/oracle/DB1/mirrlogB/log_g14m2.dbf
13 ONLINE
/oracle/DB1/origlogA/log_g13m1.dbf
GROUP# STATUS TYPE
MEMBER
13 INVALID ONLINE
/oracle/DB1/mirrlogA/log_g13m2.dbf
12 ONLINE
/oracle/DB1/origlogB/log_g12m1.dbf
12 INVALID ONLINE
/oracle/DB1/mirrlogB/log_g12m2.dbf
GROUP# STATUS TYPE
MEMBER
11 ONLINE
/oracle/DB1/origlogA/log_g11m1.dbf
11 INVALID ONLINE
/oracle/DB1/mirrlogA/log_g11m2.dbf
8 rows selected.
Can anybody advise me how i can solve tis problem?
Thanks
nullHi Werner,
1. thanks for the steps!
when i perform the "alter database drop logfile member '/orace/DB1/mirrlogA/log_g11m2.dbf';"
i get the following message
ERROR at line 1:
ORA-00360: not a logfile member: /orace/DB1/mirrlogA/log_g11m2.dbf
in the Enterprise Manager Console i can see the file log_g11m2.dbf but on OS i cant see it!
sorry for my bad english!
i hope you can give me instructions?!
Thanks -
ORA-00312, ORA-00314 & ORA-00315
Oracle Version: 10.2.0.4
I am gettting below error in our physical standby database.
ORA-00314: log 21 of thread 1, expected sequence# 56526 doesn't match 56238
ORA-00312: online log 21 thread 1: '/oracle/origlogA/log_g21m1.dbf'
ORA-00314: log 21 of thread 1, expected sequence# 56526 doesn't match 56238
ORA-00312: online log 21 thread 1: '/oracle/origlogA/log_g21m1.dbf'
ORA-00314: log 22 of thread 1, expected sequence# 56496 doesn't match 0
ORA-00312: online log 22 thread 1: '/oracle/origlogB/log_g22m1.dbf'
ORA-00314: log 22 of thread 1, expected sequence# 56496 doesn't match 0
ORA-00312: online log 22 thread 1: '/oracle/origlogB/log_g22m1.dbf'
ORA-00315: log 23 of thread 1, wrong thread # 0 in header
ORA-00312: online log 23 thread 1: '/oracle/origlogA/log_g23m1.dbf'
ORA-00315: log 23 of thread 1, wrong thread # 0 in header
Executed below query with no rows.
select * from v$recover_file;
Please advice.00314, 00000, "log %s of thread %s, expected sequence# %s doesn't match %s"
// *Cause: The online log is corrupted or is an old version.
// *Action: Find and install correct version of log or reset logs.
bcm@bcm-laptop:~$ oerr ora 315
00315, 00000, "log %s of thread %s, wrong thread # %s in header"
// *Cause: The online log is corrupted or is an old version.
// *Action: Find and install correct version of log or reset logs. -
Data Guard ora-00314 and ora-00312
Good afternoon. Please, I have configured a data guard on the same server and am sure the files are well configured as
*.db_file_name_convert='C:\Oracle\product\10.2.0\oradata\test2','C:\Oracle\product\10.2.0\oradata\test1'
log_file_name_convert='C:\Oracle\product\10.2.0\oradata\test2','C:\Oracle\product\10.2.0\oradata\test1'
ThanksThe Primary database was OK before I start the Standby database. I've tried many times but failed to open the Primary database after I successfuly created and opened the Standby database. Did the Standby database crash the redo log of Primary? Why?
Error shown when I want to open the Primary database:
ORA-00314: log 2 of thread 1, expected sequence# 11 doesn't match 0
ORA-00312: online log 2 thread 1: '/u01/oradata/DB01/redo_log02.dbf'Part of my initDB01.ora
DB_NAME=DB01
DB_UNIQUE_NAME=DB01
LOG_ARCHIVE_CONFIG='DG_CONFIG=(DB01,DB02)'
LOG_ARCHIVE_DEST_1=
'LOCATION=/u01/oradata/DB01/arc/ MANDATORY
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=DB01'
LOG_ARCHIVE_DEST_2=
'SERVICE=DB02
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=DB02'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=ENABLE
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=DB02
FAL_CLIENT=DB01
DB_FILE_NAME_CONVERT='/u01/oradata/DB02/','/u01/oradata/DB01/'
LOG_FILE_NAME_CONVERT='/u01/oradata/DB02/arc/','/u01/oradata/DB01/arc/'
STANDBY_FILE_MANAGEMENT=AUTO
Part of my initDB02.ora
CONTROL_FILES='/opt/oracle/oradata/DB02/control_primary.ctl'
DB_NAME=DB01
DB_UNIQUE_NAME=DB02
LOG_ARCHIVE_CONFIG='DG_CONFIG=(DB01,DB02)'
LOG_ARCHIVE_DEST_1=
'LOCATION=/u01/oradata/DB02/arc/ MANDATORY
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=DB02'
LOG_ARCHIVE_DEST_2=
'SERVICE=DB01
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=DB01'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=ENABLE
STANDBY_FILE_MANAGEMENT=AUTO
FAL_SERVER=DB01
FAL_CLIENT=DB02
DB_FILE_NAME_CONVERT='/u01/oradata/DB01/','/u01/oradata/DB02/'
LOG_FILE_NAME_CONVERT='/u01/oradata/DB01/arc/','/u01/oradata/DB02/arc/' -
ORA-00355, ORA-00353, ORA-00312 errors
when i try to open database i am getting error;
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-00355: change numbers out of order
ORA-00353: log corruption near block 65 change 66389157847 time 05/17/2008
10:10:30
ORA-00312: online log 1 thread 1: 'L:\ORACLE\LHECCDB\REDO01.LOG'
Please guide
Thanks,
WaheedSAN drive is same and database is running in archive mode which are placed on share drive but the time when SAN issue ocurred the guy just stop OS level Oracle level services and restart the machine after coming up tried to start the database as startup command but database successfully mounted but fail to open it
when i issue command alter database open resetlogs i get error;
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: 'L:\ORACLE\LHECCDB\SYSTEM01.DBF'
this is the whole story. please guide -
ORA-16038, ORA019504, ORA-00312
Hi there, first of all, my apologies if the question I'm about to ask has been answered in other thread before. Kindly direct me to the thread it's similar.
I'm currently using Oracle 9i installed on HP-UX. Before doing a reboot on the machine, there was an error from oracle like below:
Database mounted.
ORA-16038: log 3 sequence# 177448 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 3 thread 1: '/u00/oradata/ODSDWPD/t1_log3a.rdo'
ORA-00312: online log 3 thread 1: '/u00/oradata/ODSDWPD/t1_log3b.rdo'
After a system reboot, the system could not start up, both primary and alternate path could not boot.
May I know what are the oracle errors above mean, and could it had led to a system boot-up to failed?
Thanks and regards
Edited by: 976663 on Dec 15, 2012 9:34 PMORA-16038: log 3 sequence# 177448 cannot be archived
http://www.bestremotedba.com/tag/ora-16038-log-s-sequence-s-cannot-be-archived/
ORA-19504: failed to create file ""
check that redo logs available in os/storage
ls -ltr /u00/oradata/ODSDWPD/t1_log3b.rdo
http://oraclespin.wordpress.com/2008/04/02/how-to-fix-online-redo-log-corruption/
ORA-00312: online log 3 thread 1: '/u00/oradata/ODSDWPD/t1_log3a.rdo'
ORA-00312: online log 3 thread 1: '/u00/oradata/ODSDWPD/t1_log3b.rdo' -
Error Mess ORA-00312 and ORA-00338
Hi All,
I have dataguard configuration with physical standby in maximum performance mode, last night i have seen this erroe mess in the alert log on the primary side
ORA-00312: online log 2 thread 1: '+RECOVERY/abc11/onlinelog/group_2.258.728472593'
ORA-00338: log 2 of thread 1 is more recent than control file
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
I have no idea why is this happening any help would be appreciated...
Thankssybrand_b wrote:
Oracle error documentation at http://tahiti.oracle.com and Google are available 7 x 24, also on Sunday morning.
Regards,
Sybrand Bakker
Senior Oracle DBAThanks for nothing Sybrand ... Why not just post "RTFM!"???
As a community forum, it would be more help to everybody who encounters this error to be able to EASILY find the shared information about cause / resolution rather than have somebody respond with 'raise it with Oracle' >:¬(
I've got the same problem today ...
Oracle 11g standard edition on 64 bit Linux - NOT dataguard
Thu Jan 26 09:47:14 2012
Archived Log entry 611 added for thread 1 sequence 3229 ID 0x604044dd dest 1:
Thu Jan 26 09:47:23 2012
Errors in file /u01/app/oracle/diag/rdbms/inscp/INSCP/incident/incdir_245385/INSCP_ora_28958_i245385.trc:
ORA-00338: log 4 of thread 1 is more recent than control file
ORA-00312: online log 4 thread 1: '+REDOB/inscp/onlinelog/group_4.266.770482833'
ORA-00338: log 4 of thread 1 is more recent than control file
ORA-00312: online log 4 thread 1: '+REDOA/inscp/onlinelog/group_4.266.770482831'
ORA-07445: exception encountered: core dump [kgghash()+608] [SIGSEGV] [ADDR:0x2B3EBD5D2000] [PC:0x88CE2C4] [Invalid permissions for mapped object] []
Thu Jan 26 09:47:41 2012
NOTE: dependency between database INSCP and diskgroup resource ora.FRA.dg is established
Thu Jan 26 09:51:45 2012
Dumping diagnostic data in directory=[cdmp_20120126095145], requested by (instance=1, osid=28958), summary=[incident=245385].
Thu Jan 26 09:51:48 2012
Sweep [inc][245385]: completed
Sweep [inc2][245385]: completed
Thu Jan 26 09:56:01 2012
We are running a full rman backup (for the first time on this database) that has been running for around 36 hours now ... I don't know if this is a coincidence, but it seems likely.
Any thoughts? (please don't say - raise a Service Request!)
TIA
Simon
Edited by: user2814067 on 26-Jan-2012 02:56
Edited by: user2814067 on 01-Feb-2012 00:29 -
Hi Guys,
I have 3 redo groups with 2 members in each group.
Iam getting the following error continously and i am thinking my redo log member 'redo02b.log' is currupted. Can anybody confirm this what it is and how to fix this.
Errors in file /u01/app/oracle/admin/uvi1/bdump/uvi1_arc1_1024150.trc:
ORA-00327: log 2 of thread 1, physical size 609750 less than needed 614400
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/uvi1/redo02b.log'
Thanks
SharathTo fix it, just drop and recreate the member.
-
Hi,
please help me,
I have to restart my computer, but if I started the computer, I wanted to start database with startup command, but I got following errors:
ORA-00322: log 3 of thread 1 is not current copy
ORA-00312: online log 3 thread 1 :
'/u01/app/oracle/flash_recovery_area/ORCL/onlinelog/o1_mf_3_79fz3gx8_.log'
ORA-00322: log 3 of thread 1 is not current copy
ORA-00312: online log 3 thread 1 :
'/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_79fz3g1v_.log'
I read a lot of materials about this problem, but I can't resolve this. I'm not a expert in this, so please help me.
I use version of oracle: 10.2.0.1.0 and I dont' have any backup of my database.
I realy need to resolve this as soon as possible.
Please help
Thank you.Please Follow these steps:
1) Network Configuration Assistant:
For Linux:
a) Go to bin folder using "oracle" user and type "./netca" in terminal
b) Reconfigure listner, naming method and SID
and click finish.
For window go to "bin" of oracle installation folder and execute "netca"
2) Type following when you go in "bin" folder using cmd or linux terminal:
1)conn / as sysdba
2)[Enter sys or system user password]
3)shutdown immediate;
4)startup mount;
5)Recover database using backup controlfile;
[Provide path where your redo log file locate. Try various redo log files in your case serach .log files in "/u01/app/oracle/oradata/ORCL/" folder or any futher nested folder e.g. type path like without quotes "/u01/app/oracle/oradata/ORCL/redo01.log After trying various log file you will stop when u see this message "
Log applied.
Media recovery complete." ]
6)alter database open resetlogs;
7)shutdown immediate;
8)startup
Hope it will help you.
Check following link as well:
http://mrrame.blogspot.com/2009/08/ora-00214-controlfile-inconsistent.html -
Ora-00314 and ORa-00312 on startup
Hi
I have recently done cloning of database. the databse cloning has been done successfully
but the source database (itch) is giving error for 2 redo log files?????
cud anyone pleae tell me how can i resolve this problem as there is no change in the setup for itch
thanks
kedarRead metalink Note:18373.1.
SJH
OCP DBA -
hi all,
i am getting this error when setting the flashback on in mount mode, then try to open the database it show this error
11gR1 on windows 2008 with ASM
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-16014: log 1 sequence# 25 not archived, no available destinations
ORA-00312: online log 1 thread 1:
'+REDO/oradba/onlinelog/group_1.257.703288193'
Thanksthanks,
yes +ARCHIVE exist & writable
ASMCMD> cd onlinelog
ASMCMD> ls -l
Type Redund Striped Time Sys Name
ONLINELOG UNPROT FINE DEC 01 09:00:00 Y group_1.257.703288193
ONLINELOG UNPROT FINE DEC 01 09:00:00 Y group_2.258.703288195
ONLINELOG UNPROT FINE DEC 01 09:00:00 Y group_3.259.703288197
the contents of alert log file are..........
2009-12-01 00:02:58.254000 +05:30
SUCCESS: diskgroup ARCHIVE was mounted
ARCH: Archival stopped, error occurred. Will continue retrying
Errors in file c:\app\administrator\diag\rdbms\oradba\oradba\trace\oradba_arc2_3044.trc:
ORA-16038: log 1 sequence# 25 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
SUCCESS: diskgroup DBF was mounted
SUCCESS: diskgroup TESTME was mounted
2009-12-01 00:03:03.645000 +05:30
SUCCESS: diskgroup ARCHIVE was dismounted
SUCCESS: diskgroup DBF was dismounted
SUCCESS: diskgroup TESTME was dismounted
2009-12-01 00:03:58.285000 +05:30
ARCH: Archival stopped, error occurred. Will continue retrying
Errors in file c:\app\administrator\diag\rdbms\oradba\oradba\trace\oradba_arc3_3048.trc:
ORA-16014: log 1 sequence# 25 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
SUCCESS: diskgroup DBF was mounted
SUCCESS: diskgroup TESTME was mounted
2009-12-01 00:04:03.613000 +05:30
SUCCESS: diskgroup DBF was dismounted
SUCCESS: diskgroup TESTME was dismounted
2009-12-01 00:08:58.363000 +05:30
SUCCESS: diskgroup ARCHIVE was mounted
ARCH: Archival stopped, error occurred. Will continue retrying
Errors in file c:\app\administrator\diag\rdbms\oradba\oradba\trace\oradba_arc1_3040.trc:
ORA-16038: log 1 sequence# 25 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
SUCCESS: diskgroup DBF was mounted
SUCCESS: diskgroup TESTME was mounted
2009-12-01 00:09:03.723000 +05:30
SUCCESS: diskgroup ARCHIVE was dismounted
SUCCESS: diskgroup DBF was dismounted
SUCCESS: diskgroup TESTME was dismounted
2009-12-01 00:09:58.379000 +05:30
ARCH: Archival stopped, error occurred. Will continue retrying
Errors in file c:\app\administrator\diag\rdbms\oradba\oradba\trace\oradba_arc2_3044.trc:
ORA-16014: log 1 sequence# 25 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
2009-12-01 00:14:58.488000 +05:30
SUCCESS: diskgroup ARCHIVE was mounted
& the contents of c:\app\administrator\diag\rdbms\oradba\oradba\trace\oradba_arc2_3044.trc:
*** 2009-12-01 00:02:58.254
kcrroda: calling ksfdrcres to create AL or RL
Failed to create file '+ARCHIVE' (file not accessible?)
*** 2009-12-01 00:02:58.285 1117 krsh.c
ARC2: Error 19504 Creating archive log file to '+ARCHIVE'
*** 2009-12-01 00:02:58.285 27155 kcrr.c
kcrrfail: dest:1 err:19504 force:0 blast:1
DDE rules only execution for: ORA 312
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
*** 2009-12-01 00:02:58.301 11633 kcrr.c
ORA-16038: log 1 sequence# 25 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 00:09:58.363
DDE: Problem Key 'ORA 312' was flood controlled (0x5) (no incident)
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 00:09:58.379 11633 kcrr.c
ORA-16014: log 1 sequence# 25 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
Impossible archival state:10
*** 2009-12-01 00:20:55.379
*** 2009-12-01 00:20:55.379 11633 kcrr.c
ORA-16038: log 1 sequence# 25 cannot be archived
ORA-00001: unique constraint (.) violated
*** 2009-12-01 00:25:58.691
*** 2009-12-01 00:25:58.691 3333 kcrr.c
kcrroda: calling ksfdrcres to create AL or RL
Failed to create file '+ARCHIVE' (file not accessible?)
*** 2009-12-01 00:25:58.723 1117 krsh.c
ARC2: Error 19504 Creating archive log file to '+ARCHIVE'
*** 2009-12-01 00:25:58.723 27155 kcrr.c
kcrrfail: dest:1 err:19504 force:0 blast:1
DDE rules only execution for: ORA 312
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
*** 2009-12-01 00:25:58.738 11633 kcrr.c
ORA-16038: log 1 sequence# 25 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
DDE: Problem Key 'ORA 312' was flood controlled (0x5) (no incident)
*** 2009-12-01 00:32:58.816
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 00:32:58.816 11633 kcrr.c
ORA-16014: log 1 sequence# 25 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 00:43:59.066
*** 2009-12-01 00:43:59.066 3333 kcrr.c
kcrroda: calling ksfdrcres to create AL or RL
Failed to create file '+ARCHIVE' (file not accessible?)
*** 2009-12-01 00:43:59.098 1117 krsh.c
ARC2: Error 19504 Creating archive log file to '+ARCHIVE'
*** 2009-12-01 00:43:59.098 27155 kcrr.c
kcrrfail: dest:1 err:19504 force:0 blast:1
DDE rules only execution for: ORA 312
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
*** 2009-12-01 00:43:59.113 11633 kcrr.c
ORA-16038: log 1 sequence# 25 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
DDE: Problem Key 'ORA 312' was flood controlled (0x5) (no incident)
*** 2009-12-01 00:50:55.473
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 00:50:55.473 11633 kcrr.c
ORA-16014: log 1 sequence# 25 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 00:55:55.598
Impossible archival state:10
*** 2009-12-01 00:55:55.613 11633 kcrr.c
ORA-16038: log 1 sequence# 25 cannot be archived
ORA-00001: unique constraint (.) violated
*** 2009-12-01 00:55:59.301
DDE: Problem Key 'ORA 312' was flood controlled (0x5) (no incident)
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 00:55:59.301 11633 kcrr.c
ORA-16014: log 1 sequence# 25 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+REDO/oradba/onlinelog/group_1.257.703288193'
*** 2009-12-01 01:06:59.551 3333 kcrr.c
*** 2009-12-01 01:06:59.551
kcrroda: calling ksfdrcres to create AL or RL
Failed to create file '+ARCHIVE' (file not accessible?)
*** 2009-12-01 01:06:59.582 1117 krsh.c
ARC2: Error 19504 Creating archive log file to '+ARCHIVE'
*** 2009-12-01 01:06:59.582 27155 kcrr.c
kcrrfail: dest:1 err:19504 force:0 blast:1
DDE rules only execution for: ORA 312
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Edited by: user12270655 on Nov 30, 2009 8:27 PM
Maybe you are looking for
-
XSLT Mapping with Java Enhancement
Hi All I am working on XSLT Mapping with Java Enhancement. To do this scenario i have followed the following link. http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm As per the above link I have created Source
-
Recently I have not been able to post comments and other related issues.
On some websites like Reddit.com I am usually no longer able to post in comment boxes. I can type my comment in the box, but hitting save clears the box and no comment is posted (oddly, i noticed that the comment ends up at the end of the url). Or us
-
Restoring Database to ASM from tape
We're restoring a database from tape using Oracle 10.2.0.5. We explcitely specify the location for every single file with SET NEWNAME FOR DATAFILE X. The files that get restored don't match the NEWNAME format we set it to even though the log says it
-
Black spot in iSight image...
I just received my new iMac G5 20in iSight today...and I love it. However, using iChat and PhotoBooth I noticed that there is a small black spot in the upper left corner of the image. According to other posts, it doesn't seem to be possible to open t
-
Why I can't turn on itunes match?
My itunes match have 90 days ban. Please help me.