一次Oracle DG错误警示(生产库)

本文涉及的产品
云防火墙,500元 1000GB
简介:

生产库DG ,防火墙限制,导致归档传送失败

主库在北京,备库在云南,主备、库网络通道之间有防火墙,由于防火墙对数据包传输的大小做了限制,导致北京和云南之间的主备库传输归档日志失败。


1、告警日志错误

主库:(北京)

WARN: ARC3: Terminating ARCH (pid 9608) hung on a network operation
WARN: ARC3: Terminating ARCH (pid 21006) hung on a network operation
krsv_proc_kill: Killing 140329466462209 processes (Process by index)
ARC2: Detected ARCH process failure
ARC2: Detected ARCH process failure
ARC2: STARTING ARCH PROCESSES
Wed Nov 06 16:33:49 2013
ARC1 started with pid=72, OS id=21750 
ARC1: Archival started

备库:(云南)

Archived Log entry 860 added for thread 1 sequence 34061 ID 0xaa380b96 dest 1:
Wed Nov 06 16:25:04 2013
RFS[38]: Assigned to RFS process 10796
RFS[38]: Identified database type as 'physical standby': Client is ARCH pid 20273
krsv_proc_kill: Killing 1 processes (idle RFS by threadquence)
RFS[38]: Selected log 13 for thread 1 sequence 34063 dbid -1439133290 branch 817469144
Wed Nov 06 16:26:02 2013
RFS[39]: Assigned to RFS process 10798
RFS[39]: Identified database type as 'physical standby': Client is ARCH pid 9618
krsv_proc_kill: Killing 1 processes (idle RFS by threadquence)
Wed Nov 06 16:26:04 2013
Fetching gap sequence in thread 1, gap sequence 33964-33964
Error 12154 received logging on to the standby
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
Errors in file /opt/oracle/diag/rdbms/ynstandbyboss/PROD/trace/PROD_pr00_10641.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
Errors in file /opt/oracle/diag/rdbms/ynstandbyboss/PROD/trace/PROD_pr00_10641.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
Wed Nov 06 16:26:05 2013
RFS[40]: Assigned to RFS process 10800
RFS[40]: Identified database type as 'physical standby': Client is ARCH pid 21006
RFS[40]: Opened log for thread 1 sequence 33964 dbid -1439133290 branch 817469144
Wed Nov 06 16:26:06 2013
RFS[41]: Assigned to RFS process 10802
RFS[41]: Identified database type as 'physical standby': Client is ARCH pid 9608
RFS[41]: No standby redo logfiles of size 7307 blocks available
RFS[41]: Opened log for thread 1 sequence 34068 dbid -1439133290 branch 817469144
Wed Nov 06 16:30:13 2013
RFS[42]: Assigned to RFS process 10809
RFS[42]: Identified database type as 'physical standby': Client is ARCH pid 21750
krsv_proc_kill: Killing 1 processes (idle RFS by threadquence)
Wed Nov 06 16:30:13 2013
RFS[43]: Assigned to RFS process 10811
RFS[43]: Identified database type as 'physical standby': Client is ARCH pid 17175
krsv_proc_kill: Killing 1 processes (idle RFS by threadquence)
Wed Nov 06 16:30:14 2013
RFS[44]: Assigned to RFS process 10813
RFS[44]: Identified database type as 'physical standby': Client is ARCH pid 21730
krsv_proc_kill: Killing 1 processes (idle RFS by threadquence)
Wed Nov 06 16:30:14 2013
Error 12154 received logging on to the standby
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
Errors in file /opt/oracle/diag/rdbms/ynstandbyboss/PROD/trace/PROD_pr00_10641.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
Errors in file /opt/oracle/diag/rdbms/ynstandbyboss/PROD/trace/PROD_pr00_10641.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
RFS[42]: Selected log 13 for thread 1 sequence 34063 dbid -1439133290 branch 817469144
RFS[43]: Opened log for thread 1 sequence 33964 dbid -1439133290 branch 817469144
RFS[44]: No standby redo logfiles of size 7307 blocks available
RFS[44]: Opened log for thread 1 sequence 34068 dbid -1439133290 branch 817469144
Wed Nov 06 16:30:48 2013
Archived Log entry 861 added for thread 1 sequence 33964 rlc 817469144 ID 0xaa380b96 dest 3:
Wed Nov 06 16:30:49 2013
Media Recovery Log /arch/PROD/archivelog/1_33964_817469144.dbf
Media Recovery Log /arch/PROD/archivelog/1_33965_817469144.dbf
Wed Nov 06 16:31:00 2013
Media Recovery Waiting for thread 1 sequence 33966
Fetching gap sequence in thread 1, gap sequence 33966-33966
Error 12154 received logging on to the standby
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
Errors in file /opt/oracle/diag/rdbms/ynstandbyboss/PROD/trace/PROD_pr00_10641.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
Errors in file /opt/oracle/diag/rdbms/ynstandbyboss/PROD/trace/PROD_pr00_10641.trc:
ORA-12154: TNS:could not resolve the connect identifier specified



RFS[78]: Assigned to RFS process 10933
RFS[78]: Identified database type as 'physical standby': Client is ARCH pid 26388
krsv_proc_kill: Killing 1 processes (idle RFS by threadquence)
RFS[78]: Selected log 15 for thread 1 sequence 34077 dbid -1439133290 branch 817469144

备库端:trace文件

Wed Nov 06 17:16:20 2013
WARN: ARC8: Terminating ARCH (pid 27095) hung on a network operation
krsv_proc_kill: Killing 139874199928833 processes (Process by index)
ARC8: Detected ARCH process failure
ARC8: STARTING ARCH PROCESSES
Wed Nov 06 17:16:22 2013
ARC7 started with pid=108, OS id=27818 
Wed Nov 06 17:16:23 2013
Reclaiming FAL entry from dead process [pid 27095]
ARC7: Archival started
ARC8: STARTING ARCH PROCESSES COMPLETE
ARC9: Standby redo logfile selected for thread 1 sequence 34077 for destination LOG_ARCHIVE_DEST_3
Wed Nov 06 17:17:23 2013
WARN: ARC8: Terminating ARCH (pid 25138) hung on a network operation
krsv_proc_kill: Killing 139874199928833 processes (Process by index)
ARC8: Detected ARCH process failure
ARC8: STARTING ARCH PROCESSES
Wed Nov 06 17:17:25 2013
ARC4 started with pid=103, OS id=27971 
ARC4: Archival started
ARC8: STARTING ARCH PROCESSES COMPLETE
Reclaiming FAL entry from dead process [pid 25138]


Wed Nov 06 16:52:55 2013
Archived Log entry 872 added for thread 1 sequence 33977 ID 0xaa380b96 dest 1:
Media Recovery Log /arch/PROD/archivelog/1_33977_817469144.dbf
Wed Nov 06 16:53:00 2013
Media Recovery Waiting for thread 1 sequence 33978 (in transit)

Trace file /opt/oracle/diag/rdbms/ynstandbyboss/PROD/trace/PROD_pr00_10641.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /opt/oracle/db_1
System name: Linux
Node name: yunnanDB107
Release: 2.6.32-5-amd64
Version: #1 SMP Fri May 10 08:43:19 UTC 2013
Machine: x86_64
Instance name: PROD
Redo thread mounted by this instance: 1
Oracle process number: 31
Unix process pid: 10641, image: oracle@yunnanDB107 (PR00)


*** 2013-11-06 15:16:37.649
*** SESSION ID:(365.1) 2013-11-06 15:16:37.649
*** CLIENT ID:() 2013-11-06 15:16:37.649
*** SERVICE NAME:() 2013-11-06 15:16:37.649
*** MODULE NAME:() 2013-11-06 15:16:37.649
*** ACTION NAME:() 2013-11-06 15:16:37.649

Started Parallel Media Recovery
*** 2013-11-06 15:16:37.660 4132 krsh.c
Managed Standby Recovery not using Real Time Apply

*** 2013-11-06 15:16:37.709
Dumping database incarnation table:
Resetlogs 0 scn and time: 0x0000.000e6c20 06/07/2013 10:45:44
Recovery target incarnation = 2, activation ID = -1439167594
Influx buffer limit = 15778 min(50% x 31556, 100000)
Start recovery at thread 1 ckpt scn 1338098741 logseq 33959 block 2

*** 2013-11-06 15:16:38.118
Media Recovery add redo thread 1
*** 2013-11-06 15:16:38.219 4132 krsh.c
Media Recovery Waiting for thread 1 sequence 33959
*** 2013-11-06 15:16:38.219 4132 krsh.c
Fetching gap sequence in thread 1, gap sequence 33959-33959
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:16:38.220 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:16:38.220 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:16:48.219
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:16:48.220 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:16:48.220 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:16:58.219
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:16:58.220 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:16:58.220 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:17:08.219
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:17:08.220 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:17:08.220 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:17:18.219
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:17:18.220 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:17:18.220 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:17:28.220
-----------------------------------------------------------
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
-----------------------------------------------------------
Redo shipping client performing standby login

*** 2013-11-06 15:35:33.232
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:35:33.232 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:35:33.232 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:35:43.232
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:35:43.232 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:35:43.232 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:35:53.232
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:35:53.232 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:35:53.232 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:36:03.232
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:36:03.232 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:36:03.232 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:36:13.232
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:36:13.232 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:36:13.232 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:36:23.232
-----------------------------------------------------------
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
-----------------------------------------------------------

*** 2013-11-06 15:45:33.239
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:45:33.240 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:45:33.240 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:45:43.239
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:45:43.240 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:45:43.240 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:45:53.239
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:45:53.240 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:45:53.240 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:46:03.243
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:46:03.244 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:46:03.244 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:46:13.243
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 15:46:13.244 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 15:46:13.244 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 15:46:23.244
-----------------------------------------------------------
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
-----------------------------------------------------------

*** 2013-11-06 15:52:28.244
Media Recovery Log /arch/PROD/archivelog/1_33959_817469144.dbf
Log read is SYNCHRONOUS though disk_asynch_io is enabled!

*** 2013-11-06 15:52:30.415
Media Recovery Log /arch/PROD/archivelog/1_33960_817469144.dbf

*** 2013-11-06 15:52:36.796
Media Recovery Log /arch/PROD/archivelog/1_33961_817469144.dbf

*** 2013-11-06 16:01:59.564
Media Recovery Log /arch/PROD/archivelog/1_33962_817469144.dbf

*** 2013-11-06 16:02:02.783
Media Recovery Log /arch/PROD/archivelog/1_33963_817469144.dbf
*** 2013-11-06 16:26:04.571 4132 krsh.c

*** 2013-11-06 16:26:04.571
Fetching gap sequence in thread 1, gap sequence 33964-33964
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 16:26:04.572 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 16:26:04.572 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 16:30:14.588
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 16:30:14.588 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 16:30:14.588 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 16:30:49.587
Media Recovery Log /arch/PROD/archivelog/1_33964_817469144.dbf

*** 2013-11-06 16:30:56.675
Media Recovery Log /arch/PROD/archivelog/1_33965_817469144.dbf

*** 2013-11-06 16:31:00.752
*** 2013-11-06 16:31:00.752 4132 krsh.c
Media Recovery Waiting for thread 1 sequence 33966
*** 2013-11-06 16:31:00.752 4132 krsh.c
Fetching gap sequence in thread 1, gap sequence 33966-33966
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 16:31:00.753 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 16:31:00.753 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 16:31:10.871
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 16:31:10.872 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 16:31:10.872 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 16:31:20.875
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 16:31:20.876 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 16:31:20.876 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 16:31:30.876
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 16:31:30.876 4132 krsh.c
Error 12154 received logging on to the standby
*** 2013-11-06 16:31:30.876 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 16:31:40.876
Redo shipping client performing standby login
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
OCIServerAttach failed -1
.. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS:could not resolve the connect identifier specified
'
*** 2013-11-06 16:31:40.876 4132 krsh.c 
Error 12154 received logging on to the standby
*** 2013-11-06 16:31:40.876 4132 krsh.c
FAL[client, USER]: Error 12154 connecting to MASTERBOSS,STANDBYBOSS for fetching gap sequence
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-12154: TNS:could not resolve the connect identifier specified

*** 2013-11-06 16:31:50.876
-----------------------------------------------------------
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
-----------------------------------------------------------

2、主备库信息和listener配置

主库
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert string
db_name string PROD
db_unique_name string MASTERBOSS
global_names boolean FALSE
instance_name string PROD
lock_name_space string
log_file_name_convert string
service_names string MASTERBOSS
北京备库
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert string
db_name string PROD
db_unique_name string STANDBYBOSS
global_names boolean FALSE
instance_name string PROD
lock_name_space string
log_file_name_convert string
service_names string STANDBYBOSS
云南备库
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert string
db_name string PROD
db_unique_name string YNSTANDBYBOSS
global_names boolean FALSE
instance_name string PROD
lock_name_space string
log_file_name_convert string /arch/PROD/onlinelog/, /arch/
PROD/onlinelog/
service_names string YNSTANDBYBOSS

--- 初始化参数文件

主库pfile
PROD.__db_cache_size=536870912
PROD.__java_pool_size=67108864
PROD.__large_pool_size=67108864
PROD.__oracle_base='/opt/oracle'#ORACLE_BASE set from environment
PROD.__pga_aggregate_target=12012486656
PROD.__sga_target=1744830464
PROD.__shared_io_pool_size=0
PROD.__shared_pool_size=805306368
PROD.__streams_pool_size=134217728
*.audit_file_dest='/opt/oracle/admin/PROD/adump'
*.audit_sys_operations=TRUE
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/data/PROD/datafile/control01.ctl','/data/PROD/flash_recovery_area/PROD/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='PROD'
*.db_recovery_file_dest='/data/PROD/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.DB_UNIQUE_NAME='MASTERBOSS'
*.diagnostic_dest='/opt/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=PRODXDB)'
*.log_archive_dest_1='location=/arch/PROD/archlog mandatory'
*.memory_target=13743895347
*.open_cursors=500
*.pga_aggregate_target=11978932224
*.processes=300
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=335
*.sga_target=1610612736
*.sql92_security=TRUE
*.undo_tablespace='UNDOTBS1'
北京备库
PROD.__db_cache_size=67108864
PROD.__java_pool_size=67108864
PROD.__large_pool_size=67108864
PROD.__oracle_base='/opt/oracle'#ORACLE_BASE set from environment
PROD.__pga_aggregate_target=6106906624
PROD.__sga_target=805306368
PROD.__shared_io_pool_size=0
PROD.__shared_pool_size=603979776
PROD.__streams_pool_size=0
*.audit_file_dest='/opt/oracle/admin/PROD/adump'
*.audit_sys_operations=TRUE
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/data/PROD/datafile/control01.ctl','/data/PROD/flash_recovery_area/PROD/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='PROD'
*.db_recovery_file_dest='/data/PROD/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.DB_UNIQUE_NAME='STANDBYBOSS'
*.diagnostic_dest='/opt/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=PRODXDB)'
*.FAL_CLIENT='STANDBYBOSS'
*.FAL_SERVER='MASTERBOSS'
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(MASTERBOSS,STANDBYBOSS)'
*.LOG_ARCHIVE_DEST_1='LOCATION=/arch/PROD/archivelog/'
*.memory_target=6871947673
*.open_cursors=500
*.pga_aggregate_target=5989466112
*.processes=300
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=335
*.sga_target=805306368
*.sql92_security=TRUE
*.standby_file_management='AUTO'
*.undo_tablespace='UNDOTBS1'
云南备库
PROD.__db_cache_size=536870912
PROD.__java_pool_size=67108864
PROD.__large_pool_size=67108864
PROD.__oracle_base='/opt/oracle'#ORACLE_BASE set from environment
PROD.__pga_aggregate_target=12012486656
PROD.__sga_target=1744830464
PROD.__shared_io_pool_size=0
PROD.__shared_pool_size=805306368
PROD.__streams_pool_size=134217728
*.audit_file_dest='/opt/oracle/admin/PROD/adump'
*.audit_sys_operations=TRUE
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/data/PROD/datafile/control01.ctl','/data/PROD/flash_recovery_area/PROD/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='PROD'
*.db_recovery_file_dest='/data/PROD/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
DB_UNIQUE_NAME=YNSTANDBYBOSS
*.diagnostic_dest='/opt/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=PRODXDB)'
*.memory_target=6871947673
*.open_cursors=500
*.pga_aggregate_target=5989466112
*.processes=300
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=335
*.sga_target=805306368
*.sql92_security=TRUE
*.undo_tablespace='UNDOTBS1' 
log_archive_config='DG_CONFIG=(MASTERBOSS,STANDBYBOSS,YNSTANDBYBOSS)'
LOG_ARCHIVE_DEST_1='LOCATION=/arch/PROD/archivelog/'
LOG_ARCHIVE_DEST_2='SERVICE=MASTERBOSS LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=MASTERBOSS'
LOG_ARCHIVE_DEST_3='SERVICE=STANDBYBOSS LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBYBOSS'
log_archive_dest_state_1='ENABLE'
log_archive_dest_state_2='ENABLE'
log_archive_dest_state_3='ENABLE'
LOG_FILE_NAME_CONVERT='/arch/PROD/onlinelog/','/arch/PROD/onlinelog/'
FAL_SERVER='MASTERBOSS,STANDBYBOSS'
FAL_CLIENT='YNSTANDBYBOSS'
STANDBY_FILE_MANAGEMENT=AUTO

--- listener 配置

主库listener
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.xxx.107)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /opt/oracle/db_1)
(SID_NAME = PROD)
)
)
北京备库
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.xxx.108)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /opt/oracle/db_1)
(SID_NAME = PROD)
)
)
云南备库
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.xxx.107)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /opt/oracle/db_1)
(SID_NAME = PROD)
)
)


--- tnsnames 配置


tnsnames.ora
# tnsnames.ora Network Configuration File: /opt/oracle/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
MASTERBOSS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.xxx.107)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PROD )
)
)
STANDBYBOSS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.xxx.108)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PROD )
)

YNSTANDBYBOSS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.xxx.107)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PROD)
)


3、主备库 listener 状态信息


主库
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-NOV-2013 16:52:49

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.200.107)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 25-AUG-2013 16:44:47
Uptime 73 days 0 hr. 8 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/db_1/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/db07/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.200.107)(PORT=1521)))
Services Summary...
Service "MASTERBOSS" has 1 instance(s).
Instance "PROD", status READY, has 1 handler(s) for this service...
Service "PROD" has 1 instance(s).
Instance "PROD", status UNKNOWN, has 1 handler(s) for this service...
Service "PRODXDB" has 1 instance(s).
Instance "PROD", status READY, has 1 handler(s) for this service...
The command completed successfully

云南备库
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-NOV-2013 16:51:44

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.201.107)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 12-OCT-2013 10:03:21
Uptime 25 days 6 hr. 48 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/db_1/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/yunnanDB107/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.201.107)(PORT=1521)))
Services Summary...
Service "PROD" has 1 instance(s).
Instance "PROD", status UNKNOWN, has 1 handler(s) for this service...
Service "YNSTANDBYBOSS" has 1 instance(s).
Instance "PROD", status READY, has 1 handler(s) for this service...
The command completed successfully


---多方验证,DG配置没有问题,后经网络管理人员确认,在防火墙端做了数据包传输大小的限制,导致主备库之间在传送归档时,出现错误,后经过调整,问题解决










本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1321727,如需转载请自行联系原作者
目录
相关文章
|
Oracle 关系型数据库 流计算
Flink CDC不支持直接连接到Oracle ADG备库进行数据同步
Flink CDC不支持直接连接到Oracle ADG备库进行数据同步
312 1
|
存储 SQL Oracle
Oracle使用expdp/impdp实现全库导入导出的整体流程
Oracle的全库导入,首先一点必须先创建数据库,创建了数据库,才能往该数据库导入所有数据。相对来说,使用Oracle进行数据导入导出还很有些“麻烦”的,大多数资料上来就是......
8892 0
Oracle使用expdp/impdp实现全库导入导出的整体流程
|
6月前
|
SQL Oracle 关系型数据库
实时计算 Flink版产品使用合集之和Oracle数据同步必须是使用主库吗
实时计算Flink版作为一种强大的流处理和批处理统一的计算框架,广泛应用于各种需要实时数据处理和分析的场景。实时计算Flink版通常结合SQL接口、DataStreamAPI、以及与上下游数据源和存储系统的丰富连接器,提供了一套全面的解决方案,以应对各种实时计算需求。其低延迟、高吞吐、容错性强的特点,使其成为众多企业和组织实时数据处理首选的技术平台。以下是实时计算Flink版的一些典型使用合集。
实时计算 Flink版产品使用合集之和Oracle数据同步必须是使用主库吗
|
1月前
|
Oracle 关系型数据库 MySQL
shell获取多个oracle库mysql库所有的表
请注意,此脚本假设你有足够的权限访问所有提到的数据库。在实际部署前,请确保对脚本中的数据库凭据、主机名和端口进行适当的修改和验证。此外,处理数据库操作时,务必谨慎操作,避免因错误的脚本执行造成数据损坏或服务中断。
40 0
|
4月前
|
Oracle 关系型数据库 Linux
讲解linux下的Qt如何编译oracle的驱动库libqsqloci.so
通过这一连串的步骤,可以专业且有效地在Linux下为Qt编译Oracle驱动库 `libqsqloci.so`,使得Qt应用能够通过OCI与Oracle数据库进行交互。这些步骤适用于具备一定Linux和Qt经验的开发者,并且能够为需要使用Qt开发数据库应用的专业人士提供指导。
158 1
讲解linux下的Qt如何编译oracle的驱动库libqsqloci.so
|
3月前
|
Oracle 关系型数据库 数据库连接
初步了解Oracle DG
初步了解Oracle DG
121 0
|
6月前
|
Oracle Java 关系型数据库
实时计算 Flink版产品使用合集之支持 Oracle 整库同步吗
实时计算Flink版作为一种强大的流处理和批处理统一的计算框架,广泛应用于各种需要实时数据处理和分析的场景。实时计算Flink版通常结合SQL接口、DataStream API、以及与上下游数据源和存储系统的丰富连接器,提供了一套全面的解决方案,以应对各种实时计算需求。其低延迟、高吞吐、容错性强的特点,使其成为众多企业和组织实时数据处理首选的技术平台。以下是实时计算Flink版的一些典型使用合集。
|
6月前
|
SQL 消息中间件 Oracle
实时计算 Flink版产品使用合集之怎么同步Oracle备库
实时计算Flink版作为一种强大的流处理和批处理统一的计算框架,广泛应用于各种需要实时数据处理和分析的场景。实时计算Flink版通常结合SQL接口、DataStream API、以及与上下游数据源和存储系统的丰富连接器,提供了一套全面的解决方案,以应对各种实时计算需求。其低延迟、高吞吐、容错性强的特点,使其成为众多企业和组织实时数据处理首选的技术平台。以下是实时计算Flink版的一些典型使用合集。
|
6月前
|
Oracle 安全 关系型数据库
Oracle数据守卫(DG):数据的“守护者”与“时光机”
【4月更文挑战第19天】Oracle Data Guard保障数据安全,通过实时维护备库实现故障切换,保证业务连续性。它使用日志传输和应用保持数据同步,如同“时光机”,借助闪回技术能恢复误操作数据。此外,它还提供数据压缩、加密和故障转移等功能,提升数据库安全性与性能。作为数据管理员,理解并善用Data Guard是确保企业数据安全的关键。
|
Oracle 关系型数据库 数据库
Flink CDC中oracle dataguard模式下,有没有cdc备库的方案?
Flink CDC中oracle dataguard模式下,有没有cdc备库的方案?
188 1