Standby logfile missing error
Hello all,
I am getting this following error in standby alertlog file.
ORA-00313: open failed for members of log group 8 of thread 2
ORA-00312: online log 8 thread 2: '+DG_FLASH/hsstl/onlinelog/group_8.273.779638759'
ORA-17503: ksfdopn:2 Failed to open file +DG_FLASH/hsstl/onlinelog/group_8.273.779638759
ORA-15012: ASM file '+DG_FLASH/hsipstl/onlinelog/group_8.273.779638759' does not exist
ORA-00312: online log 8 thread 2: '+DG_DATA/hsstl/onlinelog/group_8.1766.779638759'
ORA-17503: ksfdopn:2 Failed to open file +DG_DATA/hsstl/onlinelog/group_8.1766.779638759
ORA-15012: ASM file '+DG_DATA/hsipstl/onlinelog/group_8.1766.779638759' does not exist
When i manually check the diskgroup '+DG_FLASH, +DG_DATA, i can see the group_8 file with some other numbers.
Kindly let me know how to proceed for that. oracle 11g database, standalone standby database in aix box
My guess is control file is still thinking that the group 8 file is present and looks for it when starting the standby, but actually that file is not there in the diskgroup. instead some other filename is there for the same group.
Either i want to update the control file about the new log group 8, or drop the log 8 group, delete the log 8 group files from the disgroups +DG_FLASH, +DG_DATA and create a new log 8 group
Kindly suggest
Regards,
Test
SQL> Select GROUP#, THREAD#, SEQUENCE#, BYTES from v$standby_log;
GROUP# THREAD# SEQUENCE# BYTES
4 1 0 52428800
5 1 1327 52428800
6 1 0 52428800
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> ALTER DATABASE ADD STANDBY LOGFILE GROUP 7 '/u01/app/oracle/oradata//redo07.log' SIZE 50M;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
Database altered.
SQL> Select GROUP#, THREAD#, SEQUENCE#, BYTES from v$standby_log;
GROUP# THREAD# SEQUENCE# BYTES
4 1 0 52428800
5 1 1327 52428800
6 1 0 52428800
7 0 0 52428800
ALTER DATABASE CLEAR LOGFILE GROUP 7;
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> ALTER DATABASE CLEAR LOGFILE GROUP 7;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
Database altered.
SQL> Select GROUP#, THREAD#, SEQUENCE#, BYTES from v$standby_log;
GROUP# THREAD# SEQUENCE# BYTES
4 1 0 52428800
5 1 1327 52428800
6 1 0 52428800
7 0 0 52428800
SQL> /
GROUP# THREAD# SEQUENCE# BYTES
4 1 1330 52428800
5 1 0 52428800
6 1 0 52428800
7 0 0 52428800
What I noticed is no matter how many switches I do the Standby only uses group 4 and 5. If I recreate with a Thread number it seems to work.
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> ALTER DATABASE DROP STANDBY LOGFILE GROUP 7;
Database altered.
SQL> !rm /u01/app/oracle/oradata//redo07.log
SQL> ALTER DATABASE ADD STANDBY LOGFILE THREAD 1 GROUP 7 '/u01/app/oracle/oradata//redo07.log' SIZE 50M;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
Database altered.
SQL> Select GROUP#, THREAD#, SEQUENCE#, BYTES from v$standby_log;
GROUP# THREAD# SEQUENCE# BYTES
4 1 0 52428800
5 1 1343 52428800
6 1 0 52428800
7 1 0 52428800
SQL>
Check
SQL> select GROUP#,BYTES/1024/1024/1024 , STATUS, FIRST_TIME,NEXT_TIME from v$standby_log;
GROUP# BYTES/1024/1024/1024 STATUS FIRST_TIM NEXT_TIME
4 .048828125 UNASSIGNED
5 .048828125 ACTIVE 29-NOV-13
6 .048828125 UNASSIGNED
7 .048828125 UNASSIGNED
SQL>
Similar Messages
-
I missed to add Standby Logfile groups? What now?
Hi there
I have created a Standby database in a test environment using RMAN (followed the procedure given here -> URL: Creating a Standby Database with Recovery Manager).
When I tried to start the recovery on Standby, I got the following error:
[code]
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT
ERROR at line 1:
ORA-38500: USING CURRENT LOGFILE option not available without stand
SQL> select NAME, OPEN_MODE, GUARD_STATUS, DATABASE_ROLE from v$database;
NAME OPEN_MODE GUARD_S DATABASE_ROLE
PRIM MOUNTED NONE PHYSICAL STANDBY
SQL>
[/code]
I missed the step to add standby logfile groups. Do I need to recreate the Standby database now? I mean, add standby logfile groups to Primary, then take full RMAN backup and recreate the standby database (following the procedure described in the URL above)?
I am using Oracle 10gR2 on OEL 5.8.
Please advise!
Best regardsOK thank you both - I have added the standby logfile groups both on Primary and Standby (mounted) database and I was able to successfully issue the following command:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
I hope this was the right thing to do under the circumstances, right?
And now there seems to be a gap:
PRIM_SQL> SELECT MAX(SEQUENCE#) FROM V$ARCHIVED_LOG;
MAX(SEQUENCE#)
11
STDBY_SQL> SELECT MAX(SEQUENCE#) FROM V$LOG_HISTORY;
MAX(SEQUENCE#)
9
I issued "alter system switch logfile" few times on the Primary but logs don't seem to be shipping? How to check this and fix?
EDIT: OK I checked the Primary alert log file and see following messages:
Error 1031 received logging on to the standby
Tue Jun 25 15:22:43 2013
Errors in file /u01/app/oracle/admin/prim/bdump/prim_arc0_6880.trc:
ORA-01031: insufficient privileges
PING[ARC0]: Heartbeat failed to connect to standby 'stan'. Error is 1031.
Tue Jun 25 15:27:43 2013
Error 1031 received logging on to the standby
Tue Jun 25 15:27:43 2013
Errors in file /u01/app/oracle/admin/prim/bdump/prim_arc0_6880.trc:
ORA-01031: insufficient privileges
PING[ARC0]: Heartbeat failed to connect to standby 'stan'. Error is 1031.
Tue Jun 25 15:32:43 2013
I do have password file both on Primary and Standby servers. What is this "ORA-01031: insufficient privileges" referring to?
EDIT#2:
I copied the password file from Primary DB server to Standby server (with same name "orapwprim" - previously I used "orapwstan" name for standby password file) and the "login issue" is resolved. But now I see following error in the alert log file on Primary:
PING[ARC0]: Heartbeat failed to connect to standby 'stan'. Error is 1031.
Tue Jun 25 15:48:08 2013
ARCH: Possible network disconnect with primary database
Any clues here?
EDIT#3:
Sorry I was a bit impatient I guess.The logs a re being shipped and applied now.
Thank you both!
Best regards
Message was edited by: user130038 (added alert log file info)
Message was edited by: user130038 (Added EDIT#2)
Message was edited by: user130038 (added EDIT#3) -
I have tried to create the standby without the DG broker .However , I am getting this error in alert log at primary which I am not able to resolve.
PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
Mon Jul 04 12:41:35 2011
Error 12505 received logging on to the standby
Mon Jul 04 12:41:35 2011
Errors in file d:\oracle\p11\saptrace\background\p11_arc6_1904.trc:
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
Pfile of Primary Server
*._B_TREE_BITMAP_PLANS=FALSE
*._IN_MEMORY_UNDO=FALSE
*._INDEX_JOIN_ENABLED=FALSE
*._OPTIM_PEEK_USER_BINDS=FALSE
*._OPTIMIZER_MJC_ENABLED=FALSE
*._SORT_ELIMINATION_COST_RATIO=10
*._TABLE_LOOKUP_PREFETCH_SIZE=0
*.archive_lag_target=0
*.background_dump_dest='D:\oracle\P11\saptrace\background'
*.compatible='10.2.0'
*.control_file_record_keep_time=30
*.control_files='D:\oracle\P11\origlogA\cntrl\cntrlP11.dbf','D:\oracle\P11\origlogB\cntrl\cntrlP11.dbf','D:\oracle\P11\sapdata1\cntrl\cntrlP11.dbf'
*.core_dump_dest='D:\oracle\P11\saptrace\background'
*.db_block_size=8192
*.db_cache_size=260938137
*.db_files=254
*.db_name='P11'
*.db_unique_name='P11_primary'
*.dml_locks=4000
*.event='10191 trace name context forever, level 1'
*.FAL_Client='to_primary'
*.FAL_Server='to_standby'
*.FILESYSTEMIO_OPTIONS='setall'
*.job_queue_processes=1
*.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.104)(PORT = 1521))'
*.log_archive_config='dg_config=(P11_disaster,P11_primary)'
*.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_primary'
*.log_archive_dest_2='SERVICE=to_standby LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_disaster'
*.log_archive_dest_state_1='enable'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_max_processes=10
*.log_archive_min_succeed_dest=1
*.log_buffer=1048576
*.log_checkpoint_interval=0
*.log_checkpoints_to_alert=true
*.open_cursors=800
*.parallel_execution_message_size=16384
*.pga_aggregate_target=347917516
*.processes=80
*.query_rewrite_enabled='false'
*.recyclebin='off'
*.remote_login_passwordfile='exclusive'
*.remote_os_authent=true
*.replication_dependency_tracking=false
*.sessions=96
*.sga_max_size=521876275
*.shared_pool_reserved_size=26093813
*.shared_pool_size=300938137
*.sort_area_retained_size=0
*.sort_area_size=2097152
*.standby_file_management='AUTO'
*.star_transformation_enabled='true'
*.undo_management='AUTO'
*.undo_retention=43200
*.undo_tablespace='PSAPUNDO'
*.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
Pfile of Standby Server
*._B_TREE_BITMAP_PLANS=FALSE
*._IN_MEMORY_UNDO=FALSE
*._INDEX_JOIN_ENABLED=FALSE
*._OPTIM_PEEK_USER_BINDS=FALSE
*._OPTIMIZER_MJC_ENABLED=FALSE
*._SORT_ELIMINATION_COST_RATIO=10
*._TABLE_LOOKUP_PREFETCH_SIZE=0
*.background_dump_dest='D:\oracle\P11\saptrace\background'
*.compatible='10.2.0'
*.control_file_record_keep_time=30
*.control_files='D:\oracle\P11\origlogA\cntrl\control01.ctl','D:\oracle\P11\origlogB\cntrl\control02.ctl','D:\oracle\P11\sapdata1\cntrl\control03.ctl'
*.core_dump_dest='D:\oracle\P11\saptrace\background'
*.db_block_size=8192
*.db_cache_size=155870822
*.db_files=254
*.db_name='P11'
*.db_unique_name='P11_disaster'
*.dml_locks=4000
*.event='10191 trace name context forever, level 1'
*.FAL_Client='to_standby'
*.FAL_Server='to_primary'
*.FILESYSTEMIO_OPTIONS='setall'
*.job_queue_processes=1
*.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.102)(PORT = 1521))'
*.log_archive_config='DG_CONFIG= (P11_primary, P11_disaster)'
*.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_disaster'
*.log_archive_dest_2='SERVICE=to_primary LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_primary'
*.log_archive_dest_state_1='enable'
*.log_archive_dest_state_2='enable'
*.log_archive_max_processes=10
*.log_buffer=1048576
*.log_checkpoint_interval=0
*.log_checkpoints_to_alert=true
*.open_cursors=800
*.parallel_execution_message_size=16384
*.pga_aggregate_target=207827763
*.processes=80
*.query_rewrite_enabled='false'
*.recyclebin='off'
*.remote_login_passwordfile='exclusive'
*.remote_os_authent=true
*.replication_dependency_tracking=false
*.sessions=96
*.sga_max_size=311741644
*.shared_pool_reserved_size=15587082
*.shared_pool_size=300870822
*.sort_area_retained_size=0
*.sort_area_size=2097152
*.standby_file_management='AUTO'
*.star_transformation_enabled='true'
*.undo_management='AUTO'
*.undo_retention=43200
*.undo_tablespace='PSAPUNDO'
*.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
TNSnames of Primary File
# Filename......: tnsnames.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
P11.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11.WORLD)
TO_STANDBY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.102)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11_DISASTER.WORLD)
TO_PRIMARY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11_PRIMARY.WORLD)
LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
Listener.ora of Primary
# Filename......: listener.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = P11.WORLD)
(ADDRESS=
(PROTOCOL = IPC)
(KEY = P11)
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = prod104)
(PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
Tnsnames.ora of Standby
# Filename......: tnsnames.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
# Filename......: tnsnames.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
P11.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11.WORLD)
TO_STANDBY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.102)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11_STANDBY.WORLD)
TO_PRIMARY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11_PRIMARY.WORLD)
LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.102)(port= 1527))
Listener.ora of Standby
# Filename......: listener.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = P11.WORLD)
(ADDRESS=
(PROTOCOL = IPC)
(KEY = P11)
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.102)
(PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
Please advice.
Regards
Edited by: dharm.singh on Jul 4, 2011 12:33 AMIt is working now after adding this entry
SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=P11)(ORACLE_HOME=D:\oracle\P11\102))) and also able to connect to primary to standby.
using command
sqlplus sys/****@to_standby as sysdba
However , the Primary alter log is showing many errors
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Mon Jul 04 14:56:05 2011
SMON: enabling cache recovery
Mon Jul 04 14:56:07 2011
Incremental checkpoint up to RBA [0x3e4.3.0], current log tail at RBA [0x3e4.3.0]
Mon Jul 04 14:56:08 2011
Error 1033 received logging on to the standby
Mon Jul 04 14:56:08 2011
Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
ORA-01033: ORACLE initialization or shutdown in progress
Mon Jul 04 14:56:08 2011
LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
Error 1033 received logging on to the standby
Mon Jul 04 14:56:08 2011
Errors in file d:\oracle\p11\saptrace\background\p11_lns1_400.trc:
ORA-01033: ORACLE initialization or shutdown in progress
LGWR: Error 1033 creating archivelog file 'to_standby'
LNS: Failed to archive log 2 thread 1 sequence 996 (1033)
Mon Jul 04 14:56:08 2011
FAL[server, ARC0]: Error 1033 creating remote archivelog file 'to_standby'
FAL[server, ARC0]: FAL archive failed, see trace file.
Mon Jul 04 14:56:09 2011
Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Mon Jul 04 14:56:09 2011
Successfully onlined Undo Tablespace 1.
Mon Jul 04 14:56:09 2011
SMON: enabling tx recovery
Mon Jul 04 14:56:10 2011
Database Characterset is UTF8
Starting background process QMNC
QMNC started with pid=26, OS id=180
Mon Jul 04 14:56:16 2011
Completed: ALTER DATABASE OPEN
Mon Jul 04 14:57:00 2011
Shutting down archive processes
Mon Jul 04 14:57:05 2011
ARCH shutting down
ARCa: Archival stopped
Mon Jul 04 15:02:06 2011
Errors in file d:\oracle\p11\saptrace\background\p11_arc2_500.trc:
ORA-16143: RFS connections not allowed during or after terminal recovery
Mon Jul 04 15:02:06 2011
PING[ARC2]: Heartbeat failed to connect to standby 'to_standby'. Error is 16143.
p11arc0_1532.trc log file_
Dump file d:\oracle\p11\saptrace\background\p11_lns1_400.trc
Mon Jul 04 14:56:04 2011
ORACLE V10.2.0.2.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 2 - type 8664, 1 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:2627M/3319M, Ph+PgF:9964M/11161M
Instance name: p11
Redo thread mounted by this instance: 1
Oracle process number: 26
Windows thread id: 400, image: ORACLE.EXE (LNS1)
*** SERVICE NAME:() 2011-07-04 14:56:03.968
*** SESSION ID:(73.1) 2011-07-04 14:56:03.968
*** 2011-07-04 14:56:03.968 57032 kcrr.c
LNS1: initializing for LGWR communication
LNS1: connecting to KSR channel
Success
LNS1: subscribing to KSR channel
Success
*** 2011-07-04 14:56:04.031 57085 kcrr.c
LNS1: initialized successfully ASYNC=1
Destination is specified with ASYNC=61440
*** 2011-07-04 14:56:08.203 70857 kcrr.c
Sending online log thread 1 seq 996 [logfile 2] to standby
Opening logfile [logno 2]
LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
Redo shipping client performing standby login
OCISessionBegin failed -1
.. Detailed OCI error val is 1033 and errmsg is 'ORA-01033: ORACLE initialization or shutdown in progress
*** 2011-07-04 14:56:08.812 60639 kcrr.c
Error 1033 received logging on to the standby
Error 1033 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
Error 1033 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
ORA-01033: ORACLE initialization or shutdown in progress
*** 2011-07-04 14:56:08.843 60639 kcrr.c
LGWR: Error 1033 creating archivelog file 'to_standby'
*** 2011-07-04 14:56:08.859 58901 kcrr.c
kcrrfail: dest:2 err:1033 force:0 blast:1
*** 2011-07-04 14:56:11.296
*** 2011-07-04 14:56:11.296 70857 kcrr.c
Sending online log thread 1 seq 996 [logfile 2] to standby
Opening logfile [logno 2]
LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
*** 2011-07-04 14:56:11.796 70982 kcrr.c
Shutting down [due to no more ASYNC destination]
LNS1: Doing a channel reset for next time around...
Edited by: dharm.singh on Jul 4, 2011 2:31 AM -
Standby instance throwing error
when trying to startup standby instance , i am getting error :
SQL> startup pfile='/home/oracle/dummy/admin/pfile/initdummy.ora' nomount;
ORA-16025: parameter LOG_ARCHIVE_DEST_2 contains repeated or conflicting attributes
SQL>
db_name=org
compatible=10.2.0
sga_target=1000m
control_files='/home/oracle/dummy/oradata/control1.ctl'
background_dump_dest='/home/oracle/dummy/admin/bdump/'
core_dump_dest='/home/oracle/dummy/admin/cdump/'
user_dump_dest='/home/oracle/dummy/admin/udump/'
fal_server=org
fal_client=dummy
db_unique_name=dummy
standby_file_management=auto
remote_login_passwordfile='exclusive'
db_file_name_convert='/home/oracle/org/oradata/','/home/oracle/dummy/oradata/'
log_file_name_convert='/home/oracle/org/oradata/','/home/oracle/dummy/oradata/'
log_archive_dest_1='location=/home/oracle/dummy/oradata/arch/'
log_archive_dest_2='service=org'
~
~
~now i can startup my standby instance but getting some error.
SQL> startup pfile='/home/oracle/dummy/admin/pfile/initdummy.ora' nomount;
ORACLE instance started.
Total System Global Area 1048576000 bytes
Fixed Size 1223344 bytes
Variable Size 255853904 bytes
Database Buffers 784334848 bytes
Redo Buffers 7163904 bytes
SQL> alter database mount standby database;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
Database altered.
SQL> select sequence#,applied from v$archived_log order by 1;
SEQUENCE# APP
9 NO
10 NO
11 NO
12 NO
13 NO
14 NO
15 NO
16 YES
17 YES
9 rows selected.
but stand by alert log showing following error :
bash-3.2$ tail -f alert_dummy.log
ORA-00312: online log 2 thread 1: '/home/oracle/dummy/oradata/log2.log'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Mon Jan 6 16:21:52 2014
Completed: alter database recover managed standby database disconnect from session
Mon Jan 6 16:21:52 2014
Clearing online redo logfile 2 complete
Media Recovery Log /home/oracle/dummy/oradata/arch/1_17_836141614.dbf
Media Recovery Waiting for thread 1 sequence 18
Mon Jan 6 16:22:28 2014
Errors in file /home/oracle/dummy/admin/bdump/dummy_arc1_8621.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Mon Jan 6 16:22:28 2014
PING[ARC1]: Heartbeat failed to connect to standby 'org'. Error is 16009. -
Error : Pre Settings for IDoc inbound processing are missing error
Hi Experts,
There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error?
Thanks in advance.
Madhurima.I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
[iTunes for Windows: "Registry settings" warning when opening iTunes|http://support.apple.com/kb/TS3299] -
ARC1: Heartbeat failed to connect to standby 'TEST10'. Error is 1031.
Hi Every one,
I m getting this error in alert log.
Error 1031 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'xxxx'
ORA-01031: insufficient privileges
*** 2003-11-30 18:55:30.984 49871 kcrr.c
ARC1: Heartbeat failed to connect to standby 'xxxx'. Error is 1031.
We tried to setup on same machine as well as on separate machine, but in both cases getting the same error.
Please guide me what should i do.
Thanks
NadeemIf you are running oracle 10g, then, the following would be helpful.
Cause
The parameter DB_ALLOWED_LOGON_VERSION has not been set in the remote database.
DB_ALLOWED_LOGON_VERSION is a new parameter introduced in 10g that allows the DBA to explicitly determine which authentication protocols are allowed by the client or database.
The value specified is the earliest client version level supported by this database.
When clients earlier than the specified version attempt to connect, authentication will fail.
Solution
In the init.ora of the remote (Downstream capture) database, set the following : db_allowed_logon_version=10
Note: Bug 2981553, which is implemented in 10.1.0.2, removes the parameter db_allowed_logon_version. This is replaced by the sqlnet.ora parameter called sqlnet_allowed_logon_version.
Jaffar -
after updating to adobe reader 11.0.3 my registry was corrupted with a gapi32.dll missing error. It was not missing and was conflicting with outlook as this dll file is a common file. The only way I could fix the problem was to do a system restore back to when I had the 11.0.2 version and everything will work with that. You have a problem with version 11.0.3 installation. The same thing happened on 3 computers so I know it is this new version of adobe reader which is the problem.
It would be great, if you could provide us with the following details:
1. The OS you are working on.
2. The version of MS Office installed on your machine.
3. A screenshot of the error message along with the scenario in which the same is displayed.
4. How exactly did you go about updating Reader 11.0.02 to 11.0.03. Was it via the updater mechanism or by downloading the patch from the Adobe site.
Also, it would be great if you could let us know if there was any other Windows or Antivirus related updates applied on your machine in the same timeframe as the Reader update. -
Can't switch standby logfiles to status=active
Hi DBA's
I'm trying to create logical standby on 10.2 on fedora 6 on manual http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#g88234
I can't create proper working standby redo logs.
ALTER DATABASE ADD STANDBY LOGFILE GROUP 4
('/u01/app/oracle/oradata/ORCL/onlinelog/log4a.log',
'/u01/app/oracle/flash_recovery_area/ORCL/onlinelog/log4b.log') SIZE 50M;
then create the rest of standby redos and switch logfile:
ALTER SYSTEM SWITCH LOGFILE;
when:
SQL> SELECT GROUP#,THREAD#,SEQUENCE#,ARCHIVED,STATUS FROM V$STANDBY_LOG;
GROUP# THREAD# SEQUENCE# ARC STATUS
4 0 0 YES UNASSIGNED
5 0 0 YES UNASSIGNED
6 0 0 YES UNASSIGNED
What to do?
Edited by: val75 on Jun 21, 2009 11:08 PMtry switch log at primay
please try to run this Command and then open the primary database.
alter database set standby database to maximize performance;
alter database open; -
ABAP Code Endmethod missing error??
Hi Friends,Please help me. I am not having logsys/source system id field in source datasource , hence i trying to populate that in BI . I have wriiten the code in start routine which give me <b>ENDMETHOD MISSING error</b>, as below.
please tell what i am missing to eliminate the error <b>endmethod</b>
FORM STARTROUTINE.
USING G_S_MINFO TYPE RSSM_S_MINFO
CHANGING DATAPAK type TAB_TRANSTRU
G_T_ERRORLOG TYPE rssm_t_errorlog_int
ABORT LIKE SY-SUBRC.
RESULT = G_S_MINFO-LOGSYS.
or
LOOP AT DATAPAK INTO l_s_datapak_line.
l_s_datapak_line-zzsourcsys = G_S_MINFO-LOGSYS.
MODIFY DATAPAK FROM l_s_datapak_line.
ENDLOOP.
ENDMETHOD.
ENDCLASS.
Poonam RoyUse this....
FORM STARTROUTINE
USING G_S_MINFO TYPE RSSM_S_MINFO
CHANGING DATAPAK type TAB_TRANSTRU
G_T_ERRORLOG TYPE rssm_t_errorlog_int
ABORT LIKE SY-SUBRC.
RESULT = G_S_MINFO-LOGSYS.
LOOP AT DATAPAK INTO l_s_datapak_line.
l_s_datapak_line-zzsourcsys = G_S_MINFO-LOGSYS.
MODIFY DATAPAK FROM l_s_datapak_line.
ENDLOOP.
ENDFORM.
Reward if helpful... -
主库一直报错,提示 如下: Error 1033 received logging on to the standby FAL[server, ARC0]: Error 1033 creating remote archivelog file 'wnadsdy' FAL[server, ARC0]: FAL archive failed, see trace file. Error 1033 received logging on to the standby PING[ARC2]: Heartbeat failed to connect to standby 'wnadsdy'. Error is 1033. tnsping 可以Ping 到备库 wnadsdy primary ip 172.31.0.41 standby ip 1721.31.0.112 primary db initwnad.ora wnad.__db_cache_size=687865856 wnad.__java_pool_size=16777216 wnad.__large_pool_size=33554432 wnad.__oracle_base='/opr/oracle'#ORACLE_BASE set from environment wnad.__pga_aggregate_target=671088640 wnad.__sga_target=989855744 wnad.__shared_io_pool_size=0 wnad.__shared_pool_size=234881024 wnad.__streams_pool_size=0 *.audit_file_dest='/opr/oracle/admin/wnad/adump' *.audit_trail='db' *.compatible='11.2.0.4.0' *.control_files='/opr/oracle/wnad/control01.ctl','/opr/oracle/fast_recovery_area/wnad/control02.ctl' *.db_block_size=8192 *.db_domain='' *.db_name='wnad' *.db_recovery_file_dest='/opr/oracle/fast_recovery_area' *.db_recovery_file_dest_size=10737418240 *.diagnostic_dest='/opr/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=wnadXDB)' *.log_archive_dest_1='location=/opr/oracle/wnad/archive' *.log_archive_dest_2='SERVICE=wnadsdy' *.memory_target=1656750080 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.standby_file_management='AUTO' *.undo_tablespace='UNDOTBS1' listener.ora LISTENER= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521)) ) ) SID_LIST_LISTENER= (SID_LIST= (SID_DESC= (SID_NAME=wnad) (ORACLE_HOME=/opr/oracle/product/11.2.0/db_1) (GLOBAL_DBNAME=wnad) ) ) tnsnames.ora WNAD= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521)) ) (CONNECT_DATA= (SERVER = DEDICATED) (SERVICE_NAME=wnad) ) ) wnadsdy= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521)) ) (CONNECT_DATA= (SERVER = DEDICATED) (SERVICE_NAME=wnad) ) ) standby db initwnad.ora wnad.__db_cache_size=687865856 wnad.__java_pool_size=16777216 wnad.__large_pool_size=33554432 wnad.__oracle_base='/opr/oracle'#ORACLE_BASE set from environment wnad.__pga_aggregate_target=671088640 wnad.__sga_target=989855744 wnad.__shared_io_pool_size=0 wnad.__shared_pool_size=234881024 wnad.__streams_pool_size=0 *.audit_file_dest='/opr/oracle/admin/wnad/adump' *.audit_trail='db' *.compatible='11.2.0.4.0' *.control_files='/opr/oracle/wnad/control01.ctl','/opr/oracle/fast_recovery_area/wnad/control02.ctl' *.db_block_size=8192 *.db_domain='' *.db_name='wnad' *.diagnostic_dest='/opr/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=wnadXDB)' *.log_archive_dest_1='location=/opr/oracle/wnad/archive' *.memory_target=1656750080 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.standby_file_management='AUTO' *.undo_tablespace='UNDOTBS1' listener.ora LISTENER= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521)) ) ) SID_LIST_LISTENER= (SID_LIST= (SID_DESC= (SID_NAME=wnad) (ORACLE_HOME=/opr/oracle/product/11.2.0/db_1) (GLOBAL_DBNAME=wnad) ) ) tnsnames.ora wnad= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test)(PORT=1521)) ) (CONNECT_DATA= (SERVER = DEDICATED) (SERVICE_NAME=wnad) ) ) wnadsdy= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle-test2)(PORT=1521)) ) (CONNECT_DATA= (SERVER = DEDICATED) (SERVICE_NAME=wnad) ) )
Hello;
Very difficult to read your post.
If your standby is in "recovery - mount" a 1033 is normal assuming you are trying to shut down the standby.
Otherwise try this query on the standby:
select process, client_process, sequence#, status from V$managed_standby;
If there is a MRP or a MRP0 process, the database is performing managed recovery. Otherwise It's not ready and you may have found your cause.
Best Regards
mseberg -
Firefox 4 b7 gives a Profile Missing error when launching
Firefox worked before on my OS X (10.6.5) system, but now gives a Profile Missing error that says "Your Firefox profile cannot be loaded. It may be missing or inaccessible." I can't launch the Profile Manager using the Terminal command. I tried putting a clean install of Firefox 3.6.12 on, but the process closes as soon as it opens without any dialogs. No icon pops up on the dock.
Zensa posted a very useful command and it works well to solve this problem ...
http://support.mozilla.com/my/questions/785562
Give it a try and it helps ... although your mac will ask for your admin password ... that made me scare a little.
Firefox 4 works fine now on my MacBook pro with OS X 10.6.7 -
I am not able to synchronize my iCloud mail in mailbox but gmail, yahoo, hotmail all works well. Upon I add iCloud it is showing server missing / error in server.
Hello vijaymanoj,
Thank you for the details of the issue you are experiencing with your iCloud email account. I recommend reviewing the sections titled "If you can't send mail in OS X Mail" and "If you can't receive mail in OS X Mail" in the following article:
iCloud: Troubleshooting iCloud Mail
http://support.apple.com/kb/ts4002
Thank you for using Apple Support Communities.
Best,
Sheila M. -
Actionlist is missing error with Reader 9.4 on Win2008
Hi All,
The 3rd party SW that I need to install requires Reader 8 or 9 as a pre-requisite. I need the UK option. I can download fine from adobe.com/reader/download/otherversions (they certainly hide the older versions well). However when I run the .exe on my server (on E: drive), I get the same Actionlist is missing error that others do. The only solution appears to be to go to adobe.com/reader/direct, but that only allows me to download Reader X, which I can't use.
I found a link to an ftp.adobe.com (looked legit) which had an .msi file. When I ran that, buttons labeled in Russian appeared on a legit looking install screen. I quickly shut it down, chosing the path of discretion.
Any thoughts?
Thanks,
EdThere is an English version of Adobe Reader shipped by Adobe, which I guess is the one you are looking for.
You can get the same from: http://get.adobe.com/reader/otherversions/
Also, the FTP site that you tried, please try and access the en_US directory which has the English Reader that you want to install on your system.
Thanks
Ankit -
In the following doc: http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/log_transport.htm#BABCBEGJ
it says:
For example, assume that the redo log on the redo source database has two redo log groups and that each of those contain one 500 MB redo log file. In this case, the standby redo log should have at least 3 standby redo log groups to satisfy the requirement that a standby redo log must have at least one more redo log group than the redo log at the redo source database.
The following SQL statements might be used to create a standby redo log that is appropriate for the previous scenario:
ALTER DATABASE ADD STANDBY LOGFILE
('/oracle/dbs/slog1.rdo') SIZE 500M;
ALTER DATABASE ADD STANDBY LOGFILE
('/oracle/dbs/slog2.rdo') SIZE 500M;
ALTER DATABASE ADD STANDBY LOGFILE
('/oracle/dbs/slog3.rdo') SIZE 500M;
The doc says there needs to be one more group and then demonstrates creating no seperate groups. Did they mean to say one more file or did they mean to create groups such as this:
ALTER DATABASE ADD STANDBY LOGFILE GROUP 1...
ALTER DATABASE ADD STANDBY LOGFILE GROUP 2...
ALTER DATABASE ADD STANDBY LOGFILE GROUP 3....In the example the primary database has two log groups, and then they create 3 standby log groups on the standby. This is exactly what they recommend (standby = primary + 1).
-
I created a dataguard, one primary database and one physical standby. The protection mode is maximum protection. My issue is: everytime when I archive a logfile in primary, it will write to standby logfile in standby logfile. Then the standby logfile status will show 'ACTIVE', and can't reuse it. if I need archive standby logfile in standby database, then I can get the standby logfile reuse?
Now if I add one more standby logfile in standby database, I can archive a logfile in primary. Then I can't archive another more in primary, unless i add one more standby logfile in standby.
thanks a lot,
kelvinThank you everyone. Yes mike, I already 'recover managed standby database using current logfile disconnect from session'. And Emre, I have 3 logfile groups in primary, every group has 2 members. I am using ASM for storage. in standby, at beginning, I created 4 standby groups(every one has 2 members and same size with primary logfile). But after a while, the primary database shut down. I checked alert log in primary, mention 'no available standby logfile to use'. So I added another 4 standby logfiles ......
So anybody know, for the standby logfile, if we need archive those logfiles. So primary can reuse and write log to these standby logfile when primary database do a 'archive log current'. Now I believe my primary database can't reuse those standby logfile in standby database, so I need to add one more, one more standby logfile..
Thanks a lot,
kelvin
Maybe you are looking for
-
Hello, I like to train myself in ABAP webdynpro, so I have installed NW 7.02 SP6 EhP2 on a virtual machine (VMware) with Win2008R2. I have applied with SICF all services as mentioned in OSS note 1088717 describing a list of /default_host/sap/bc/webdy
-
How to find the Web AS Port from ABAP program
Hi I have an ABAP program which passes an URL for a BSP page to the Alert Framework. While creating the URL I need to find out the Hostname and port number for the Web service for that server. Hostname comes from sy-host but I am not able to find the
-
Getting a cd book onto itunes from flash drive...
I am having trouble with my cd drive so I used a friend's computer to put a book on cd onto a flash drive. iTunes will not recognize it. How can I get the book into my iTunes?
-
How to move liabary to new laptop
i know its not that simple as to just connect my ipod touch and my music will appear on my computer. so how do i do this i have just bought a new laptop and have turned on home sharing so i have connected it to the online store so how do i make my ip
-
How do I get the Bell Fibe Remote app to work through my AirPort Extreme?
We have Bell Fibe internet and TV through their modem which is then connected to our AirPort Extreme. During the set up I didn't have to change my existing home network but now the Bell Fibe Remote app on my 5s phone or iPad mini says my Bell wirele