ORA-01123: cannot start online backup; media recovery not enabled
the Oracle doc says:
Action: Enable media recovery and retry this operation.
how helpful it is!
Could someone advise me on what is exactly the command
for "enable media recovery"?
Thanks.
- Zack Hu
but when I modified the init.ora file and re-start the
db, I still have "NO archive mode", when I tried to
set it to archive mode I got an error:
SQL> startup pfile='D:\oracle\admin\WinMWDCS\pfile\initWinMWDCS.ora';
ORACLE instance started.
Total System Global Area 135863156 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 1191936 bytes
Database mounted.
Database opened.
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Enabled
Archive destination d:\oracle\oradata\WinMWDCS\archive
Oldest online log sequence 73
Current log sequence 75
SQL> alter database archivelog;
alter database archivelog
ERROR at line 1:
ORA-01126: database must be mounted EXCLUSIVE and not open for this operation
Similar Messages
-
ORA-19806: cannot make duplex backups in recovery area
Hi all,
I multiplex my archived log files in 2 places and I ran a backup job via the Enterprise Manager, below is the code generated:
$rman_script="backup incremental level 0 cumulative device type disk tag 'Weekly_Full_Backup' database;
backup device type disk tag 'Weekly_Full_Archives' archivelog all not backed up delete all input;
allocate channel for maintenance type disk;
delete noprompt obsolete device type disk;
release channel;
&br_save_agent_env();
&br_prebackup($l_db_connect_string, $l_is_cold_backup, $l_use_rcvcat, $l_db_10_or_higher, $l_backup_strategy, "TRUE");
my $result = &br_backup();
exit($result);
I actually have the backup but at the same time have this error:
ORA-19806: cannot make duplex backups in recovery area
And it was supposed to delete all the Archived logs but they were not deleted.
Can someone help please?
Thanks in good anticipation.
CreemsIt is not possible to duplex backup sets to the flash recovery area.
-
I am running/testing just about every XDB feature there is in Oracle XE and I am running into a problem. I am using copyevolve and I am getting an error that I also get in the Enterprise version. That error is not relevant to this post. But in XE it is followed by ORA-30944 Error during rollback for XML schema '<schema_url>' table "<owner_name>.<table_name>" column '<column_name>'. I checked my logs and they have an error stating:
Media recovery not enabled or manual archival only 0x10000
How can I enable this feature? Can someone direct me to where I could find more information on this subject?
ThanksHere is the exact error message:
ORA-30944: Error during rollback for XML schema 'group.xsd' table "XMLTEST"."GROUP_S" column ""
ORA-02304: invalid object identifier literal
ORA-30942: XML Schema Evolution error for schema 'idenity-mapping.xsd' table "XMLTEST"."identity-mapping2747_TAB" column ''
ORA-00922: missing or invalid option
ORA-06512: at "XDB.DBMS"XMLSCHEMA_INT", line 113
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 210
ORA-06512: at line 226
I get the ORA-30942 in Enterprise oracle but I do not get the rollback error. I thought that the media recovery message may have been related to the rollback failure because I associated recovery and rollback (Which may be a poor assumption). -
Media recovery not enabled or manual archival only
db-version oracle 10.2.0.2
os windows server 2003
after starting up the database
i get the following trace-file of the lgwr
*** SERVICE NAME:() 2007-01-21 02:20:06.326
*** SESSION ID:(166.1) 2007-01-21 02:20:06.326
Maximum redo generation record size = 156160 bytes
Maximum redo generation change vector size = 150672 bytes
*** 2007-01-21 10:00:32.272
Media recovery not enabled or manual archival only 0x10000
*** 2007-01-22 13:22:19.801
Media recovery not enabled or manual archival only 0x10000
*** 2007-01-23 05:49:22.517
Media recovery not enabled or manual archival only 0x10000
is it the bug 4591936?Hi,
>>is it the bug 4591936?
Yes. These messages were added for debugging purpose and can be ignored.
Cheers -
Ora-01113: USERS01.dbf need's media recovery when starting database
Bear with me if this seems a stupid question. (I'm a developer and just starting to catch up the DBA job).
Our database server is down and when we tried to bring it back using DBA studio (logon as SYS), we got the following error: ora-01113: USERS01.dbf need's media recovery.
From the documentation I know I can do a media recovery on the datafile. But with the database not being open, how am I getting access to SQL plus and perform this task? I tried to log on using the SYS credential and I could not log on. Please help. Thanks very much. ChangsongGet connection from SQL*Plus at the command line to carry out that so:
export ORACLE_SID<database_sid>
sqlplus /nolog
conn / as sysdba
recover ....
Joel Pèrez
http://otn.oracle.com/experts -
ORA-00313: cannot open online log
Hi All !!!
Please Help
% sqldba startup
SQL*DBA: Version 6.0.33.1.1 - Production on Wed Jul 11 15:40:37 2013
Copyright (c) Oracle Corporation 1979, 1989. All rights reserved.
ORACLE RDBMS V6.0.33.1.1, transaction processing option - Production
ORACLE instance started.
Database mounted.
ORA-00313: cannot open online log '/u1/oradata/orac/log2orac.dbf' (log # 2, log)
ORA-00320: cannot read log file header
ORA-07362: sfifi: open error, unable to open file.
UNIX System V 386/486 Error: 13: Permission denied
Attempting to dismount database........Database dismounted.
Attempting to shutdown instance........ORACLE instance shut down.
SQL*DBA complete.
Idea ?987301 wrote:
Hi All !!!
Please Help
% sqldba startup
SQL*DBA: Version 6.0.33.1.1 - Production on Wed Jul 11 15:40:37 2013
Copyright (c) Oracle Corporation 1979, 1989. All rights reserved.
ORACLE RDBMS V6.0.33.1.1, transaction processing option - Production
ORACLE instance started.
Database mounted.
ORA-00313: cannot open online log '/u1/oradata/orac/log2orac.dbf' (log # 2, log)
ORA-00320: cannot read log file header
ORA-07362: sfifi: open error, unable to open file.
UNIX System V 386/486 Error: 13: Permission denied
Attempting to dismount database........Database dismounted.
Attempting to shutdown instance........ORACLE instance shut down.
SQL*DBA complete.
Idea ?
ANCIENT Oracle (V6?)!
does file /u1/oradata/orac/log2orac.dbf' really exist now?
when was last time Oracle started without error/
What happened since then? -
Oracle Media Recovery Not Started
Hi,
Need help
I've just performed system copy in HP-UX & Oracle as database using backup restore method.
I'm using online backup for this system copy. Control file has been created successfully. Now I'm trying to start the media recover using below cmd
"recover database using backup controlfile until cancel"
After applying this command system is not starting the media recovery. From alert log file I can see the msg Media Recovery Start but oracle is not giving any further message, it is stuck on the below screen.
aigas:oraaeq 2> sqlplus /nolog
SQL*Plus: Release 10.2.0.2.0 - Production on Thu May 13 08:42:39 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 5284823040 bytes
Fixed Size 2051424 bytes
Variable Size 2650800800 bytes
Database Buffers 2617245696 bytes
Redo Buffers 14725120 bytes
Database mounted.
SQL>
SQL> recover database using backup controlfile until cancel;
output of tail -f alert.log file **********
parallel_threads_per_cpu = 1
optimizer_index_cost_adj = 20
query_rewrite_enabled = FALSE
optimpeek_user_binds = FALSE
pga_aggregate_target = 3469486325
workarea_size_policy = AUTO
statistics_level = typical
optimizermjc_enabled = FALSE
bloomfilter_enabled = FALSE
PMON started with pid=2, OS id=5447
PSP0 started with pid=3, OS id=5449
MMAN started with pid=4, OS id=5451
DBW0 started with pid=5, OS id=5453
DBW1 started with pid=6, OS id=5455
LGWR started with pid=7, OS id=5457
CKPT started with pid=8, OS id=5459
SMON started with pid=9, OS id=5461
RECO started with pid=10, OS id=5463
CJQ0 started with pid=11, OS id=5465
MMON started with pid=12, OS id=5467
MMNL started with pid=13, OS id=5469
Thu May 13 09:17:26 2010
ALTER DATABASE MOUNT
Thu May 13 09:17:30 2010
Setting recovery target incarnation to 1
Thu May 13 09:17:30 2010
Successful mount of redo thread 1, with mount id 680883430
Thu May 13 09:17:30 2010
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Thu May 13 09:18:19 2010
ALTER DATABASE RECOVER database using backup controlfile
Thu May 13 09:18:19 2010
Media Recovery Start
We have mounted two nfs file system which are part of oracle file system
Regards,
Neehir BhattHi Neehir,
How did you create the control file ?
Did you use start the DB with source SID and generated a control file trace and then excutede the control file trace sql with the SID change in ordrer to create actual control files with ORACLE_SID reset to actual DBSID. .
Also i use:
recover database until cancel using backup controlfile;
and not :
"recover database using backup controlfile until cancel"
Not sure though if that should make difference because if yours was erroneous oracle should have let you known.
What message comes when you try
alter database open
Regards.
Ruchit. -
Good One - "ORA-00308: cannot open archived log", No Recovery Going On
Folks,
Oracle 11gR1 SE cluister in archive log mode. Every hour I scp old logs over to a different server and nuke the ones so archived. I always switch the log destination to a new directory before moving and nuking, so I'm not touching logs being written to. Every once in a while I get;
Thu Nov 11 22:08:13 2010
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x0] [PC:0x3201E53, _intel_fast_memcmp()+27]
Errors in file /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/trace/DEKOPD781_ora_30937.trc (incident=805592):
ORA-07445: exception encountered: core dump [_intel_fast_memcmp()+27] [SIGSEGV] [ADDR:0x0] [PC:0x3201E53] [Address not mapped to object] []
Incident details in: /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/incident/incdir_805592/DEKOPD781_ora_30937_i805592.trc
Thu Nov 11 22:09:42 2010
Errors in file /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/incident/incdir_805592/DEKOPD781_ora_30937_i805592.trc:
Linux-x86_64 Error: 2: No such file or directory
Thu Nov 11 22:09:42 2010
Errors in file /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/incident/incdir_805592/DEKOPD781_ora_30937_i805592.trc:
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive2/2_2043_716773164.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive2/2_2044_716773164.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive1/2_2045_716773164.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive1/2_2046_716773164.dbf'
ORA-27037: unable to obtain file status
This seems to happen after a core dump (memory leak?). No recovery is going on and the database functions normally afterwards.
Why would the database try to access old log filles when not recovering?
Thanks,
Scott Uhrick
General ReinsuranceAfter some errors database instance tries to access redo data for the last 12 hours: see My Oracle Support note:
+Oracle Alert Log Is Reporting Archive Log Status Is Not Available For Logs That Have Long Been Backed Up [ID 1161573.1]+
Edited by: P. Forstmann on 15 nov. 2010 21:34 -
Cannot do online backup of 2012 VM within 2012 R2
Hi, I have several Windows 2012 VM's running on a 2012 R2 host. None of these VM's can do an online backup. They both have a SCSI controller installed, and all the HyperV integration services installed. For a 2008 R2 HyperV host, the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\ScopedSnapshots registry entry needed to be added.
Does this also need to be added when 2012 R2 is the host?Hi,
Unfortunately, the available information is not enough have a clear view of the occurred behavior. For narrow down the reason, could you provide more information about your
issue. For example, the exact text of any error messages that you received that are associated with this problem?
when this problem occurs the system log record information, screenshots is the best information.
You can refer the following similar thread, if your same with that one you can try to fix it first.
Scoped snapshots enabled.
http://social.technet.microsoft.com/Forums/en-US/66c690ba-83c1-4cce-9fda-57a2a39cf7b6/scoped-snapshots-enabled?forum=winservercore
More information:
Event Logs
http://technet.microsoft.com/en-us/library/cc722404.aspx
Thanks.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Satellite L500D-13P backup media is not Win 7 64BIT version!
As I read in many posts here, an example:
http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=54797
and
http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=202946𱣂
and
http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=209400𳇸
and so on... The story was I received my laptop with no OS, so I used the 32Bit recovery disk included, now I would use the full 4GB ram and I wanted the 64bit recovery disk, so I ordered the backup media from the site mentioned on all posts here, and for 34,90 EUR (pretty expensive) they sent me the backup media, but is a 32Bit version... for 35 I think at least they would send me both versions not only the 32Bit (that I already have...) any suggestion?
Laptop Satellite L500D-13PWhen I ordered:
- No way to choose any version
- No way to mention any extra detail
As the laptop is sold with Win7 64Bit and as I read on many posts here I was lead to believe they send 64Bit version or at least they will send both for that high price.
There's no phone/fax number or mail address in the package... only an address in Germany I woldn't print and send a letter there and hope someone will answer me, we are on digital era paper should be left for old pepole and lawyers, for 35 there should be a better servic, Microsoft has a better and cheaper support for backup media. -
Dear buddies,
I just recovered the database but unable to back it up
SQL> $rman target /
Recovery Manager: Release 10.2.0.4.0 - Production on Wed Dec 15 19:04:42 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: UAT (DBID=2761212905)
RMAN> backup database;
Starting backup at 15-DEC-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=26 devtype=DISK
could not read file header for datafile 14 error reason 4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 12/15/2010 19:05:05
RMAN-06056: could not access datafile 14
RMAN> exit
Recovery Manager complete.
SQL> alter database begin backup;
alter database begin backup
ERROR at line 1:
ORA-01123: cannot start online backup; media recovery not enabled
SQL>Please guide me
NithManaged to backup my archivelog as well
RMAN> backup database plus archivelog exclude offline;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "exclude": expecting one of: "channel, delete, d
iskratio, filesperset, format, from, force, include, keep, maxsetsize, noexclude
, nokeep, not, pool, reuse, ;, skip, setsize, tag, to"
RMAN-01007: at line 1 column 33 file: standard input
RMAN> backup database plus archivelog;
Starting backup at 16-DEC-10
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=594 recid=1 stamp=737891771
input archive log thread=1 sequence=595 recid=2 stamp=737894213
channel ORA_DISK_1: starting piece 1 at 16-DEC-10
channel ORA_DISK_1: finished piece 1 at 16-DEC-10
piece handle=D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\06LVMNQ5_1_1 tag=TAG20101216
T103653 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 16-DEC-10
Starting backup at 16-DEC-10
using channel ORA_DISK_1
could not read file header for datafile 14 error reason 4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 12/16/2010 10:36:56
RMAN-06056: could not access datafile 14
RMAN> backup archivelog
2> ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found ";": expecting one of: "all, from, high, like, l
ogseq, low, scn, sequence, time, until"
RMAN-01007: at line 2 column 1 file: standard input
RMAN> backup archivelog all;
Starting backup at 16-DEC-10
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=594 recid=1 stamp=737891771
input archive log thread=1 sequence=595 recid=2 stamp=737894213
input archive log thread=1 sequence=596 recid=3 stamp=737894257
channel ORA_DISK_1: starting piece 1 at 16-DEC-10
channel ORA_DISK_1: finished piece 1 at 16-DEC-10
piece handle=D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\07LVMNRH_1_1 tag=TAG20101216
T103737 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 16-DEC-10
RMAN> list backup summary
2> ;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
1 B A A DISK 16-DEC-10 1 1 NO TAG201012
16T095614
2 B F A DISK 16-DEC-10 1 1 NO TAG201012
16T101854
3 B F A DISK 16-DEC-10 1 1 NO TAG201012
16T101854
4 B F A DISK 16-DEC-10 1 1 NO TAG201012
16T102106
5 B F A DISK 16-DEC-10 1 1 NO TAG201012
16T102106
6 B A A DISK 16-DEC-10 1 1 NO TAG201012
16T103653
7 B A A DISK 16-DEC-10 1 1 NO TAG201012
16T103737
RMAN> list copy
2> ;
List of Archived Log Copies
Key Thrd Seq S Low Time Name
1 1 594 A 16-DEC-10 D:\ORACLE\PRODUCT\10.2.0\DB_1\RDBMS\ARC00594_07
36694889.001
2 1 595 A 16-DEC-10 D:\ORACLE\PRODUCT\10.2.0\DB_1\RDBMS\ARC00595_07
36694889.001
3 1 596 A 16-DEC-10 D:\ORACLE\PRODUCT\10.2.0\DB_1\RDBMS\ARC00596_07
36694889.001
RMAN> -
Online Backup Database in Linux
I try to use command "alter tablespace system begin backup ; " to back the datafile
but it show me the message "cannot start online backup; media recovery not enabled".
What should I do for that.
thanksSounds to me like you are not in Archivelog mode. You can not do HOT backups if you haven't put that database in this mode. I believe you must be in MOUNT state to do this. You will also want to add some lines in your init.ora so that it knows where to write the archive logs and it starts up the process at startup.
-
Hi gurus!!!
I got into a problem with some datafiles.
We have MySAP in a BD oracle 9.2.0.6
I used Oracle Entreprise Manager Console to generate two datafiles in the tablespace PSAPPRDUSR,
but I generated them in another tablesapce (PSAPPRD) with a name of file,
size and location very different from those that there uses the tablespace PSAPPRD.
<b>So... I put them offline later to erase them later!!!</b>
<b>The datafiles contains no data.</b>
<b>Later, in the night backup:</b>
BR0334W Status of database file /oracle/PRD/sapdata4/prdusr_2/prdusr.data2 is RECOVER
BR0334W Status of database file /oracle/PRD/sapdata4/prdusr_2/prdusr.data2a is RECOVER
BR0301E SQL error -1128 at location BrTspAlter-3
ORA-01128: cannot start online backup - file 31 is offline
ORA-01110: data file 31: '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2'
BR0280I BRBACKUP time stamp: 2007-04-20 03.01.21
BR0316E 'Alter tablespace PSAPPRD begin backup' failed
BR0056I End of database backup: bdvbtndh.ant 2007-04-20 03.01.21
<b>
And now... I neither can erase them nor can put online again.</b>
<b>To erase them I used:</b>
SQL> ALTER DATABASE DATAFILE '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2' OFFLINE DROP;
Database altered.
SQL> commit;
But they continue there, do not resign.
<b>To put them online:</b>
SQL> alter database recover datafile '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2';
alter database recover datafile '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2'
ERROR at line 1:
ORA-00279: change 31203204 generated at 04/19/2007 19:30:11 needed for thread 1
ORA-00289: suggestion : /oracle/PRD/oraarch/PRDarch1_2574.dbf
ORA-00280: change 31203204 for thread 1 is in sequence #2574
SQL>
<b>But we have continued working and I don't want to lose any data.</b>
HEEEELP!!!!
What I can do to recover the datafiles and to continue with my daily Online backups?
The BD is in production and I do not have long time to fix it, only a few hours on Saturdays night.Hi,
alter database datafile offline drop;
This command is not meant to drop a datafile. It is meant to offline the datafile with the intention of dropping the tablespace.
For a tablespace comprising multiple datafiles you can only drop a datafile by dropping the entire tablespace, this will work even you have one datafile.
If you have 10gr2, it's finally possible to drop a datafile as long as
it's not the only datafile within the tablespace, and
the tablespace is only and in read-write status.
So since you are on 9i your situation in summary:
If you have more than one datafile in the tablespace and you wish to keep the objects that reside in the other datafile(s) which are part of this tablespace, then you must export all the objects inside the tablespace.
1. Gather information on the current datafiles within the tablespace by running some query to remember the t/s, segment, and datafile info.
2. Export all the objects that you wish to keep.
3. Once the export is done, issue the DROP TABLESPACE <tablespace name> INCLUDING CONTENTS.
4. Delete the datafiles belonging to this tablespace using the operating system.
5. Recreate the tablespace with the datafile(s) desired, then import the objects into that tablespace.
Hope this helps and good luck,
George -
ORA-01195: online backup of file 65 needs more recovery to be consistent
Hi,
I was doing a clone by taking the hot backup from prod to dev. The backup was good. And then I created the control file, Then I passed the command
recover database until cancel using backup controlfile;
It asked for the archived logs files. I supplied them until current time.
Then I canceled.
That's when I got this error
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 65 needs more recovery to be consistent
ORA-01110: data file 65: '/d10/oradata/dwdev/kt01.dbf'
ORA-01112: media recovery not started
What am I doing wrong? I have not yet passed the command "Alter database open resetlogs"
Should I do more logswitches in prod and pass those files to dev ? Or should I just put the kt tablespace in backup mode and copy the data files?Which set of archivelogs did you copy over to apply ? All the archivelogs from the first ALTER TABLESPACE ... BEGIN BACKUP to the archivelogs subsequent to the last ALTER TABLESPACE ... END BACKUP ?
In the cloned datadabase, what messages do you see in the alert.log on having issued the RECOVER DATABASE command ? Does it complain about the datafiles being fuzzy ? Which archivelogs does it show as having been applied ?
Can you check the log sequence numbers for the duration of the Backup PLUS ArchiveLogs subsequent to the Backup ? -
ORA-01124: cannot recover data file 1 - file is in use or recovery
I am trying to recover standby database, but it is giving the below error.
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery, recovery is already stated
ORA-01110: data file 1: 'I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
when i checked in the alert log the recovery is not started. and later i hae given "alter database recover cancel' and the command end up with the below line
"media recovery not started".
it seems that the recovery has stuck in between.
please advise me how to kill the recovery session that's stuck. because i dont want to bounce the standby database.
thanks in advance.Without dataguard and MRP, you are running a scripted standby.
In a scripted standby, a RECOVER DATABASE session would have an UNTIL clause (most likely UNTIL SEQUENCE). At the end of the recovery to that point (SEQUENCE#), it exits and shuts down the database.
Also, the scripting is such that when one RECOVER session is active, another session is not allowed to start. It may loop in wait state or exit and retry at the next scheduled interval.
Apparently your standby scripting is not robust enough to prevent another RECOVER session from starting off even as the first is active (and/or it doesn't have a proper UNTIL clause and stop, exit, shutdown actions)
What you have is a custom implementation of a standby database. Without complete details of the script, the "locking" between sessions (to prevent a second RECOVER from starting when one is already running) etc .... we really cannot do much to help you.
Your scripts should be maintaing status information . It should be possible for you to discover the "other" sqlplus session that has issued a RECOVER DATABASE but not yet exited (e.g. ... how about a simple "ps -ef |grep sql" and "ps -ef | grep ora" combination ??)
Hemant K Chitale
Edited by: Hemant K Chitale on May 29, 2013 5:47 PM
Maybe you are looking for
-
How to sync bb/outlook/gmail contacts and calendar
i have a bb 9530 and outlook 2007 running on a 64-bit windows 7 pc. i use outlook to view my gmail. i also have the bb gmail app on my phone and that keeps email in sync between gmail servers and the phone as well as outlook since it is setup for a
-
Issue with Packing in Delivery document
Hi All, I have an issue. Created a delivery with reference to the order, i am in the process of packing, not able to enter the packing material inHandling Units screen in the delivery document. if i am in VL02N screen but Handling unit screen shows a
-
Issue in Preview through XML forms having TinyMCE editor
Hello Experts, I have one issue in our client portal, which is really giving me hard time to resolve. So I have come to you experts for helping me to resolve this issue. So below are the details of the issue. Actually it goes like that, we are using
-
What query should be created for this case
Here are those classes: Folder{ String name; @ManyToOne Subject owner; Subject { String name; }What query should I create in order to: find out if there is an actual Folder for a Subject with the name X in the database ? Actually, the
-
Hi expert, In layout I binded an element's 'visible' property to the corresponding attribute (under the node of the element) in context. But when I test it in web, the element is always invisible. I've set the UI elements properties in methods. What