Open database using resetlogs
i am using 10g release 2 on oel 5.5
i am having cold backup of my db
i am also having a trace of control file
i added a few tablespace and tables then my redo and control files were deleted
i recreated the controlfiles using the trace resetlogs method
and then i recover the database using backup control file until cancel
applied all the archives available
then i opened the database using resetlogs but the database is not opening saying that file system01.dbf requires more rcovery
so what should i do now to open the database??
this is my alert log
ALTER DATABASE RECOVER database using backup controlfile until cancel
Thu Apr 25 15:07:12 2013
Media Recovery Start
WARNING! Recovering data file 1 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 2 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 3 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 4 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
WARNING! Recovering data file 5 from a fuzzy file. If not the current file
it might be an online backup taken without entering the begin backup command.
ORA-279 signalled during: ALTER DATABASE RECOVER database using backup control file until cancel ...
Thu Apr 25 15:07:15 2013
ALTER DATABASE RECOVER CONTINUE DEFAULT
Thu Apr 25 15:07:15 2013
Media Recovery Log /u01/app/flash_recovery_area/PAWII/archivelog/2013_04_25/o1_m f_1_4_8qky2k0r_.arc
ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Thu Apr 25 15:07:15 2013
ALTER DATABASE RECOVER CONTINUE DEFAULT
Thu Apr 25 15:07:15 2013
Media Recovery Log /u01/app/flash_recovery_area/PAWII/archivelog/2013_04_25/o1_m f_1_5_8qkwbc2w_.arc
Errors with log /u01/app/flash_recovery_area/PAWII/archivelog/2013_04_25/o1_mf_1 _5_8qkwbc2w_.arc
ORA-328 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Thu Apr 25 15:07:16 2013
ALTER DATABASE RECOVER CANCEL
ORA-1547 signalled during: ALTER DATABASE RECOVER CANCEL ...
Thu Apr 25 15:07:37 2013
alter database open resetlogs
Thu Apr 25 15:07:37 2013
ORA-1194 signalled during: alter database open resetlogs
so tell me how to open database now??
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: '/u01/app/oradata/pawii/system01.dbf'
Similar Messages
-
View to check We Can Open Database with Resetlog Option
Hi Experts,
i need to know the view name that can tell us we can open the database in resetlog option during recovery process.
regards,
rizwanHi Rizwan;
i need to know the view name that can tell us we can open the database in resetlog option during recovery process.What is DB version?
Pelase check below link:
Troubleshooting Backups - V$ Recovery Views
http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/648/TopicID/TBT3/Default.aspx
Regard
Helios -
Create new database using rman cold backup
It oracle 10g database version 10.2.0.4
I took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new database
Edited by: prajeevan on Jan 19, 2011 9:09 PMI took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new databaseIf it is in archivelog mode you can use duplicate to refresh database DEMO from TEST..
or after cold backup, go to mount ,
create trace file of controlfile becuase you are chaning database name
recreate the controlfile
open database in resetlogs;
check also http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf -
Problem opening database after successfull recovery
Hi All,
Can any one please help me with below error.
I am doing system copy from Source_SID to Target_SID taking online backup and generated offline redo log files during start of backup to end.
We are on Windows 2003 server, DB is Oracle 10g and system is SRM 5.0. I was trying system copy backup/restore for DB and export/import for java. I have got online consistent backup along with offline redo logs of source system. Also have taken CI export.
Here the file system directories in TARGET_SID and SOURCE_SID are different. First i have restored the online backup of Source_SID in Target_SID system (RYV). Took the trace file of Source_SID system and modified accordingly the filesystem structure directories of the TARGET SySTEM. Also renamed the TARGET_SID to SOURCE_SID.
Now started it in nomount state with below command.
SQL> STARTUP NOMOUNT PFILE=E:\ORACLE\RYV\102\database\initRYV.ora
ORACLE instance started.
Total System Global Area 2634022912 bytes
Fixed Size 2203184 bytes
Variable Size 1337811408 bytes
Database Buffers 1291845632 bytes
Redo Buffers 2162688 bytes
Generated the modifiled trace file script (renamed it as controlfile.sql).
SQL> @Controlfile.sql
Control file created.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
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: 'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
Before executing the command i have places all the offline redo log files which were generated in source system during the online backup. During online backup, offline redo logs 04729 to 04732 were generated. Now i have issued below command.
SQL> alter database recover automatic using backup controlfile until cancel;
alter database recover automatic using backup controlfile until cancel
ERROR at line 1:
ORA-00279: change 112926870 generated at 09/29/2008 17:26:55 needed for thread
1
ORA-00289: suggestion : F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
ORA-00280: change 112926870 for thread 1 is in sequence #4733
ORA-00278: log file 'F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001' no
longer needed for this recovery
ORA-00308: cannot open archived log
'F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Offline Redo log files from 04729 to 04732 were applied and it was trying for 04733 which was not there. Now issued below command.
SQL> recover cancel;
Media recovery complete.
Finally tried to open database with resetlogs and here i am getting problem.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
SQL>
Please suggest whether is there different procedure for system copy using backup/restore if file structure is different for Source_SID and Target_SID.
Thanking you for your help.
Regards
RaviAlert Log Details:
Sun Oct 12 08:42:37 2008
Starting ORACLE instance (normal)
Sun Oct 12 08:42:37 2008
Specified value of sga_max_size is too small, bumping to 2634022912
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
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 = 80
sessions = 96
event = 10191 trace name context forever, level 1
sga_max_size = 2634022912
shared_pool_size = 1291845632
shared_pool_reserved_size= 127512084
filesystemio_options = setall
control_files = G:\ORACLE\RYV\ORIGLOGA\CNTRL\CNTLRRYV.DBF, F:\ORACLE\RYV\ORAARCH\CNTRL\CNTRLRYV.DBF, K:\ORACLE\RYV\SAPDATA1\CNTRL\CNTRLRYV.DBF
control_file_record_keep_time= 30
db_block_size = 8192
db_cache_size = 1291845632
compatible = 10.2.0
log_archive_dest = F:\oracle\RYV\oraarch\RYVarch
log_buffer = 2097152
log_checkpoint_interval = 0
db_files = 254
log_checkpoints_to_alert = TRUE
dml_locks = 4000
undo_management = AUTO
undo_tablespace = PSAPUNDO
undo_retention = 43200
recyclebin = off
remote_os_authent = TRUE
remote_login_passwordfile= EXCLUSIVE
job_queue_processes = 1
background_dump_dest = K:\ORACLE\RYV\SAPTRACE\BACKGROUND
user_dump_dest = K:\ORACLE\RYV\SAPTRACE\USERTRACE
core_dump_dest = K:\ORACLE\RYV\SAPTRACE\BACKGROUND
optimizer_features_enable= 10.2.0.1
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = RYV
open_cursors = 800
optimpeek_user_binds = FALSE
pga_aggregate_target = 629145600
workarea_size_policy = AUTO
statistics_level = typical
PMON started with pid=2, OS id=4600
PSP0 started with pid=6, OS id=5228
MMAN started with pid=10, OS id=5664
DBW0 started with pid=14, OS id=4648
DBW1 started with pid=18, OS id=5588
DBW2 started with pid=22, OS id=4280
DBW3 started with pid=26, OS id=648
LGWR started with pid=30, OS id=4780
CKPT started with pid=34, OS id=1348
SMON started with pid=38, OS id=6024
RECO started with pid=42, OS id=5208
CJQ0 started with pid=46, OS id=1332
MMON started with pid=50, OS id=1304
MMNL started with pid=54, OS id=2736
Sun Oct 12 08:42:44 2008
CREATE CONTROLFILE REUSE SET DATABASE "RYV" RESETLOGS ARCHIVELOG
MAXLOGFILES 255
MAXLOGMEMBERS 5
MAXDATAFILES 5000
MAXINSTANCES 50
MAXLOGHISTORY 2629
LOGFILE
GROUP 1 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF'
) SIZE 90M,
GROUP 2 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF'
) SIZE 90M,
GROUP 3 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF'
) SIZE 90M,
GROUP 4 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF'
) SIZE 90M,
GROUP 5 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF'
) SIZE 90M,
GROUP 6 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF'
) SIZE 90M,
GROUP 7 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF'
) SIZE 90M,
GROUP 8 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF'
) SIZE 90M
-- STANDBY LOGFILE
DATAFILE
'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
'J:\ORACLE\RYV\SAPDATA3\UNDO_1\UNDO.DATA1',
'K:\ORACLE\RYV\SAPDATA4\SYSAUX_1\SYSAUX.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_1\SR3.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_2\SR3.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3_3\SR3.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3_4\SR3.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3_5\SR3.DATA5',
'K:\ORACLE\RYV\SAPDATA1\SR3_6\SR3.DATA6',
'K:\ORACLE\RYV\SAPDATA1\SR3700_1\SR3700.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3700_2\SR3700.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3700_3\SR3700.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3700_4\SR3700.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3USR_1\SR3USR.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_1\SR3DB.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_2\SR3DB.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_3\SR3DB.DATA3'
CHARACTER SET UTF8
Sun Oct 12 08:42:44 2008
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Setting recovery target incarnation to 1
Sun Oct 12 08:42:45 2008
Successful mount of redo thread 1, with mount id 157697668
Sun Oct 12 08:42:45 2008
Completed: CREATE CONTROLFILE REUSE SET DATABASE "RYV" RESETLOGS ARCHIVELOG
MAXLOGFILES 255
MAXLOGMEMBERS 5
MAXDATAFILES 5000
MAXINSTANCES 50
MAXLOGHISTORY 2629
LOGFILE
GROUP 1 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF'
) SIZE 90M,
GROUP 2 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF'
) SIZE 90M,
GROUP 3 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF'
) SIZE 90M,
GROUP 4 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF'
) SIZE 90M,
GROUP 5 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF'
) SIZE 90M,
GROUP 6 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF'
) SIZE 90M,
GROUP 7 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF'
) SIZE 90M,
GROUP 8 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF'
) SIZE 90M
-- STANDBY LOGFILE
DATAFILE
'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
'J:\ORACLE\RYV\SAPDATA3\UNDO_1\UNDO.DATA1',
'K:\ORACLE\RYV\SAPDATA4\SYSAUX_1\SYSAUX.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_1\SR3.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_2\SR3.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3_3\SR3.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3_4\SR3.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3_5\SR3.DATA5',
'K:\ORACLE\RYV\SAPDATA1\SR3_6\SR3.DATA6',
'K:\ORACLE\RYV\SAPDATA1\SR3700_1\SR3700.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3700_2\SR3700.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3700_3\SR3700.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3700_4\SR3700.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3USR_1\SR3USR.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_1\SR3DB.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_2\SR3DB.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_3\SR3DB.DATA3'
CHARACTER SET UTF8
Sun Oct 12 08:43:43 2008
alter database open
Sun Oct 12 08:43:43 2008
ORA-1589 signalled during: alter database open...
Sun Oct 12 08:44:03 2008
alter database open resetlogs
Sun Oct 12 08:44:03 2008
ORA-1195 signalled during: alter database open resetlogs...
Sun Oct 12 08:44:42 2008
alter database recover automatic using backup controlfile until cancel
Sun Oct 12 08:44:42 2008
Media Recovery Start
parallel recovery started with 3 processes
Sun Oct 12 08:44:43 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04729_0649429988.001
Sun Oct 12 08:44:45 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04730_0649429988.001
Sun Oct 12 08:44:46 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04731_0649429988.001
Sun Oct 12 08:44:46 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04732_0649429988.001
Sun Oct 12 08:44:46 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
Errors with log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
ORA-279 signalled during: alter database recover automatic using backup controlfile until cancel...
Sun Oct 12 08:45:08 2008
ALTER DATABASE RECOVER cancel
Sun Oct 12 08:45:11 2008
Media Recovery Canceled
Completed: ALTER DATABASE RECOVER cancel
Sun Oct 12 08:45:32 2008
alter database open resetlogs
Sun Oct 12 08:45:33 2008
ARCH: Logfile 8 is wrong incarnation (0:112926871:10/10/2008 14:52:35 vs 0:1:03/15/2008 13:13:08)
RESETLOGS after incomplete recovery UNTIL CHANGE 112926870
Resetting resetlogs activation ID 2278245220 (0x87cb4364)
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF: Thread 1 Group 1 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF: Thread 1 Group 1 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF: Thread 1 Group 2 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF: Thread 1 Group 2 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF: Thread 1 Group 3 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF: Thread 1 Group 3 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF: Thread 1 Group 4 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF: Thread 1 Group 4 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF: Thread 1 Group 5 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF: Thread 1 Group 5 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF: Thread 1 Group 6 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF: Thread 1 Group 6 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF: Thread 1 Group 7 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF: Thread 1 Group 7 was previously cleared
Sun Oct 12 08:45:34 2008
Setting recovery target incarnation to 2
Sun Oct 12 08:45:34 2008
Assigning activation ID 157697668 (0x9664684)
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=74, OS id=2036
Sun Oct 12 08:45:35 2008
ARC0: Archival started
Sun Oct 12 08:45:35 2008
ARC1: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 opened at log sequence 1
Current log# 8 seq# 1 mem# 0: G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF
Current log# 8 seq# 1 mem# 1: H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF
Sun Oct 12 08:45:35 2008
Successful open of redo thread 1
Sun Oct 12 08:45:35 2008
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
ARC1 started with pid=3, OS id=1640
Sun Oct 12 08:45:36 2008
ARC0: STARTING ARCH PROCESSES
Sun Oct 12 08:45:36 2008
SMON: enabling cache recovery
Sun Oct 12 08:45:36 2008
ARC1: Becoming the 'no FAL' ARCH
ARC1: Becoming the 'no SRL' ARCH
Sun Oct 12 08:45:36 2008
ARC2: Archival started
Sun Oct 12 08:45:36 2008
ARC0: STARTING ARCH PROCESSES COMPLETE
ARC0: Becoming the heartbeat ARCH
Sun Oct 12 08:45:36 2008
Errors in file k:\oracle\ryv\saptrace\usertrace\ryv_ora_868.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Sun Oct 12 08:45:36 2008
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Sun Oct 12 08:45:36 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_pmon_4600.trc:
ORA-00704: bootstrap process failure
ARC2 started with pid=4, OS id=5996
Sun Oct 12 08:45:37 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_reco_5208.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:37 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_ckpt_1348.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:37 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_lgwr_4780.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw2_4280.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw3_648.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw0_4648.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw1_5588.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_psp0_5228.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:41 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_mman_5664.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 868
ORA-1092 signalled during: alter database open resetlogs... -
Saving data in database using textbox and save button
Hello. I just want a help about my code because when i close the application the data that i add is not been saved.
Here is my code of save:
function saveData(event:MouseEvent):void
status.text = "Saving data";
insertStmt = new SQLStatement();
insertStmt.sqlConnection = conn;
var sql:String = "INSERT INTO employees (firstName, lastName, salary) VALUES (:param, :param1, :param2)";
insertStmt.text = sql;
insertStmt.parameters[":param"] = firstName.text;
insertStmt.parameters[":param1"] = lastName.text;
insertStmt.parameters[":param2"] = salary.text;
insertStmt.addEventListener(SQLEvent.RESULT, insertResult);
insertStmt.addEventListener(SQLErrorEvent.ERROR, insertError);
insertStmt.execute();
Here is the full code:
import fl.data.DataProvider;
import flash.data.SQLResult;
import flash.data.SQLConnection;
import flash.filesystem.File;
import flash.data.SQLStatement;
import flash.data.SQLConnection;
var conn:SQLConnection;
var createStmt:SQLStatement;
var insertStmt:SQLStatement;
var insertStmt2:SQLStatement;
var insertStmt3:SQLStatement;
var selectStmt:SQLStatement;
var insert1Complete:Boolean = false;
var insert2Complete:Boolean = false;
saveBtn.addEventListener(MouseEvent.CLICK, saveData);
loadBtn.addEventListener(MouseEvent.CLICK, getData);
init();
function init():void
conn = new SQLConnection();
conn.addEventListener(SQLEvent.OPEN, openSuccess);
conn.addEventListener(SQLErrorEvent.ERROR, openFailure);
status.text = "Creating and opening database";
// Use these two lines for an on-disk database
// but be aware that the second time you run the app you'll get errors from
// creating duplicate records.
// var dbFile:File = File.applicationStorageDirectory.resolvePath("DBSample.db");
// conn.openAsync(dbFile);
// Use this line for an in-memory database
conn.openAsync(null);
function openSuccess(event:SQLEvent):void
conn.removeEventListener(SQLEvent.OPEN, openSuccess);
conn.removeEventListener(SQLErrorEvent.ERROR, openFailure);
createTable();
function openFailure(event:SQLErrorEvent):void
conn.removeEventListener(SQLEvent.OPEN, openSuccess);
conn.removeEventListener(SQLErrorEvent.ERROR, openFailure);
status.text = "Error opening database";
trace("event.error.message:", event.error.message);
trace("event.error.details:", event.error.details);
function createTable():void
status.text = "Creating table";
createStmt = new SQLStatement();
createStmt.sqlConnection = conn;
var sql:String = "";
sql += "CREATE TABLE IF NOT EXISTS employees (";
sql += " empId INTEGER PRIMARY KEY AUTOINCREMENT,";
sql += " firstName TEXT,";
sql += " lastName TEXT,";
sql += " salary NUMERIC CHECK (salary >= 0) DEFAULT 0";
sql += ")";
createStmt.text = sql;
createStmt.addEventListener(SQLEvent.RESULT, createResult);
createStmt.addEventListener(SQLErrorEvent.ERROR, createError);
createStmt.execute();
function createResult(event:SQLEvent):void
createStmt.removeEventListener(SQLEvent.RESULT, createResult);
createStmt.removeEventListener(SQLErrorEvent.ERROR, createError);
addData();
function createError(event:SQLErrorEvent):void
status.text = "Error creating table";
createStmt.removeEventListener(SQLEvent.RESULT, createResult);
createStmt.removeEventListener(SQLErrorEvent.ERROR, createError);
trace("CREATE TABLE error:", event.error);
trace("event.error.message:", event.error.message);
trace("event.error.details:", event.error.details);
function addData():void
status.text = "Adding data to table";
insertStmt = new SQLStatement();
insertStmt.sqlConnection = conn;
var sql:String = "";
sql += "INSERT INTO employees (firstName, lastName, salary) ";
sql += "VALUES ('Bob', 'Smith', 8000)";
insertStmt.text = sql;
insertStmt.addEventListener(SQLEvent.RESULT, insertResult);
insertStmt.addEventListener(SQLErrorEvent.ERROR, insertError);
insertStmt.execute();
insertStmt2 = new SQLStatement();
insertStmt2.sqlConnection = conn;
var sql2:String = "";
sql2 += "INSERT INTO employees (firstName, lastName, salary) ";
sql2 += "VALUES ('John', 'Jones', 8200)";
insertStmt2.text = sql2;
insertStmt2.addEventListener(SQLEvent.RESULT, insertResult);
insertStmt2.addEventListener(SQLErrorEvent.ERROR, insertError);
insertStmt2.execute();
function insertResult(event:SQLEvent):void
var stmt:SQLStatement = event.target as SQLStatement;
stmt.removeEventListener(SQLEvent.RESULT, insertResult);
stmt.removeEventListener(SQLErrorEvent.ERROR, insertError);
if (stmt == insertStmt)
insert1Complete = true;
else
insert2Complete = true;
if (insert1Complete && insert2Complete)
status.text = "Ready to load data";
function insertError(event:SQLErrorEvent):void
status.text = "Error inserting data";
insertStmt.removeEventListener(SQLEvent.RESULT, insertResult);
insertStmt.removeEventListener(SQLErrorEvent.ERROR, insertError);
trace("INSERT error:", event.error);
trace("event.error.message:", event.error.message);
trace("event.error.details:", event.error.details);
function getData(event:MouseEvent):void
status.text = "Loading data";
selectStmt = new SQLStatement();
selectStmt.sqlConnection = conn;
var sql:String = "SELECT empId, firstName, lastName, salary FROM employees";
selectStmt.text = sql;
selectStmt.addEventListener(SQLEvent.RESULT, selectResult);
selectStmt.addEventListener(SQLErrorEvent.ERROR, selectError);
selectStmt.execute();
function saveData(event:MouseEvent):void
status.text = "Saving data";
insertStmt = new SQLStatement();
insertStmt.sqlConnection = conn;
var sql:String = "INSERT INTO employees (firstName, lastName, salary) VALUES (:param, :param1, :param2)";
insertStmt.text = sql;
insertStmt.parameters[":param"] = firstName.text;
insertStmt.parameters[":param1"] = lastName.text;
insertStmt.parameters[":param2"] = salary.text;
insertStmt.addEventListener(SQLEvent.RESULT, insertResult);
insertStmt.addEventListener(SQLErrorEvent.ERROR, insertError);
insertStmt.execute();
function selectResult(event:SQLEvent):void
status.text = "Data loaded";
selectStmt.removeEventListener(SQLEvent.RESULT, selectResult);
selectStmt.removeEventListener(SQLErrorEvent.ERROR, selectError);
var result:SQLResult = selectStmt.getResult();
resultsGrid.dataProvider = new DataProvider(result.data);
// var numRows:int = result.data.length;
// for (var i:int = 0; i < numRows; i++)
// var output:String = "";
// for (var prop:String in result.data[i])
// output += prop + ": " + result.data[i][prop] + "; ";
// trace("row[" + i.toString() + "]\t", output);
function selectError(event:SQLErrorEvent):void
status.text = "Error loading data";
selectStmt.removeEventListener(SQLEvent.RESULT, selectResult);
selectStmt.removeEventListener(SQLErrorEvent.ERROR, selectError);
trace("SELECT error:", event.error);
trace("event.error.message:", event.error.message);
trace("event.error.details:", event.error.details);Your database system may well have a setting for character encoding when creating new databases. If you set that to unicode JDBC should store and retrieve UNICODE strings automatically.
As to the HTML side, you should generally use UTF-8 encoding. You need an editor which understands UTF-8. JSPs and servlets have ways of specifying the encoding which goes into the http headers. For static HTML pages you may have to add a header like:
<META http-equiv="Content-type" value="text/HTML; charset=UTF-8">
When receiving form data you need to do
request.setCharacterEncoding("UTF-8"); -
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
Hello,
Yesterday i did a clean install of XE on my Windows 7 64bit laptop. The installation went well. Today when i tried to connect to the database i got ORA-01033 initialization or shutdown in progress.
So i started sqlplus as sysdba and executed
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1388352 bytes
Variable Size 620757184 bytes
Database Buffers 444596224 bytes
Redo Buffers 4591616 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
The alert log is showing the following output
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =19
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
Using parameter settings in server-side pfile C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DATABASE\INITXE.ORA
System parameters with non-default values:
sessions = 176
spfile = "C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DBS\SPFILEXE.ORA"
memory_target = 1G
control_files = "C:\ORACLE\APP\ORACLE\ORADATA\XE\CONTROL.DBF"
compatible = "11.2.0.0.0"
db_recovery_file_dest = "C:\oracle\app\oracle\fast_recovery_area"
db_recovery_file_dest_size= 10G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
dispatchers = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
shared_servers = 4
job_queue_processes = 4
audit_file_dest = "C:\ORACLE\APP\ORACLE\ADMIN\XE\ADUMP"
db_name = "XE"
open_cursors = 300
diagnostic_dest = "C:\ORACLE\APP\ORACLE"
Wed Sep 07 09:26:50 2011
PMON started with pid=2, OS id=4936
Wed Sep 07 09:26:50 2011
PSP0 started with pid=3, OS id=4756
OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !
Wed Sep 07 09:26:51 2011
VKTM started with pid=4, OS id=5772 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Wed Sep 07 09:26:51 2011
GEN0 started with pid=5, OS id=5424
Wed Sep 07 09:26:51 2011
DIAG started with pid=6, OS id=5928
Wed Sep 07 09:26:51 2011
DBRM started with pid=7, OS id=4000
Wed Sep 07 09:26:51 2011
DIA0 started with pid=8, OS id=3876
Wed Sep 07 09:26:51 2011
MMAN started with pid=9, OS id=6004
Wed Sep 07 09:26:51 2011
DBW0 started with pid=10, OS id=5252
Wed Sep 07 09:26:51 2011
LGWR started with pid=11, OS id=848
Wed Sep 07 09:26:51 2011
CKPT started with pid=12, OS id=2420
Wed Sep 07 09:26:51 2011
SMON started with pid=13, OS id=2424
Wed Sep 07 09:26:51 2011
RECO started with pid=14, OS id=2396
Wed Sep 07 09:26:51 2011
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Wed Sep 07 09:26:51 2011
MMON started with pid=15, OS id=2388
starting up 4 shared server(s) ...
ORACLE_BASE from environment = C:\oracle\app\oracle
Wed Sep 07 09:26:51 2011
ALTER DATABASE MOUNT
Wed Sep 07 09:26:51 2011
MMNL started with pid=16, OS id=1288
Successful mount of redo thread 1, with mount id 2642331547
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Sep 07 09:26:56 2011
ALTER DATABASE OPEN
Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
ORA-1589 signalled during: ALTER DATABASE OPEN...
Wed Sep 07 09:41:54 2011
db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Can anybody tell me what to do to solve this problem?
Kind Regards,
D.DennisV wrote:
Starting ORACLE instance (normal)What do you have in the alert.log above that line?
OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !This is one of the symptoms reported earlier when running on unsupported platform (x64) and maybe there's some connection with your issue.
See {thread:id=2278170}.
Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:What errors does trace file reveal? -
ORA-01589 must use RESETLOGS option for database open
I am running 10.1.0 and the database went down and I have been trying to get it started again. I have worked through several errors but stuck on this one.
When trying to run startup I get this error ORA-01589 must use RESETLOGS or NORESETLOGS option for database open.
Thanks,
Timplease try below steps:--
SQL> select * from v$logfile;
GROUP# STATUS TYPE MEMBER IS_
4 ONLINE /restore-11/POS/posebu-db/corppos-data02/oradata/EBUPOSPR/redo4_01.log NO
4 ONLINE /restore-11/POS/posebu-db/corppos-data01/oradata/EBUPOSPR/redo4_02.log NO
3 ONLINE /restore-11/POS/posebu-db/corppos-data02/oradata/EBUPOSPR/redo3_01.log NO
3 ONLINE /restore-11/POS/posebu-db/corppos-data01/oradata/EBUPOSPR/redo3_02.log NO
2 ONLINE /restore-11/POS/posebu-db/corppos-index01/oradata/EBUPOSPR/redo2_01.log NO
2 ONLINE /restore-11/POS/posebu-db/corppos-data02/oradata/EBUPOSPR/redo02_02.log NO
1 ONLINE /restore-11/POS/posebu-db/corppos-data01/oradata/EBUPOSPR/redo1_01.log NO
1 ONLINE /restore-11/POS/posebu-db/corppos-index01/oradata/EBUPOSPR/redo1_02.log NO
8 rows selected.
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 0 1073741824 2 YES UNUSED 0
4 1 1 1073741824 2 NO CURRENT 7.6915E+12 21-SEP-11
3 1 0 1073741824 2 YES UNUSED 0
2 1 0 1073741824 2 YES UNUSED 0
SQL> recover database until cancel using backup controlfile;
ORA-00279: change 7691479663660 generated at 09/21/2011 05:10:48 needed for thread 1
ORA-00289: suggestion : /restore-11/POS/posebu-db/corppos-archive01/EBUPOSPR/1_1_762412057.arc
ORA-00280: change 7691479663660 for thread 1 is in sequence #1
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/restore-11/POS/posebu-db/corppos-data02/oradata/EBUPOSPR/redo4_01.log
Log applied.
Media recovery complete.
SQL> select hxfil file_id, fhtnm tablespace_name from x$kcvfh;
FILE_ID TABLESPACE_NAME
1 SYSTEM
2 UNDOTBS
3 SYSAUX
4 USERS
SQL> select file#, checkpoint_change#, checkpoint_time, error from v$datafile_header;
FILE# CHECKPOINT_CHANGE# CHECKPOIN ERROR
1 7.6915E+12 21-SEP-11
2 7.6915E+12 21-SEP-11
3 7.6915E+12 21-SEP-11
4 7.6915E+12 21-SEP-11
SQL> col CHECKPOINT_CHANGE# for 9999999999999
SQL> l
1* select file#, checkpoint_change#, checkpoint_time, error from v$datafile_header
SQL> /
FILE# CHECKPOINT_CHANGE# CHECKPOIN ERROR
1 7691479663749 21-SEP-11
2 7691479663749 21-SEP-11
3 7691479663749 21-SEP-11
4 7691479663749 21-SEP-11
SQL> select hxfil file_id, fhscn scn, fhthr thread, fhrba_seq sequence, fhsta status from x$kcvfh;
FILE_ID SCN THREAD SEQUENCE STATUS
1 7691479663749 1 1 8192
2 7691479663749 1 1 0
3 7691479663749 1 1 0
4 7691479663749 1 1 0
24 rows selected.
SQL> select * from v$recover_file;
no rows selected
SQL> alter database open resetlogs;
Database altered.
+++++++++++++++++++++++++++++++++++++++++++++++++
Best regards
Shishir Tekade. -
Error on starting up database...ORA-01589: must use RESETLOGS
I just installed Oracle9i and when trying to start up the db I get the following:
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Wed Jun 11 11:02:50 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba
Connected.
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-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL>
Any ideas what I should do?
Thanks.Cause: An incomplete recovery session was started, but an insufficient number of redo logs were applied to make the file consistent. The named file was not closed cleanly when it was last opened by the database. The most likely cause of this message is forgetting to restore the file from a backup before doing incomplete recovery.
Action: The file must be recovered to a time when it was not being updated. Either apply more redo logs until the file is consistent or restore the file from an older backup and repeat recovery. -
How do I open a pdf stored in a Microsoft Access database using Visual Basic studios 2012
Currently I am unable to find a valid method of being able to open a pdf stored in a Microsoft Access database using Visual Basic studios 2012. I've tried displaying the entire database on a form, but when I do this all the other columns show up with
the correct data besides the one containing the pdf's, it just displays <binary data> in each row down the column. I also tried another method with which you use the database as a dataset and can drag and drop the rows and columns into the form, which
again works for all the other columns besides the one containing the pdf's but this time I'm unable to interact with the column at all.
Not too sure if this is in the correct place, but any answers or help would be appreciated. Cheers.Alex,
This forum is dedicated to Project and Project Server. You might get better response, if you post to a Visual Basic forum. Here are couple I could find.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Cvblanguage&filter=alltypes&sort=lastpostdesc
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
-
Using ASP with oo4o - cannot open database
I was using ODBC - ADODB in some ASP pages to interact with an Oracle DB (8.17). Everything works fine but large queries get very slow.
I was trying to move to Oracle oo4o but I cannot connect to the DB.
Here's the code (pretty basic)...
Dim OO4OServer, OO4ODB
Set OO4OServer = CreateObject("OracleInProcServer.XOraServer")
Set OO4ODB = OO4OServer.OpenDatabase("Applix", "Applix_View/view", 0)
SQL = "SELECT first_name,last_name,ext FROM hd_contact where contact_id=" & BadgeNo
Set RS = OO4ODB.CreateDynaset(SQL , ORADYN_NOCACHE)
It fails on the OpenDatabase statement:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'OpenDatabase'
Any ideas?user6732738 wrote:
hi, i'm trying to do an small program, where i'm connecting to the DB, using JDBC driver for sql server 2008. This is my connection code:
try{
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
parametros = "jdbc:sqlserver://localhost:1433;databaseName=java;integratedSecurity=true;";
con = DriverManager.getConnection(parametros);
msg.showMessageDialog(this,"Connection to DB OK","information",1);
}catch(SQLException e){
mensaje.showMessageDialog(this,e.getMessage(),"Sql Error",0);
System.out.println(e.getMessage());
}catch(ClassNotFoundException e2){
msg.showMessageDialog(this,e2.getMessage(),"Sql Error",0);
This is the error message i get: Cannot open database java requested by the login. The login failed
If i change my database "java" to "master", I can make a successfull connection. I don't want to use a user and password on my java code, instead i want to use integrated security. How can i fix this?Did you load the library required for integrated security as described in the Microsoft SQL Server JDBC driver documentation? -
Managing oracle databases using open standards like WBEM
Typically an Oracle Database environment is best monitored and managed using the
Oracle Enterprise Manager.
But does Oracle allow/support monitoring and management of Oracle databases using open standards like WBEM?
We are trying to standardize on an open standard like WBEM for monitoring and managing hardware and software and also model those entities using the CIM (Common Information model) and would
like to monitor Oracle Databases under this model using WBEM.
I have read about the ability of the Oracle Enterprise manager to manage other third party hardware and software including databases using WBEM Fetchlets.
Would appreciate any information regarding this topic.Better post your question in Enterprise Manager
also do a search on WBEM in the forum -
Newbie: trying to open a database using SQLPLUS, ORA errors
Hi!
Installed 10g (and latest patch) on Suse10.2. When I try to startup the database using SQLPLUS I get this:
Redo Buffers 2932736 bytes
ORA-00205: error in identifying control file, check alert log for more info
I check the alertlog:
Fri Sep 7 11:33:27 2007
ORA-00202: control file: '/opt/oradata/oracle/control01.ctl'
ORA-27037: unable to obtain file status
Linux Error: 13: Permission denied
Additional information: 3
Fri Sep 7 11:33:27 2007
ORA-205 signalled during: ALTER DATABASE MOUNT...
Any ideas on whats causing this problem? I heve used google ALOT but have not found any good answers....Hi!
Well, Oracle was not the user, but I have changed that now. But now I get this instead:
SQL> startup
ORACLE instance started.
Total System Global Area 100663296 bytes
Fixed Size 1260288 bytes
Variable Size 92275968 bytes
Database Buffers 4194304 bytes
Redo Buffers 2932736 bytes
ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version
10.2.0.0.0
ORA-00202: control file: '/opt/oradata/oracle/control01.ctl'
So, I found some info about creating a controlfile, but that seems quite advanced...any suggestions? -
Can not open database after restore...
Hi,
I am doing a system copy from a online backup of our production system to our qas system. It is AIX and Oracle 10.2.0.2.0 on both systems.
I have done the restore using the backup log file from the production system. I have run the control.sql script, applied 4 archive log files using "recover database using backup controlfile until cancel;". Last I run "alter database open resetlogs;", but here my problems start....
Here is what happends...
I apply the archive logs:
ORA-00279: change 65129304 generated at 01/22/2008 19:50:35 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8210_632565567.dbf
ORA-00280: change 65129304 for thread 1 is in sequence #8210
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8209_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
Media recovery cancelled.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
From the alert log:
ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE start
Database is not in archivelog mode
ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE complete
2008-02-23 01:00:23.810
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Have somebody had this problem? Hope you can help me :-).
Best regards HenrikI entered cancel when the log files had been restored and then I did "alter database open resetlogs;"
Here is what I did:
orasrq> sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 22 13:01:38 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 4714397696 bytes
Fixed Size 2077560 bytes
Variable Size 2365590664 bytes
Database Buffers 2332033024 bytes
Redo Buffers 14696448 bytes
SQL> @controlSRQ.sql
Control file created.
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: '/oracle/SRQ/sapdata1/system_1/system.data1'
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 65088663 generated at 01/22/2008 18:30:19 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8203_632565567.dbf
ORA-00280: change 65088663 for thread 1 is in sequence #8203
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 65091816 generated at 01/22/2008 18:35:25 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8204_632565567.dbf
ORA-00280: change 65091816 for thread 1 is in sequence #8204
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8203_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 65094835 generated at 01/22/2008 18:39:16 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8205_632565567.dbf
ORA-00280: change 65094835 for thread 1 is in sequence #8205
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8204_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 65101797 generated at 01/22/2008 18:56:03 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8206_632565567.dbf
ORA-00280: change 65101797 for thread 1 is in sequence #8206
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8205_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 65108888 generated at 01/22/2008 19:05:31 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8207_632565567.dbf
ORA-00280: change 65108888 for thread 1 is in sequence #8207
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8206_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
Media recovery cancelled.
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 65108888 generated at 01/22/2008 19:05:31 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8207_632565567.dbf
ORA-00280: change 65108888 for thread 1 is in sequence #8207
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 65115833 generated at 01/22/2008 19:20:32 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8208_632565567.dbf
ORA-00280: change 65115833 for thread 1 is in sequence #8208
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8207_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
Media recovery cancelled.
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 65115833 generated at 01/22/2008 19:20:32 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8208_632565567.dbf
ORA-00280: change 65115833 for thread 1 is in sequence #8208
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 65122618 generated at 01/22/2008 19:35:37 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8209_632565567.dbf
ORA-00280: change 65122618 for thread 1 is in sequence #8209
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8208_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 65129304 generated at 01/22/2008 19:50:35 needed for thread 1
ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8210_632565567.dbf
ORA-00280: change 65129304 for thread 1 is in sequence #8210
ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8209_632565567.dbf' no longer
needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cn
ORA-00308: cannot open archived log 'cn'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
Media recovery cancelled.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection force -
How do I move databases using RMAN with minimal downtime ?
How can I do the following using RMAN ?
DB version 10.2.0.4
Redhat 5.2
I am not using an rman catalogIn the past I have moved large databases from 1 server to another with 5 minutes downtime using backups done the old way by putting tablespaces in backup mode and making copies of the datafiles.
I used the following method :
========> Part 1
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE set DATABASE "VPMY" RESETLOGS ARCHIVELOG
MAXLOGFILES 32
MAXLOGMEMBERS 3
....etc
LOGFILE
......... log file names
DATAFILE
... list of datafiles
CHARACTER SET US7ASCII;
========> Part 2
Up until the scheduled downtime, I would copy the archive logs from the production server to the new and run the following to apply the latest archive logs:
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
->AUTO<-
========> Part 3
After applying the last archive log while in restrict mode -
ALTER DATABASE OPEN resetlogs;
My question is, how do I do Part 2 in RMAN. I have managed to duplicate databases and restore databases using rman to a different server, but this obviously only covers the data upto the backup point. How can I do the above parts 1 -3 with downtime of about 5 minutes like I have done using old methods ?
Any help is much appreciated/you should be able to recover as you go with rman as well..
copy the archived logs from A to B and apply them as they come in.
run
set until sequence x thread 1;
recover database;
if you're not opening the database after recovery you can just increment the set until sequence as the logs come in and do a new recovery. -
Getting ora-01113 error while opening Database after recovery
HI all,
we have a test database. I lost my entire database including DBFs, controlfiles, Archived logs, redo log files.
But I have a hot backup copy of the lost database.
I tried to recover database using backup copy
I restored my control files and all dbfs and then when i tried to recover database I got the following message
RMAN-00571: ==============================
RMAN-00569: =ERROR MESSAGE STACK FOLLOWS =
RMAN-00571: ===============================
RMAN-03002: failure of recover command at 04/01/2005 14:14:43
RMAN-06054: media recovery requesting unknown log: thread 1 scn 32230460
still i tried to open database resetlogs but i got following eror
RMAN> alter database open resetlogs:
ORA-01113: file 5 needs media recovery
ORA-01110: data file 5: C:\DB11\ORADATA\DB11\system01.dbf
I dont have any redo logs and archivelogs. Can anyone help me how to open the database
thanks and regards
VENKATno there is no other way allowresetlogs_corruption is one of the last resort unless oracle dont recommend,usually you got this error when restored datafile is far behind then others datafile CKPT SCN+COntrolfile CKPT SCN header.
SQL> select controlfile_change#,checkpoint_change#
2 from v$database
3 /
CONTROLFILE_CHANGE# CHECKPOINT_CHANGE#
675632 675775
SQL> select substr(name,1,51) fname,checkpoint_change#
2 from v$datafile_header
3 /
FNAME CHECKPOINT_CHANGE#
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF 675775
F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF[b] 675418user02.dbf CKPT SCN header 675418 is earlier/oldest CKPT SCN header to others datafile as well to controilfile CKPT SCN header.
You will have to apply enough redo to that datafile either from archivelog or from online redo log file,if you cant then no way you can open the database except using allowresetlogs_corruption with the oracle recommendation.
Think why archivelog backup ,database backup and online redo log file, controlfile redundency is recommended.
Khurram
Maybe you are looking for
-
How can I access the Oracle CEP from the a simple java code
I want to access the current values in coherence cache and show those in a screen. So for that I want to create a java class which can access the Coherence cache of the CEP application and get the current values in the Cache. Do anyone had any sample
-
Apple's disgusting policy for defective HD replacement
I have a late 2006 MacBook that has a dead HD. Unfortunately, 4 days after my external backup HD was stolen, my MB HD died. The data was not recoverable at my local authorized service facility. Because I had 4 years of family photos on the HD, I deci
-
Failed to delete file after processing FTP
Failed to delete file after processing. The FTP server returned the following error message: 'com.sap.ai i.adapter.file.ftp.FTPEx: 550 Unexpected reply code *.txt: The process cannot access the file because it is being used by another process. '. For
-
Easiest Way to download songs into NANO
I have read ipod101 and listened to video info at the end the lady says the NANO is like a mirror to your Library so far I am downloading from my downloaded files in another folder and dragging them into the ipod file not sure if there is a quick and
-
2 types of communication method assigned to 1 Vendor Master Record?
Hi, Do you know if it is possible to have 2 different types of communication methods assigned to 1 vendor master record? i.e. I want to be able to send out remittance advices via email but send the purchase orders via XML? The XML is the primary co