RMAN Error RMAN-06100:
Hi,
I'm testing RMAN Backup on a new database,I first tested the backup and backup was successful.Now thet I need to test restoring the backup i'm getting error msg below.
"RMAN-06100: no channel to restore a backup or copy of datafile".
I'm not sure if the command I use is wrong,here is wat I did.Pls correct me if i'm wrong.I run following script
run {
shutdown immediate; # use abort if this fails
startup mount;
restore database;
recover database;
alter database open;
}
Thank you everyone!! I manage to resolve the prblm.I did not include TDPO_OPTFILE path when I run the restore script. I tried the following script and now database is restoring.Haha.. I'm So happy.. Thank you so much for all the metalink notes id.
# Recovery database from backup tape
startup mount;
run {
set until time "to_date('17-OCT-2007 19:00:00','DD-MON-YYYY HH24:MI:SS')";
allocate channel t1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
restore database;
recover database ;
release channel t1;
alter database open resetlogs;
Similar Messages
-
RMAN-20207/RMAN-06026 Perdictimate
So last Friday, 16 March 2012, one of the application administrators came to me and told me that a user had deleted ~4 million rows out of a table and we need to recover the database to 15 March 2012 at 1500. So I did, after the restore I opened the database with restlogs. Now they are telling me they need it restored to 15 March 2012 at 1015 but when I do the point in time recovery to that time I get RMAN error "RMAN-20207: UNTIL TIME or RECOVERY WINDOW is before RESETLOGS time", so I looked at my incarnations and see that I have three (20-JUL-10, 28-OCT-11, and 16-MAR-12 (CURRENT)). And when I set the incarnation back to 2 (28-OCT-11) RMAN errors out "RMAN-06026: some targets not found - aborting restore", obviously because that point in time is earlier than the point in time I'm recovering to.
My question is, did I loose the data from my point in time recovery from 15-MAR-2012 to 28-OCT-2011 because I did the "resetlogs" option when opening the database? If I didn't how can I recover the data from 15-MAR-2012 at 1015? If I did loose my data what can I do to prevent this in the future?
Note: I'm still learning Oracle/RMAN after inheriting this position when the last guy left.I've actually got the control file backup twice in my backup script......
03/16/2012 04:51 PM 8,355,840 CTLFILE_C-339128723-20120316-03.BCK
03/16/2012 04:56 PM 8,355,840 CTLFILE_C-339128723-20120316-04.BCK
03/17/2012 01:12 AM 8,355,840 CTLFILE_C-339128723-20120317-00.BCK
03/17/2012 01:14 AM 8,355,840 CTLFILE_C-339128723-20120317-01.BCK
03/18/2012 02:54 AM 8,355,840 CTLFILE_C-339128723-20120318-00.BCK
03/18/2012 02:55 AM 8,355,840 CTLFILE_C-339128723-20120318-01.BCK
03/19/2012 01:12 AM 8,355,840 CTLFILE_C-339128723-20120319-00.BCK
03/19/2012 01:13 AM 8,355,840 CTLFILE_C-339128723-20120319-01.BCK
03/20/2012 01:12 AM 8,355,840 CTLFILE_C-339128723-20120320-00.BCK
03/20/2012 01:13 AM 8,355,840 CTLFILE_C-339128723-20120320-01.BCK
03/21/2012 01:13 AM 8,355,840 CTLFILE_C-339128723-20120321-00.BCK
03/21/2012 01:15 AM 8,355,840 CTLFILE_C-339128723-20120321-01.BCK
03/22/2012 01:12 AM 8,355,840 CTLFILE_C-339128723-20120322-00.BCK
03/22/2012 01:14 AM 8,355,840 CTLFILE_C-339128723-20120322-01.BCK
But why would the control file backups prior to my PIT restore go missing? This is bothering, I checked my most recent backup logs and didn't see anything that deletes the control files and all my backups from before my PIT restore and before are there without the control files. Did RMAN think they were bad, or not needed and then deleted them? -
Rman errors on restore archivelog
Hi all,
I am running scripts to back up database every day , but after while 7 days it start to give me errors like:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/16/2003 04:06:04
RMAN-06026: some targets not found - aborting restore
RMAN-06025: no backup of log thread 1 seq 43 scn 3924903 found to restore ...........
that is script:
$ORACLE_HOME/bin/rman target / << EOF
configure retention policy to redundancy 3;
configure retention policy to recovery window of 3 days;
configure backup optimization on;
configure controlfile autobackup off;
configure default device type to Disk;
configure device type Disk parallelism 1;
configure datafile backup copies for device type Disk to 1;
configure channel device type Disk format '/backup/%d_datafile_%s_%p.bak';
configure maxsetsize to unlimited;
configure snapshot controlfile name to '/backup/prod_snapcf.f';
set controlfile autobackup format for device type Disk to '/backup/prod_controlfile_%F';
show all;
run {
allocate channel ch1 type Disk maxpiecesize = 1900M;
backup full database noexclude
include current controlfile
format '/backup/%d_datafile_%s_%p.bak'
tag 'prod_datafile_daily';
run {
allocate channel ch1 type Disk maxpiecesize = 1900M;
backup archivelog all
delete all input
format '/backup/%d_archivelog_%s_%p.bak'
tag 'prod_archivelog_daily';
run {
allocate channel ch1 type Disk maxpiecesize = 1900M;
backup format '/backup/%d_controlfile_%s.bak' current controlfile;
crosscheck backup;
restore controlfile to '/backup' validate;
restore tablespace SYSTEM validate;
restore archivelog all validate;
list backup of database;
report unrecoverable;
report schema;
report need backup;
report obsolete;
delete noprompt expired backup of database;
delete noprompt expired backup of controlfile;
quit
I can resetlogs and that error disapeire
Does anybody know that wrong with that script?
ThanksReally the error is very strange realizing that if functions well for about 6 days or something like that.
this is a notable line in the error.
some targets not found - aborting restore
I recommend you to check very well your targets path
to be restore. I think that is the cause of the failure.
Joel P�rez -
RMAN ERROR ORA-04030 out of process memory allocate 1049100 bytes pga heap
Hello,
I have this problem with a production database 9.2.0.8.
I attach the parameters from production database and repository rman database (9.2.0.8).
PRODUCTION DB SERVER 9.2.0.8
WINDOWS SERVER 2003 R2 SP1
SQL> SHOW PARAMETER SGA
NAME VALUE
lock_sga FALSE
pre_page_sga FALSE
sga_max_size 1888562548
SQL>
SQL> SHOW PARAMETER PGA
NAME VALUE
pga_aggregate_target 335544320
SQL> SHOW PARAMETER POOL
NAME VALUE
java_pool_size 33554432
large_pool_size 134217728
shared_pool_reserved_size 13421772
shared_pool_size 268435456
SQL> SHOW PARAMETER CACHE
NAME VALUE
db_cache_advice ON
db_cache_size 1073741824
REPOSITORY RMAN DB SERVER 9.2.0.8
WINDOWS SERVER 2000 SP4
SQL> SHOW PARAMETER SGA
NAME VALUE
lock_sga FALSE
pre_page_sga FALSE
sga_max_size 1074865628
SQL> SHOW PARAMETER PGA
NAME VALUE
pga_aggregate_target 134217728
SQL> SHOW PARAMETER POOL
NAME VALUE
java_pool_size 33554432
large_pool_size 134217728
shared_pool_reserved_size 6710886
shared_pool_size 134217728
SQL> SHOW PARAMETER CACHE
NAME VALUE
db_cache_size 134217728
SCRIPT RMAN
run {
allocate channel t1 type disk;
allocate channel t2 type disk;
backup skip readonly filesperset = 1 format 'E:\rman\BDWEBEXT\BD_%d_%u_%s_%p.rmn' tag 'Backup Completo BDWEBEXT' database;
release channel t1;
release channel t2;
ERROR
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on t2 channel at 02/09/2008 14:46:58
ORA-04030: out of process memory when trying to allocate 1049100 bytes (pga heap,KSFQ Buffers)
Recovery Manager complete.
Does someone know that it can be?
Thank youhow solve ORA-04030: out of process memory when trying to allocate
Sybrand Bakker
Senior Oracle DBA -
Rman Error at the end of the backup
Hi Guru's
When i am taking complete backup through Rman , At the end i am getting an error like 'there is no space in the Flash recovery area'.
Error generation is like this,
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/31/2006 09:02:37
ORA-19502: write error on file "K:\ORACLE10G\PRODUCT\FLASH_RECOVERY_AREA\KAHRAMAA\WGISDB\BACKUPSET\2006_08_31\O1_MF_NCSDF_TAG20060831T090012_%U_.BKP", blockno 54401 (blocksize=16384)
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 112) There is not enough space on the disk.
When I issue List backup command , the backup I have taken is available. How will I increase my Flash reovery area size??
Please help
Thanks & Cheers
AntonyI agree. I was curious why the OP mentioned 'getting an error like 'there is no space in the Flash recovery area''
You can verify your flash recovery space with:
SQL> SELECT * FROM V$RECOVERY_FILE_DEST;but as oradba mentioned, in this case it appears to be shortage of drive space. -
Rman Error after non-unicode to unicode Conversion
Dear All,
I got the below error in SAP ECC 6.0 after converting to unicode version
I scheduled Redo log backup in DB13 with verify option.Redo log backup is successful but Rman verify fails( not connected to database) with the below error.
BR0002I BRARCHIVE 7.00 (44)
BR0006I Start of offline redo log processing: aecxcgeb.svd 2010-03-31 05.00.17
BR0484I BRARCHIVE log file: E:\oracle\HRD\saparch\aecxcgeb.svd
BR0477I Oracle pfile E:\oracle\HRD\102\database\initHRD.ora created from spfile E:\oracle\HRD\102\database\spfileHRD.ora
BR0101I Parameters
Name Value
oracle_sid HRD
oracle_home E:\oracle\HRD\102
oracle_profile E:\oracle\HRD\102\database\initHRD.ora
sapdata_home E:\oracle\HRD
sap_profile E:\oracle\HRD\102\database\inithrd.sap
backup_dev_type disk
archive_copy_dir E:\zz_backup\HRD
compress no
disk_copy_cmd copy
cpio_disk_flags -pdcu
archive_dupl_del only
system_info SAPServiceHRD QCHR1 Windows 5.2 Build 3790 Service Pack 2 AMD64
oracle_info HRD 10.2.0.2.0 8192 1399 12442755 QCHR1 UTF8 UTF8
sap_info 700 SAPHRD 0002LK0003HRD0011F01141457250015Maintenance_ORA
make_info NTAMD64 OCI_10201_SHARE Dec 14 2009
command_line brarchive -u / -jid LOG__20100326050000 -c force -p inithrd.sap -sd -w use_rmv
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.23
BR0008I Offline redo log processing for database instance: HRD
BR0009I BRARCHIVE action ID: aecxcgeb
BR0010I BRARCHIVE function ID: svd
BR0048I Archive function: save_delete
BR0011I 33 offline redo log files found for processing, total size 1439.778 MB
BR0112I Files will not be compressed
BR0130I Backup device type: disk
BR0106I Files will be saved on disk in directory: E:\zz_backup\HRD
BR0136I Verify option with value 'use_rmv' set - double work to do
BR1391I RMAN will be used for verification
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0202I Saving init_ora
BR0203I to E:\zz_backup\HRD\HRD ...
BR0202I Saving E:\oracle\HRD\102\database\inithrd.sap
BR0203I to E:\zz_backup\HRD\HRD ...
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.23
BR0198I Profiles saved successfully
BR0428W File E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 will be overwritten
BR0202I Saving E:\oracle\HRD\oraarch\HRDARCHARC01366_0711116899.001
BR0203I to E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 ...
#ARCHIVE.. E:\oracle\HRD\oraarch\HRDARCHARC01366_0711116899.001
#SAVED.... E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 #1/1
BR0428W File E:\oracle\HRD\sapreorg\HRDARCHARC01366_0711116899.001 will be overwritten
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.25
BR0351I Restoring E:\oracle\HRD\sapreorg\HRDARCHARC01366_0711116899.001
BR0355I from E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 ...
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.25
BR0568I Verifying E:\ZZ_BACKUP\HRD\HRDARCHARC01366_0711116899.001 using RMAN...
BR0278E Command output of 'E:\oracle\HRD\102\BIN\rman nocatalog':
Recovery Manager: Release 10.2.0.2.0 - Production on Wed Mar 31 05:00:28 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12640: Authentication adapter initialization failed
RMAN> *end-of-file*
RMAN>
host command complete
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 03/31/2010 05:00:29
RMAN-06171: not connected to target database
RMAN> 2> 3>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 03/31/2010 05:00:29
RMAN-06171: not connected to target database
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of uncatalog command at 03/31/2010 05:00:29
RMAN-06171: not connected to target database
RMAN>
Recovery Manager complete.
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.29
BR0279E Return code from 'E:\oracle\HRD\102\BIN\rman nocatalog': 1
BR0536E RMAN call for database instance HRD failed
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.29
BR0587E Verification of archivelog file using RMAN failed
BR0570E Verification of backup of E:\oracle\HRD\oraarch\HRDARCHARC01366_0711116899.001 using RMAN failed due to previous errors
BR0016I 0 offline redo log files processed, total size 45.003 MB
BR0007I End of offline redo log processing: aecxcgeb.svd 2010-03-31 05.00.29
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.29
BR0005I BRARCHIVE terminated with errors
Please help on this
Thanks and Regards,
Vadivelan.NHi,
FInd the trans.log file content below after commenting in both the locations
4 ETW000 r3trans version 6.14 (release 700 - 03.11.09 - 14:15:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 01.04.2010 - 21:45:00
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Thu Apr 01 21:45:00 2010 0 0.000000
4 ETW000 [dev trc ,00000] db_con_init called 0 0.000000
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 0 0.000000
4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 0 0.000000
4 ETW000 [dev trc ,00000] DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 00000001887A0000
4 ETW000 3905 0.003905
4 ETW000 [dev trc ,00000] using "D:\usr\sap\HRD\SYS\exe\uc\NTAMD64\dboraslib.dll" 8 0.003913
4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 9 0.003922
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll 11 0.003933
4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "700.08", patchlevel (0.234) 177 0.004110
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll 10 0.004120
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll 17 0.004137
4 ETW000 [dev trc ,00000] New connection 0 created 18 0.004155
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 52 0.004207
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 14 0.004221
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 8 0.004229
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 22 0.004251
4 ETW000 [dev trc ,00000] CLIENT_ORACLE_HOME is not set as environment variable or 255 0.004506
4 ETW000 DIR_CLIENT_ORAHOME is not set as profile parameter.
4 ETW000 assuming using instant client with unspecified location.
4 ETW000 [dev trc ,00000] -->oci_init1 30 0.004536
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.2.0' 5667 0.010203
4 ETW000 [dev trc ,00000] Default connection: tnsname ='HRD' 14 0.010217
4 ETW000 [dev trc ,00000] -->oci_initialize(con_hdl=0, char='', nchar='') 12 0.010229
4 ETW000 [dev trc ,00000] application info callback registered 9 0.010238
4 ETW000 [dev trc ,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
4 ETW000 2149 0.012387
4 ETW000 [dev trc ,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrHp=000000000031BCB0)
4 ETW000 74 0.012461
4 ETW000 [dev trc ,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrBt=0000000000321478)
4 ETW000 20 0.012481
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 88 0.012569
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'
4 ETW000 16 0.012585
4 ETW000 [dev trc ,00000] charset='', chset='UTF8', UNI_ASC=FALSE/FALSE 9 0.012594
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPHRD's password 9 0.012603
4 ETW000 [dev trc ,00000] Connecting as /@HRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)
4 ETW000 18 0.012621
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
4 ETW000 16 0.012637
4 ETW000 [dev trc ,00000] 0 UTF8 00000000076DF090 000000000031BCB0 0000000000321478
4 ETW000 17 0.012654
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 33 0.012687
4 ETW000 [dev trc ,00000] Allocating server context handle 13 0.012700
4 ETW000 [dev trc ,00000] Attaching to DB Server HRD (con_hdl=0,svchp=0000000000321338,srvhp=00000000076FE0E8)
4 ETW000 43 0.012743
4 ETW000 [dev trc ,00000] Assigning server context 00000000076FE0E8 to service context 0000000000321338
4 ETW000 9179 0.021922
4 ETW000 [dev trc ,00000] Allocating user session handle 34 0.021956
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=0000000000321338, srvhp=00000000076FE0E8, usrhp=000000000031C4C8)
4 ETW000 23 0.021979
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 26181 0.048160
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 75 0.048235
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 26 0.048261
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017' 27 0.048288
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1017 18 0.048306
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1017) 20 0.048326
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1017 35 0.048361
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 16 0.048377
4 ETW000 [dev trc ,00000] Try to connect with default password 9 0.048386
4 ETW000 [dev trc ,00000] Connecting as SAPHRD/<pwd>@HRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)
4 ETW000 54 0.048440
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
4 ETW000 15 0.048455
4 ETW000 [dev trc ,00000] 0 UTF8 00000000076DF090 000000000031BCB0 0000000000321478
4 ETW000 17 0.048472
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0, usrhp=000000000031C4C8
4 ETW000 13 0.048485
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0, usrhp=000000000031C4C8
4 ETW000 20 0.048505
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPHRD/<pwd>, svchp=0000000000321338, srvhp=00000000076FE0E8, usrhp=000000000031C4C8)
4 ETW000 20 0.048525
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 2398 0.050923
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 61 0.050984
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 25 0.051009
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017' 17 0.051026
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1017 13 0.051039
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1017) 14 0.051053
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1017 55 0.051108
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 29 0.051137
4 ETW000 [dblink ,00433] ***LOG BY2=>sql error 1017 performing CON [dblink#8 @ 433] 32 0.051169
4 ETW000 [dblink ,00433] ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]
4 ETW000 14 0.051183
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'HRD'" -
Hello,For testing purposes I am duplicating my database from 11gR1 to 11gR2 on Windows XP.
The Oracle Sid of my database SOurce, which is in 11gR1 is : DB01.
The Oracle Sid of my auxiliary database , which is in 11gR2 is : DB02.
I am using RMAN for the duplication.
First of all, I have create a pfile from the DB01 and modified it as following :
*.audit_trail='DB_EXTENDED'
*.compatible='11.1.0.0.0'
*.control_files=('C:\app\werner\oradata\db02\CONTROL01.CTL','C:\app\werner\oradata\db02\CONTROL02.CTL','C:\app\werner\oradata\db02\CONTROL03.CTL')
*.db_file_name_convert=('F:\app\werner\oradata\db01','C:\app\werner\oradata\db02')
*.log_file_name_convert=('F:\app\werner\oradata\db01','C:\app\werner\oradata\db02')
*.db_block_size=8192
*.db_domain=''
*.db_name='db01'
*.db_recovery_file_dest_size=21474836480
*.dispatchers='(PROTOCOL=TCP) (SERVICE=db01XDB)'
*.memory_target=857735168
*.nls_numeric_characters=',.'
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'The I startup my DB02 in nomount state with :
startup nomount pfile=C:\app\werner\product\11.2.0\dbhome_1\pfile.orafrom RMAN :
I have backup the whole DB01 (the target database) database with Archivelog all. and connect to the auxiliary nomount DB02 database and
I issue the command duplicate target database to db01 but I have the following Error which means I think the auxiliary database stop at mount state
RMAN> duplicate target database to db01;
Iniciando Duplicate Db en 13/09/10
canal asignado: ORA_AUX_DISK_1
canal ORA_AUX_DISK_1: SID=10 tipo de dispositivo=DISK
contenido del archivo de comandos de memoria:
set until scn 10225405;
set newname for datafile 1 to
"C:\APP\WERNER\ORADATA\DB02\SYSTEM01.DBF";
set newname for datafile 2 to
"C:\APP\WERNER\ORADATA\DB02\SYSAUX01.DBF";
set newname for datafile 3 to
"C:\APP\WERNER\ORADATA\DB02\UNDOTBS01.DBF";
set newname for datafile 4 to
"C:\APP\WERNER\ORADATA\DB02\USERS01.DBF";
set newname for datafile 5 to
"C:\APP\WERNER\ORADATA\DB02\EXAMPLE01.DBF";
set newname for datafile 6 to
"C:\APP\WERNER\ORADATA\DB02\DATA01.DBF";
set newname for datafile 7 to
"C:\APP\WERNER\ORADATA\DB02\REPOSITORY_FOR_RMAN.DBF";
restore
clone database
ejecutando archivo de comandos de memoria
ejecutando el comando: SET until clause
ejecutando el comando: SET NEWNAME
ejecutando el comando: SET NEWNAME
ejecutando el comando: SET NEWNAME
ejecutando el comando: SET NEWNAME
ejecutando el comando: SET NEWNAME
ejecutando el comando: SET NEWNAME
ejecutando el comando: SET NEWNAME
Iniciando restore en 13/09/10
usando el canal ORA_AUX_DISK_1
canal ORA_AUX_DISK_1: iniciando restauraci¾n del juego de copias de seguridad de
archivos de datos
canal ORA_AUX_DISK_1: especificando archivo(s) de datos para restaurar del juego
de copias de seguridad
canal ORA_AUX_DISK_1: restaurando el archivo de datos 00001 a C:\APP\WERNER\O
RADATA\DB02\SYSTEM01.DBF
canal ORA_AUX_DISK_1: restaurando el archivo de datos 00002 a C:\APP\WERNER\O
RADATA\DB02\SYSAUX01.DBF
canal ORA_AUX_DISK_1: restaurando el archivo de datos 00003 a C:\APP\WERNER\O
RADATA\DB02\UNDOTBS01.DBF
canal ORA_AUX_DISK_1: restaurando el archivo de datos 00004 a C:\APP\WERNER\O
RADATA\DB02\USERS01.DBF
canal ORA_AUX_DISK_1: restaurando el archivo de datos 00005 a C:\APP\WERNER\O
RADATA\DB02\EXAMPLE01.DBF
canal ORA_AUX_DISK_1: restaurando el archivo de datos 00006 a C:\APP\WERNER\O
RADATA\DB02\DATA01.DBF
canal ORA_AUX_DISK_1: restaurando el archivo de datos 00007 a C:\APP\WERNER\O
RADATA\DB02\REPOSITORY_FOR_RMAN.DBF
canal ORA_AUX_DISK_1: leyendo desde la parte de copia de seguridad F:\APP\DB01\FLASH_RECOVERY_AREA\DB01\BACKUPSET\2010_09_13\O1_MF_NNNDF_TAG20100913T21141
8_68WY0CBQ_.BKP
canal ORA_AUX_DISK_1: manejador de parte=F:\APP\DB01\FLASH_RECOVERY_AREA\DB01\BACKUPSET\2010_09_13\O1_MF_NNNDF_TAG20100913T211418_68WY0CBQ_.BKP etiqueta=T
AG20100913T211418
canal ORA_AUX_DISK_1: parte 1 de la copia de seguridad restaurada
canal ORA_AUX_DISK_1: restauraci¾n terminada, tiempo transcurrido: 00:04:45
restore terminado en 13/09/10
sentencia sql: CREATE CONTROLFILE REUSE SET DATABASE "DB01" RESETLOGS ARCHIVE
LOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( 'C:\APP\WERNER\ORADATA\DB02\REDO01.LOG' ) SIZE 50 M REU
SE,
GROUP 2 ( 'C:\APP\WERNER\ORADATA\DB02\REDO02.LOG' ) SIZE 50 M REU
SE,
GROUP 3 ( 'C:\APP\WERNER\ORADATA\DB02\REDO03.LOG' ) SIZE 50 M REU
SE
DATAFILE
'C:\APP\WERNER\ORADATA\DB02\SYSTEM01.DBF'
CHARACTER SET AL32UTF8
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: fallo del comando Duplicate Db en 09/13/2010 21:21:29
RMAN-06136: error ORACLE en la base de datos auxiliar: ORA-01503: CREATE CONTROL
FILE ha fallado
ORA-01158: base de datos ya montada
RMAN>
RMAN>Can you help me please,
Thank youHemant K Chitale wrote:
duplicate target database to db01That is wrong. you would be duplicating the target (db01) to the auxiliary (db02).
You have the database connections and command the wrong-way around.
Hemant K ChitaleIn have got this error now, using duplicate target database to db02;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: error fatal al ejecutar el comando
RMAN-10041: No se ha podido volver a crear el contexto del canal de sondeo despuÚs del fallo.
RMAN-10024: error al crear la configuraci¾n para el sondeo rpc
RMAN-10005: error al abrir el cursor
RMAN-10002: error ORACLE: ORA-03114: not connected to ORACLE
RMAN-03002: fallo del comando Duplicate Db en 09/14/2010 12:28:48
RMAN-03015: se ha producido un error en el archivo de comandos Memory Script almacenado
RMAN-06136: error ORACLE en la base de datos auxiliar: ORA-01092: ORACLE instance terminated. Disconnection
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Identificador de Proceso: 3696
Identificador de Sesi¾n: 125 N·mero de Serie: 9 -
Problem about tdp for sap rman error
I installed tdp for sap and scheduled a online backup , after the backup finished, I checked the log.
all data files were backuped successfully. but there is an error about rman. I do not know how to do about that? Could you help me? I think the backup could be successful without rman, why in the backup log, it shows a rman error .
I checked the initDEV.sap and initDEV.utl, there is no entry about rman, I do not use rman_util.
BR0530I Cataloging backups of all database files...
BR0278E Command output of 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog':
Recovery Manager: Release 10.2.0.4.0 - Production on Sun Mar 8 13:34:21 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
connected to target database: DEV (DBID=3672496816)
using target database control file instead of recovery catalog
RMAN> *end-of-file*
RMAN>
host command complete
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 03/08/2009 13:34:23
ORA-19564: error occurred writing 8192 bytes at block number 1
ORA-27091: unable to queue I/O
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 13: Permission denied
Additional information: 3
RMAN>
Recovery Manager complete.
BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
BR0279E Return code from 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog': 1
BR0536E RMAN call for database instance DEV failed
BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
BR0532E Cataloging backups of all database files failedHello Victor,
we need the RMAN commands that were executed and at which step this error occurs.
Maybe it is a problem with the snap controlfile for the AUTOBACKUP or many other scenarios are possible.
We are also using the TDP for mySAP, but without RMAN support.
If you want to use just RMAN (like we do for non-SAP systems / no BR*Tools) you can save a lot of license/service costs, if you are using TDP for Oracle, but keep in mind that you are losing the support for that by SAP. You can directly open a call by oracle for these situations.
If you want this scenario as described we need more detailed information. Maybe a "LIST BACKUP" would also be nice.
Regards
Stefan -
Rman error in active passive server
PROBLEM:
Rman is not working properly.
DATABASE NAMES
1)METALIB
2)PREMO
DIAGNOSTIC ANALYSIS:
1) CREATE RMAN_META4 CATALOG IN ‘METALIB’ DATABASE.
2) CREATE RMAN_PRM1 CATALOG IN ‘PREMO’ DATABASE.
3) PREMO DATABASE IS REGISTRED IN ‘RMAN_META4’ CATALOG.
4) METALIB DATABASE IS REGISTRED IN ‘RMAN_PRM’ CATALOG.
5) TWO DATABASES ARE UNARCHIVE LOG TO ARCHIVE LOG MODE CHANGED.
6) EXECUTED INCREMENTEL LEVEL 0 BAKUP SCRIPT IN RMAN_PRM1.
7) IN THAT TIME metalib target database alert log file it is showing
GES: Potential blocker (pid=282) on resource CF-00000000-00000000;
enqueue info in file /exlibris/app/oracle/admin/meta4/bdump/meta4_arc0_22455.trc
Killing enqueue blocker (pid=282) on resource CF-00000000-00000000
by killing session 189.549GES: Potential blocker (pid=8833) on resource CF-00000000-00000000;
8) Trace meta4_arc0_22455.trc shows:
Unable to get enqueue on resource CF-00000000-00000000 (ges mode req=3 held=6)
Possible local blocker ospid=282 sid=189 sser=549 time_held=1027 secs (ges mode req=6 held=4)
Killing blocker (pid=282) on resource CF-00000000-00000000
DUMP LOCAL BLOCKER: initiate state dump for KILL
last wait for 'control file sequential read' blocking sess=0x0 seq=407 wait_time=15 seconds since wait started=1033
file#=0, block#=11, blocks=1
Dumping Session Wait History
REQUEUE CONTROL FILE ENQUEUE REQUEST AFTER KILLING THE FIRST BLOCKER
BLOCKER: inst=1, session id=189, serial=549, held=1027sec
REQUESTER: mode=S, type=0, timeout=900, new timeout=450
9) IN METAL DATABASE
SELECT SESSION_ID,LOCK_TYPE,LAST_CONVERT,MODE_HELD,BLOCKING_OTHERS FROM DBA_LOCK;
**** Hit return to continue ****
SESSION_ID LOCK_TYPE LAST_CONVERT MODE_HELD BLOCKING_OTHERS
426 Control File 214 None Not Blocking
444 Redo Thread 97079 Exclusive Not Blocking
189 Control File 220 S/Row-X (SSX) Blocking
189 Control File 220 Share Not Blocking
189 Control File 220 Exclusive Not Blocking
190 Control File 96 None Not Blocking
212 SH 37 Exclusive Not Blocking
212 DML 37 Exclusive Not Blocking
212 Transaction 37 Exclusive Not Blocking
212 DML 37 Row-X (SX) Not Blocking
212 WF 39 Exclusive Not Blocking
**** Hit return to continue ****
SESSION_ID LOCK_TYPE LAST_CONVERT MODE_HELD BLOCKING_OTHERS
212 Control File 37 None Not Blocking
218 Temp Segment 97077 Row-X (SX) Not Blocking
219 RS 97079 Row-S (SS) Not Blocking
219 XR 97085 Null Not Blocking
219 Control File 97082 Row-S (SS) Blocking
219 KT 97077 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
**** Hit return to continue ****
SESSION_ID LOCK_TYPE LAST_CONVERT MODE_HELD BLOCKING_OTHERS
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 PW 97076 Row-X (SX) Not Blocking
220 Media Recovery 97079 Share
10) I tried rman /nocatalog same error
rman target / nocatalog
Recovery Manager: Release 10.2.0.3.0 - Production on Fri Oct 12 08:38:59 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: META4 (DBID=633370153)
using target database control file instead of recovery catalog
RMAN> backup database;
Starting backup at 12-OCT-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=188 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00009 name=/metalib/oradata/meta4/meta4_ts0_02.dbf
input datafile fno=00011 name=/metalib/oradata/meta4/meta4_ts1_03.dbf
input datafile fno=00010 name=/metalib/oradata/meta4/meta4_ts1_02.dbf
input datafile fno=00007 name=/metalib/oradata/meta4/meta4_ts0_01.dbf
input datafile fno=00008 name=/metalib/oradata/meta4/meta4_ts1_01.dbf
input datafile fno=00012 name=/metalib/oradata/meta4/meta4_rman01.dbf
input datafile fno=00001 name=/metalib/oradata/meta4/meta4_system01.dbf
input datafile fno=00003 name=/metalib/oradata/meta4/meta4_sysaux01.dbf
input datafile fno=00002 name=/metalib/oradata/meta4/meta4_undotbs01.dbf
input datafile fno=00004 name=/metalib/oradata/meta4/meta4_users01.dbf
input datafile fno=00005 name=/metalib/oradata/meta4/meta4_tslob01.dbf
input datafile fno=00006 name=/metalib/oradata/meta4/meta4_log01.dbf
channel ORA_DISK_1: starting piece 1 at 12-OCT-07
channel ORA_DISK_1: finished piece 1 at 12-OCT-07
piece handle=/exl_backup/meta4/meta4_db_df20071012_s22_s1.bak tag=TAG20071012T084331 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:04:36
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 10/12/2007 09:11:44
ORA-03114: not connected to ORACLE
ORA-03113: end-of-file on communication channel
##############################################################hi,
The error 'not connected to Oracle' suggests that the database was not up and running when rman was invoked. Have you had anymore success with this?
regards
Alan -
RMAN error when restoring controlfile from tape
Hi,
We have a Production database with instance name PROD.
We use Symantec Netbackup software to backup this database to tape library.
We want to test some recovery scenarios on a test server. So we want to restore the production backups from Tape to this test server.
We did the following:
Cloned the ORACLE Home to the Test Server.
Changed the db_name parameter to PROD and also set ORACLE_SID to PROD.
then we connected to RMAN and ran the following command to restore the control files:
RMAN> run {
set dbid 4155532403
set controlfile autobackup format for device type 'sbt_type' to '%F';
set until time "to_date('16/12/2012:10:13:37','dd/mm/yyyy:hh24:mi:ss')";
allocate channel t1 device type 'sbt_tape';
SEND 'NB_ORA_SERV=riysvbkp-001,NB_ORA_CLIENT=lh-erp';
restore controlfile to '/testerp/dbexec/tmp/cf1.ctl' from autobackup;
executing command: SET DBID
database name is "PROD" and DBID is 4155532403
executing command: SET CONTROLFILE AUTOBACKUP FORMAT
executing command: SET until clause
allocated channel: t1
channel t1: SID=171 device type=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 7.1 (2011082510)
sent command to channel: t1
Starting restore at 17-DEC-12
channel t1: looking for AUTOBACKUP on day: 20121216
channel t1: AUTOBACKUP found: c-4155532403-20121216-01
channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/17/2012 08:34:41
ORA-19870: error while restoring backup piece c-4155532403-20121216-01
ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Failed to process backup file <c-4155532403-20121216-01>
Here you can see that AUTOBACKUP is found but RMAN is unable to process the backup piece.
I am not able to see any errors in the log files. Please advise.
Thanks,
Muneer.Thanks.
The earlier error is gone and now I am getting the following error:
channel t1: looking for AUTOBACKUP on day: 20121216
channel t1: AUTOBACKUP found: c-4155532403-20121216-01
channel t1: restoring control file from AUTOBACKUP c-4155532403-20121216-01
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/17/2012 14:34:25
ORA-19870: error while restoring backup piece c-4155532403-20121216-01
ORA-19507: failed to retrieve sequential file, handle="c-4155532403-20121216-01", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Backup file <c-4155532403-20121216-01> not found in NetBackup catalog -
Primary and Standby, RMAN errors 8137 and 8591
Hello,
I have to resolve a serious problem of synchronization of two databases, one primary and one standby.
I receive on the RMAN scripts these two errors : RMAN 8137 and RMAN 8591. I well know what these errors mean. The archivelogs were not sent on the standby, and so they are still needed, and not deleted.
I have tried to follow the Oracle procedure of database synchronization (document 836986.1), but without success, as the archivelogs are still needed.
Here is (a part of) the debug trace when I send the delete input command on the primary:
DBGSQL: EXEC SQL AT TARGET begin dbms_rcvman . getRequiredSCN ( reqscn => :safescn:safescn_i , rlgscn => :reqrlgscn:reqrlgscn_i ) ; end ; [15:39:43.190]
DBGSQL: sqlcode=0 [15:39:44.174]
DBGSQL: :b1 = 1444336744
DBGSQL: :b3 = 380426159
DBGRCVMAN: ENTERING getRequiredSCN
DBGRCVMAN: this_cftype=CURRENT
DBGRCVMAN: ENTERING getAppliedSCN, alldest=0
DBGRCVMAN: ENTERING anyRemoteDestinations
DBGRCVMAN: no_target = 0
DBGRCVMAN: EXITING anyRemoteDestinations anyRemoteDestinations - target=
DBGRCVMAN: EXITING getAppliedSCN, alldest=0 getAppliedSCN - appscn=,rlgscn=
DBGRCVMAN: Got dest = 2, thread=1,sequence=16675,next_change=1206438636,applied=YES,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=
BGRCVMAN: Got dest = 2, thread=1,sequence=20830,next_change=1430809158,applied=YES,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=
DBGRCVMAN: Got dest = 2, thread=1,sequence=20852,next_change=1431558961,applied=NO,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=
DBGRCVMAN: Got dest = 2, thread=1,sequence=21328,next_change=1454979735,applied=NO,resetlogs_change=380426159
DBGRCVMAN: gap_scn=,high_scn=,possible_gap=1444336744
DBGRCVMAN: Got dest = 11, thread=1,sequence=1,next_change=1,applied=,resetlogs_change=0
DBGRCVMAN: gap_scn=1444336744,high_scn=1454979735,possible_gap=
DBGRCVMAN: USE gap_scn:reqscn=1444336744,rlgscn=380426159
DBGRCVMAN: EXITING getRequiredSCN getRequiredSCN - reqscn=1444336744,rlgscn=380426159 ==> 444336744
Since sequence 20852, the archivelogs are not known on the standby.
The first archivelog on the primary that is still there is the sequence 21095.
Here is the rman configuration:
RMAN> show all;
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\S
NCFBDSIVOA.ORA'; # default
I have tried several times to do incremental backup on the primary, apply it on the standby, but it never worked, except for the current_scn which changed on the standby. The archivelogs are still needed on the primary, unfortunately.
What could I do next?
Starting a new incremental backup starting with sequence 20852?
Deleting by force all the archivelogs? And in that case what to do for the standby?
Starting a new incremental backup taking the current scn of the standby?
Edited by: Christian on Jun 10, 2012 11:46 PMIt was the first time I heard of broker enabled.
Just know that I can check if the dataguard is ok by launching dgmgrl
S:\>dgmgrl
DGMGRL for 32-bit Windows: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Bienvenue dans DGMGRL, tapez "help" pour obtenir des informations.
DGMGRL> connect sys/oracle@teleg1p
Connexion Útablie
DGMGRL> show configuration verbose
Configuration
Name: TELEG
Enabled: YES
Protection Mode: MaxAvailability
Fast-Start Failover: DISABLED
Databases:
TELEG2P - Physical standby database
TELEG1P - Primary database
Statut actuel de "TELEG":
SUCCESS
I performed on the primary database some log switches and I checked on the alert log of the primary database:
LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
LNSb started with pid=33, OS id=5812
Mon Jun 11 15:28:00 2012
Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED
LGWR: Standby redo logfile selected to archive thread 1 sequence 21393
LGWR: Standby redo logfile selected for thread 1 sequence 21393 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 15:28:00 2012
Thread 1 advanced to log sequence 21393 (LGWR switch)
Current log# 7 seq# 21393 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO07.LOG
Current log# 7 seq# 21393 mem# 1: C:\ORADATA\BDSIVOA\REDO70.LOG
Mon Jun 11 15:28:38 2012
ARC8: Standby redo logfile selected for thread 1 sequence 21392 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 15:40:54 2012
ALTER SYSTEM ARCHIVE LOG
Mon Jun 11 15:40:57 2012
LGWR: Standby redo logfile selected to archive thread 1 sequence 21394
LGWR: Standby redo logfile selected for thread 1 sequence 21394 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 15:40:58 2012
Thread 1 advanced to log sequence 21394 (LGWR switch)
Current log# 1 seq# 21394 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO01.LOG
Current log# 1 seq# 21394 mem# 1: C:\ORADATA\BDSIVOA\REDO10.LOG
Mon Jun 11 15:43:07 2012
Errors in file d:\oracle\product\10.2.0\admin\bdsivoa\udump\bdsivoa_ora_5200.trc:
ORA-19816: AVERTISSEMENT : il peut exister dans db_recovery_file_dest des fichiers qui ne sont pas connus de la base de données.
Mon Jun 11 15:43:07 2012
WARNING: A file of type BACKUP PIECE may exist in
db_recovery_file_dest that is not known to the database.
Use the RMAN command CATALOG RECOVERY AREA to re-catalog
any such files. This is most likely the result of a crash
during file creation.
Mon Jun 11 16:56:38 2012
LGWR: Standby redo logfile selected to archive thread 1 sequence 21395
LGWR: Standby redo logfile selected for thread 1 sequence 21395 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:39 2012
Thread 1 advanced to log sequence 21395 (LGWR switch)
Current log# 2 seq# 21395 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO02.LOG
Current log# 2 seq# 21395 mem# 1: C:\ORADATA\BDSIVOA\REDO20.LOG
LGWR: Standby redo logfile selected to archive thread 1 sequence 21396
LGWR: Standby redo logfile selected for thread 1 sequence 21396 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:44 2012
Thread 1 advanced to log sequence 21396 (LGWR switch)
Current log# 3 seq# 21396 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO03.LOG
Current log# 3 seq# 21396 mem# 1: C:\ORADATA\BDSIVOA\REDO30.LOG
LGWR: Standby redo logfile selected to archive thread 1 sequence 21397
LGWR: Standby redo logfile selected for thread 1 sequence 21397 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:48 2012
Thread 1 advanced to log sequence 21397 (LGWR switch)
Current log# 7 seq# 21397 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO07.LOG
Current log# 7 seq# 21397 mem# 1: C:\ORADATA\BDSIVOA\REDO70.LOG
Thread 1 cannot allocate new log, sequence 21398
Checkpoint not complete
Current log# 7 seq# 21397 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO07.LOG
Current log# 7 seq# 21397 mem# 1: C:\ORADATA\BDSIVOA\REDO70.LOG
LGWR: Standby redo logfile selected to archive thread 1 sequence 21398
LGWR: Standby redo logfile selected for thread 1 sequence 21398 for destination LOG_ARCHIVE_DEST_2
Mon Jun 11 16:56:53 2012
Thread 1 advanced to log sequence 21398 (LGWR switch)
Current log# 1 seq# 21398 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\BDSIVOA\REDO01.LOG
Current log# 1 seq# 21398 mem# 1: C:\ORADATA\BDSIVOA\REDO10.LOG
and in the standby:
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21394 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:38 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:38 2012
Media Recovery Waiting for thread 1 sequence 21395 (in transit)
Mon Jun 11 16:56:39 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21395 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:44 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:44 2012
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\DGSBY_TELEG2P1_21395_651495375.ARC
Media Recovery Waiting for thread 1 sequence 21396 (in transit)
Mon Jun 11 16:56:45 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21396 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:48 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:48 2012
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\DGSBY_TELEG2P1_21396_651495375.ARC
Media Recovery Waiting for thread 1 sequence 21397 (in transit)
Mon Jun 11 16:56:49 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21397 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
Mon Jun 11 16:56:53 2012
Primary database is in MAXIMUM AVAILABILITY mode
Standby controlfile consistent with primary
RFS[1]: Successfully opened standby log 4: 'C:\ORADATA\BDSIVOA\SRL01.LOG'
Mon Jun 11 16:56:53 2012
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\DGSBY_TELEG2P1_21397_651495375.ARC
Media Recovery Waiting for thread 1 sequence 21398 (in transit)
Mon Jun 11 16:56:54 2012
Recovery of Online Redo Log: Thread 1 Group 4 Seq 21398 Reading mem 0
Mem# 0: C:\ORADATA\BDSIVOA\SRL01.LOG
and the bdsivoa_lgwr_600.trc:
Error 1041 closing standby archive log file at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
ORA-01041: internal error. hostdef extension doesn't exist
Archive destination LOG_ARCHIVE_DEST_2 made inactive: File close error
*** 2012-06-11 15:02:34.684 64292 kcrr.c
LGWR: Error 1041 closing archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Receiving message from LNSb
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 5
rfsver: 2
rfsflag: 0xc24883
rfscount:4497982
rfspclt: 3
rfscpid: 600
rfsbuf: 07320200
rfsbufl: 448
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 2
rfsthrd: 1
rfsseq: 21391
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:2190
rfsblksz:512
rfsblkct:3
rfsalosb:1457077858
rfsalosw:0
rfsalost:785687783
rfsalnsb:1457082525
rfsalnsw:0
rfsalnst:785689354
rfsalbct:2192
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 1
rfscsq: 21391
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 072BE398
rfsnaml: 512
&rfsnamrl: 072BE5D4
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
Error 1041 detaching RFS from standby instance at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
*** 2012-06-11 15:02:34.684 58869 kcrr.c
Making upidhs request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:02:34> and NET_TIMEOUT <180> seconds
NetServer pid:4720
*** 2012-06-11 15:02:38.684 59041 kcrr.c
upidhs done status 1041
*** 2012-06-11 15:02:38.684 64292 kcrr.c
LGWR: Error 1041 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Ignoring krslcmp() detach error 1041
*** 2012-06-11 15:02:38.684 58869 kcrr.c
No LNS exists (ocis 0x0957E6B8) that requires a disconnect
*** 2012-06-11 15:02:38.684 57042 kcrr.c
Initializing NetServer[LNSb] for dest=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC
LNSb is not running anymore.
New SYNC LNSb needs to be started
Waiting for subscriber count on LGWR-LNSb channel to go to zero
Subscriber count went to zero - time now is <06/11/2012 15:02:38>
Starting LNSb ...
Waiting for LNSb to initialize itself
*** 2012-06-11 15:02:41.731 57333 kcrr.c
Netserver LNSb [pid 3524] for mode SYNC has been initialized
Performing a channel reset to ignore previous responses
Successfully started LNSb [pid 3524] for dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC ocis=0x0957E6B8
*** 2012-06-11 15:02:41.731 57836 kcrr.c
Making upiahm request to LNSb [pid 3524]: Begin Time is <06/11/2012 15:02:38>. NET_TIMEOUT = <180> seconds
Waiting for LNSb to respond to upiahm
*** 2012-06-11 15:02:41.809 58000 kcrr.c
upiahm connect done status is 0
Receiving message from LNSb
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 15:02:42.278 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:02:38> and NET_TIMEOUT is <180> seconds
NetServer pid:3524
*** 2012-06-11 15:07:01.125
Warning: log write time 500ms, size 5KB
*** 2012-06-11 15:18:43.806
Warning: log write time 640ms, size 2KB
*** 2012-06-11 15:25:22.983
Received upistatus 1089 from Network Server
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 3
rfsver: 2
rfsflag: 0xc24882
rfscount:4499358
rfspclt: 3
rfscpid: 600
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 3
rfsthrd: 1
rfsseq: 21392
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:7830
rfsblksz:512
rfsblkct:2
rfsalosb:1457082525
rfsalosw:0
rfsalost:785689354
rfsalnsb:-1
rfsalnsw:65535
rfsalnst:785690722
rfsalbct:7831
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 2
rfscsq: 21392
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 00000000
rfsnaml: 512
&rfsnamrl: 00000000
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
*** 2012-06-11 15:25:22.983 64292 kcrr.c
LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (1089)
*** 2012-06-11 15:25:22.983 64292 kcrr.c
LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
ORA-01089: immediate shutdown in progress - no operations are permitted
*** 2012-06-11 15:25:23.030 64292 kcrr.c
LGWR: Network asynch I/O wait error 1089 log 3 service '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
*** 2012-06-11 15:25:23.030 62560 kcrr.c
kcrrfail: dest:2 err:1089 force:0 blast:1
*** 2012-06-11 15:27:52.625
*** 2012-06-11 15:27:52.625 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:27:52> and NET_TIMEOUT is <180> seconds
NetServer pid:3524
Receiving message from LNSb
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 4
rfsver: 2
rfsflag: 0xc24883
rfscount:4499359
rfspclt: 3
rfscpid: 600
rfsbuf: 07320200
rfsbufl: 448
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 3
rfsthrd: 1
rfsseq: 21392
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:7830
rfsblksz:512
rfsblkct:2
rfsalosb:1457082525
rfsalosw:0
rfsalost:785689354
rfsalnsb:1457087134
rfsalnsw:0
rfsalnst:785690872
rfsalbct:7831
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 2
rfscsq: 21392
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 072BE034
rfsnaml: 512
&rfsnamrl: 072BE270
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
Error 1041 closing standby archive log file at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
ORA-01041: internal error. hostdef extension doesn't exist
Archive destination LOG_ARCHIVE_DEST_2 made inactive: File close error
*** 2012-06-11 15:27:52.750 64292 kcrr.c
LGWR: Error 1041 closing archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Receiving message from LNSb
LGWR: Failed
rfsp: 087BA4B8
rfsmod: 5
rfsver: 2
rfsflag: 0xc24883
rfscount:4499360
rfspclt: 3
rfscpid: 600
rfsbuf: 07320200
rfsbufl: 448
rfsrfn: 00000000
rfsrfn:
rfsdbi: 0x3690556c
rfsmid: 0x421c0569
rfsacid: 0x41550d85
rfslno: 3
rfsthrd: 1
rfsseq: 21392
rfsabf: 4
rfsabz: 2048
rfscflg: 0x1
rfssblkn:7830
rfsblksz:512
rfsblkct:2
rfsalosb:1457082525
rfsalosw:0
rfsalost:785689354
rfsalnsb:1457087134
rfsalnsw:0
rfsalnst:785690872
rfsalbct:7831
rfsaldst:2
rfsreopn:300
rfsdelay:0
rfscln: 2
rfscsq: 21392
rfsalsiz:102400
rfsrfx: 087BA438
&rfsnam: 072BE398
rfsnaml: 512
&rfsnamrl: 072BE5D4
&rfsarb: 001FDCA8
rfsarbl: 64
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
rfsflg2: 0x8
rfsdgid: 0xc371adb8
rfxp: 0x087BA438
rfxalmid: 0x0
rfxrflg: 0x0
rfxdgid:0x0
rfxogapflg:0x0
rfsarb.kccicrls:0:380426159
rfsarb.kccicrlc:651495375
Error 1041 detaching RFS from standby instance at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
*** 2012-06-11 15:27:52.750 58869 kcrr.c
Making upidhs request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:27:52> and NET_TIMEOUT <180> seconds
NetServer pid:3524
*** 2012-06-11 15:27:56.750 59041 kcrr.c
upidhs done status 1041
*** 2012-06-11 15:27:56.750 64292 kcrr.c
LGWR: Error 1041 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated)))'
Ignoring krslcmp() detach error 1041
*** 2012-06-11 15:27:56.750 58869 kcrr.c
No LNS exists (ocis 0x0957E6B8) that requires a disconnect
*** 2012-06-11 15:27:56.750 57042 kcrr.c
Initializing NetServer[LNSb] for dest=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC
LNSb is not running anymore.
New SYNC LNSb needs to be started
Waiting for subscriber count on LGWR-LNSb channel to go to zero
Subscriber count went to zero - time now is <06/11/2012 15:27:56>
Starting LNSb ...
Waiting for LNSb to initialize itself
*** 2012-06-11 15:27:59.766 57333 kcrr.c
Netserver LNSb [pid 5812] for mode SYNC has been initialized
Performing a channel reset to ignore previous responses
Successfully started LNSb [pid 5812] for dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=TELEG2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TELEG2P_XPT.SIVOA)(INSTANCE_NAME=bdsivoa)(SERVER=dedicated))) mode SYNC ocis=0x0957E6B8
*** 2012-06-11 15:27:59.766 57836 kcrr.c
Making upiahm request to LNSb [pid 5812]: Begin Time is <06/11/2012 15:27:56>. NET_TIMEOUT = <180> seconds
Waiting for LNSb to respond to upiahm
*** 2012-06-11 15:27:59.875 58000 kcrr.c
upiahm connect done status is 0
Receiving message from LNSb
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 15:28:00.235 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:27:56> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 15:40:54.229
*** 2012-06-11 15:40:54.229 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:40:54> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 15:40:57.604 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 15:40:54> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:32.865
*** 2012-06-11 16:56:32.865 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:32> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 16:56:38.803 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:33> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:43.944
*** 2012-06-11 16:56:43.944 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:43> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 16:56:44.490 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:44> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:48.037 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:48> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb
*** 2012-06-11 16:56:48.615 59225 kcrr.c
Making upinbls request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:48> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
*** 2012-06-11 16:56:53.178 59080 kcrr.c
Making upinblc request to LNSb (ocis 0x0957E6B8). Begin time is <06/11/2012 16:56:53> and NET_TIMEOUT is <180> seconds
NetServer pid:5812
Receiving message from LNSb
Receiving message from LNSb -
Hello All,
We are running ECC 6.0 system in Oracle and we have scheduled the Full online backup+redolog backup eery weekend. But the backup fails with the following error
BR0530I Cataloging backups of all database files...
BR0278E Command output of 'E:\oracle\SID\102\BIN\rman nocatalog':
Recovery Manager: Release 10.2.0.2.0 - Production on Sat Feb 28 14:08:26 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
connected to target database: SID (DBID=130858580)
using target database control file instead of recovery catalog
RMAN> *end-of-file*
RMAN>
host command complete
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 02/28/2009 14:08:31
ORA-19625: error identifying file
xxx.xx.x.xxx\BACKUP\hostname\BEAAGPUK\DIMD.DATA1
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
RMAN>
Recovery Manager complete.
BR0280I BRBACKUP time stamp: 2009-02-28 14.08.31
BR0279E Return code from 'E:\oracle\SID\102\BIN\rman nocatalog': 1
BR0536E RMAN call for database instance SID failed
BR0280I BRBACKUP time stamp: 2009-02-28 14.08.31
BR0532E Cataloging backups of all database files failed
BR0056I End of database backup: beaagpuk.fnd 2009-02-28 14.08.31
BR0280I BRBACKUP time stamp: 2009-02-28 14.08.31
BR0054I BRBACKUP terminated with errors
I have checked the permission and its fine at OS level. I have also created the SAPServiceSID user in the backup device. Still we face this issue.
Kindly suggest
Regards,
AnandHello everyone
I have exactly the same problem as described above
>
Anandh wrote:
> The issue is solved and the solution provided by Michael helped.
Can you please write what did you exactly do to solve this problem? I tried to set up permission in many diffrent ways (even giving the full access to the share to Everyone) but it didn't help.
Any help highly appreciate -
RMAN error when backing up in another server
I have 2 server prod and backprod. I don't have a sufficient space to run rman backup on the production server and I try to run rman in the backprod server and I receive the following error message.
$rman target sys/sys@prod nocatalog;
RMAN> run {
allocate channel d1 type disk;
BACKUP format '/data2/backup/bk_%s_%p_%t' TABLESPACE test_rman;
release channel d1;
allocated channel: d1
channel d1: sid=73 devtype=DISK
Starting backup at 02-MAY-07
channel d1: starting full datafile backupset
channel d1: specifying datafile(s) in backupset
input datafile fno=00101 name=/data5/abillity/telma/test_rman_01.dbf
channel d1: starting piece 1 at 02-MAY-07
released channel: d1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on d1 channel at 05/02/2007 09:54:58
ORA-19504: failed to create file "/data2/backup/bk_288_1_621510902"
ORA-27040: skgfrcre: create error, unable to create file
IBM AIX RISC System/6000 Error: 2: No such file or directory
The directory /data2/backup exist in backprod and I have a right on this backprod.
Any helps?I can create a file in this directory.
This directory doesn't exist on the prod server but I want that the file backup reside in backprod.
When I try to run the backup on windows server, there was no error message but the file backup is create on the prod server in a default directory $ORACLE_HOME/dbs.
What should I to create this backup file on a remote machine?
Regards -
ORA-12560: TNS:protocol adapter error rman
hello all,
i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out why...any help would be appericiated....
C:\oracle\sql>set ORACLE_SID=comp
C:\oracle\sql>
C:\oracle\sql>echo %ORACLE_SID%
comp
C:\oracle\sql>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 09:54:16 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error
C:\oracle\sql>
C:\oracle\sql>
C:\oracle\sql>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUL-2011 09:54:20
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxx)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 06-JUL-2011 09:53:53
Uptime 0 days 0 hr. 0 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1521)))
Services Summary...
Service "COMP" has 1 instance(s).
Instance "COMP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\oracle\sql>user8363520 wrote:
hello all,
i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out why...any help would be appericiated....
If you have backup and you dropped database then you can create it again.
1) Create directories for background,user,audit dumpdest and control,online log,datafiles.
2) Create OracleServiceComp if that is not exists using ORADIM utility(oradim -new -sid COMP -intpwd <syspass> -pfile <pfile location>)
3) After starting oracle service
set ORACLE_SID=COMP
rman target /
/*if you do not have spfile also then you have to restore it from
full/auto backup or startup database using pfile(create it manually)*/
startup nomount ;
restore controlfile from 'full or autobackup location';
alter database mount;
catalog start with 'backup location';
restore database;
recover database;
alter database open resetlogs; -
RMAN Error - restore database validate
Hi all
I am trying to validate a full database backup taken on tape using 'restore database validate' command but for some reason this command spits out multi-page long PL/SQL code (below truncated output). I have searched all over for a solution but can't seem to figure out the problem.
Any assistance will be appreciated.
RMAN> allocate channel for maintenance type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
2> crosscheck backup;
3> restore database validate;
4> release channel;
5> exit;
allocated channel: ORA_MAINT_SBT_TAPE_1
channel ORA_MAINT_SBT_TAPE_1: SID=82 device type=SBT_TAPE
channel ORA_MAINT_SBT_TAPE_1: Data Protection for Oracle: version 5.4.1.0
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-822607628-20101006-02 RECID=66 STAMP=731711718
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=DB_20101007_77_2dlpsj84_1_1.dbf RECID=67 STAMP=731794692
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=CF_20101008_116_3klpt5iv_1_1.ctl RECID=106 STAMP=731813472
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-822607628-20101008-01 RECID=107 STAMP=731813518
Crosschecked 42 objects
Starting restore at 08-OCT-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=110 device type=DISK
DBGANY: CMD type=IRESTORE cmdid=1 status=NOT STARTED
DBGANY: 1 STEPstepid=1 cmdid=1 status=NOT STARTED devtype=SBT_TAPE bs.stamp=731812991 step_size=0 Bytes
DBGANY: 1 TEXTNOD = -- rsdf_start
DBGANY: 2 TEXTNOD = declare
DBGANY: 3 TEXTNOD = /* restoreStatus */
DBGANY: 4 TEXTNOD = state binary_integer;
DBGANY: 5 TEXTNOD = pieces_done binary_integer;
DBGANY: 6 TEXTNOD = files binary_integer;
DBGANY: 7 TEXTNOD = datafiles boolean;
DBGANY: 8 TEXTNOD = incremental boolean;
DBGANY: 9 TEXTNOD = device boolean;
DBGANY: 10 TEXTNOD = /* restorebackuppiece */
DBGANY: 11 TEXTNOD = done boolean;
DBGANY: 12 TEXTNOD = currcf boolean;
DBGANY: 266 TEXTNOD = sys.dbms_backup_restore.restoreCancel(FALSE);
DBGANY: 267 TEXTNOD = exception
DBGANY: 268 TEXTNOD = when others then
DBGANY: 269 TEXTNOD = krmicd.writeMsg(1005,
DBGANY: 270 TEXTNOD = 'c. dbms_backup_restore.restoreCancel() failed');
DBGANY: 271 TEXTNOD = end;
DBGANY: 272 TEXTNOD = sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGANY: 273 TEXTNOD = end;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
RMAN-00600: internal error, arguments [6000] [] [] [] []Hi Sybrand
So here's the deal:
1) 'backup validate database;' is run before RMAN backup to check for any logical or physical corruption in datafiles or archivelogs.
If the backup validation discovers corrupt blocks, then RMAN updates the V$DATABASE_BLOCK_CORRUPTION view with rows describing the corruptions.
2)
a- 'restore database validate;' is run after RMAN backup to check for any logical or physical corruption in backupsets.
b- 'validate backupset <n>;' is also run after RMAN backup to check for any logical or physical corruption in backupsets. The difference being you have to run it for each individual backupset as opposed to the previous option (2a), which loops through all existing backupsets.
I believe for now only option 2b is available for use in my case.
Cheers.
Maybe you are looking for
-
Missing points from an on-line purchase
I placed an order online back on April 4th and was picked-up on 04/23. The transaction shows up under my points and purchases, but shows zero points under the Total Points Earned with this transaction. How do I get this resolved?
-
Why html page opens when I try to open a document clicking on Link?
Hi, Why a blank html page opens along with the File download diolog box when I try to open an Excel file by clicking on a Link/button (In Flash CS4). Though the html page disappears as soon as I click on "Open" or "Save" option. But It should just sh
-
How can I handle Timeline dynamically....
I want to handle the timeline attribute dynamically....
-
Hello, I'm trying to make one simple animation, sliding one div right to left when user click's on <li> list element. it works good in firefox, chome and safari, but in IE it does nothing. What should I change in this piece of code to make it work? T
-
HT201071 Panasonic LUMIX DMC-FZ70/72 RAW images?
I have Panasonic LUMIX DMC-FZ70/72, which doesn't figure on the list of supported cameras. What can I do with my RAW images?