Errors in dataguard

Hi
I am getting a typical error in datagurad. W
We have configured physical standby database and we are trying to test failover scenario,
its taking tooo much time. Just stays at the last time. No progress..
alter database commit to switchover to primary wait with session shutdown
Thu Jun 26 15:56:34 2008
ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY
Database not recovered through End-Of-REDO
Begin: Wait for standby logfiles to be archived
Any help would be appreciated.

Hmm, What version of Oracle are you on? Your error message makes me think 9i as the force option is valid in 10g.
If it's 9i then the cancel command should be
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
You could even try NOWAIT on the above.
Do you have standby redo logs?
The following is from 9i docs:
Step 4 Initiate the failover operation on the target physical standby database.
If your target standby database was configured with standby redo logs and you have not manually registered any partial archived redo logs, issue the following statement:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
Otherwise, you must issue the following statement:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH
2> SKIP STANDBY LOGFILE;
be interested to hear how you get on.
jason.
http://jarneil.wordpress.com

Similar Messages

  • Error while setting up Standby database using Grid Control

    I am getting this on grid control 10.2 on windows env while creating standby database using EM. I have checked this folder and it does exists.
    any ideas?
    C:\oracle\ora10.1\network\admin\listener.ora: java.io.IOException: The system cannot find the path specified

    There is no problem tnsnames.ora & listener.ora since I am getting the same error for just standby backup also.
    this is error on emoms.trc file
    2007-07-18 13:19:37,318 [EMUI_13_19_37_/console/database/instance/sitemap] ERROR perf.sitemap setMaintenancePage.1812 - java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
    java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:869)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1153)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2932)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3023)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4132)
         at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:173)
         at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java:135)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:449)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:561)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.isHomeClonable(CloneHomeSql.java:363)
         at oracle.sysman.db.adm.inst.SitemapController.setMaintenancePage(SitemapController.java:1807)
         at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1385)
         at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1154)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:174)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:88)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2007-07-18 13:19:42,505 [EMUI_13_19_42_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:44,224 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:46,052 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard mapHelpPage.2002 - StandbyUtil.mapHelpPage: dghelp for database/dataguard/createSchedule not mapped to any help ID.. Defaulting to oemdba_consens_data_guard_page
    2007-07-18 13:19:47,130 [EMUI_13_19_47_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone createTemplate.379 - TemplateManager.createTemplate(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitJobPreparation.3013 - DBCloneObject.submitJobPreparation(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitDBCloneJob.3228 - DBCloneObject.submitDBCloneJob(): Exception: The system cannot find the path specified
    2007-07-18 13:19:58,006 [EMUI_13_19_58_/console/database/dataguard/create] ERROR em.dataguard onEvent.1038 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: The system cannot find the path specified

  • During switchover operation in IE shows error "503 Service Unavailable".

    Hi,
    I have installed Oracle Enterprise Manager 10g Release 2 (10.2.0.2) on Windows 2003 server service pack 2.Everything works fine, but when I go for switchover/failover operation firstly error comes as “500 Internal Server Error” and then after refreshing the page “503 Service Unavailable”. Following are the logs.
    I applied the patch Grid Control Release 3 (10.2.0.3.0), but still same error occurs.
    Both database status is up and EM console home shows 100% up.
    Some Collected errors from emoms.trc
    2007-11-03 12:24:35,453 [Thread-25] ERROR em.dataguard updateDGStatus.453 - ConfigBean:updateDGStatus(): Exception java.lang.NullPointerException
    2007-11-03 12:25:01,703 [Thread-26] ERROR em.dataguard updateDGStatus.453 - ConfigBean:updateDGStatus(): Exception java.lang.NullPointerException
    2007-11-03 12:25:11,156 [Thread-27] ERROR em.dataguard updateDGStatus.453 - ConfigBean:updateDGStatus(): Exception java.lang.NullPointerException
    2007-11-03 12:25:17,906 [EMUI_12_25_17_/console/targets] ERROR jdk.NLSUtil getFormattedDateWithTZ.407 - Invalid region name format: GMT+05:30
    2007-11-03 12:25:17,906 [EMUI_12_25_17_/console/targets] ERROR jdk.NLSUtil getFormattedDateWithTZ.407 - Invalid region name format: GMT+05:30
    2007-11-03 12:25:19,343 [EMUI_12_25_19_/console/home] ERROR jdk.NLSUtil getFormattedDateWithTZ.407 - Invalid region name format: GMT+05:30
    2007-11-03 12:30:16,562 [Thread-34] ERROR db.rac getEMDFromRep.806 - Closed Connection
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:928)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:824)
         at oracle.jdbc.OracleConnectionWrapper.prepareStatement(OracleConnectionWrapper.java:72)
         at oracle.sysman.util.jdbc.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:467)
         at oracle.sysman.db.rac.util.ClusterUtil.getEMDFromRep(ClusterUtil.java:795)
         at oracle.sysman.db.rac.util.ClusterUtil.getEMD(ClusterUtil.java:888)
         at oracle.sysman.emo.util.DBVerify.getDBProperties(DBVerify.java:2454)
         at oracle.sysman.emo.util.DBStateUtil.doDatabaseShutdown(DBStateUtil.java:703)
         at oracle.sysman.db.dg.util.RemoteCtrl.shutdownDB(RemoteCtrl.java:596)
         at oracle.sysman.db.dg.util.ClientOperation.doClientOp(ClientOperation.java:368)
         at oracle.sysman.db.dg.util.ClientOperation$BounceThread.run(ClientOperation.java:215)
         at java.lang.Thread.run(Thread.java:534)
    2007-11-03 12:30:16,562 [Thread-34] ERROR emo.util verifyDBProperties.2073 - DBStateUtil.verifyDBProperties: EMD URL was null or empty.
    2007-11-03 12:30:23,265 [EMUI_12_30_23_/console/database/dataguard] ERROR em.dataguard onEvent.1233 - Data Guard: found errors during role change: Unable to retrieve the URL from repository. Check the specified target name and its corresponding target type. Other possible causes: remote EMD is not pointing to the web server, or remote target information has not been loaded.
    2007-11-03 12:30:41,328 [ApplicationServerThread-5] ERROR app.SessionObjectManager sessionDestroyed.128 - java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:30:42,968 [PingHeartBeatRecorder] WARN emdrep.pingHBRecorder resetConnection.305 - SQLException caught while resetting connection ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:30:43,093 [Job Dispatcher Thread] ERROR em.jobs mainTask.2346 - encountered error:
    java.sql.SQLException: ORA-01092: ORACLE instance terminated. Disconnection forced
    2007-11-03 12:30:44,046 [SeverityLoad https://ashok:3872/emd/main/] ERROR eml.XMLLoader markFileAsError.854 - Error repeated 2 times: ERROR-400|ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:30:46,796 [AJPRequestHandler-ApplicationServerThread-6] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = https://ashok:3872/emd/main/)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    2007-11-03 12:33:29,843 [AJPRequestHandler-ApplicationServerThread-6] ERROR conn.ConnectionService verifyRepositoryEx.817 - Invalid Connection Pool. ERROR = ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Regards,
    S Reddy

    Hi,
    Thanks for your reply.
    Steps Performed while configuring data guard.
    - Install Oracle Enterprise Manager 10 g with new database option on windows server 2003 enterprise edition service pack 2.
    - Applied patch of Oracle database 10g Release 2 (10.2.0.3)
    - Applied patch of Oracle Enterprise Manager 10g Grid Control Release 3 (10.2.0.3.0)
    Primary Database=GOOGLE
    Secondary Database=YAHOO
    Run the following commands in CMD.
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\oracle>set oracle_home=C:\Oracle_NET\db10g
    C:\Documents and Settings\oracle>set oracle_sid=GOOGLE
    C:\Documents and Settings\oracle>sqlplus /nolog
    SQL*Plus: Release 10.1.0.4.2 - Production on Thu Nov 8 09:44:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> CONNECT SYS/infodb1 as sysdba
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 536870912 bytes
    Fixed Size 790068 bytes
    Variable Size 162525644 bytes
    Database Buffers 373293056 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> show parameters unique;
    NAME TYPE VALUE
    db_unique_name string GOOGLE
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG
    SQL> create pfile from spfile;
    File created.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\oracle>sqlplus /nolog
    SQL*Plus: Release 10.1.0.4.2 - Production on Thu Nov 8 10:38:31 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> CONNECT SYS/infodb1 as sysdba
    Connected to an idle instance.
    SQL> [b]STARTUP NOMOUNT PFILE=C:\Oracle_NET\db10g\database\INITgoogle.ORA;
    ORACLE instance started.
    Total System Global Area 536870912 bytes
    Fixed Size 790068 bytes
    Variable Size 162525644 bytes
    Database Buffers 373293056 bytes
    Redo Buffers 262144 bytes
    SQL> create spfile from pfile;
    File created.
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\oracle>sqlplus /nolog
    SQL*Plus: Release 10.1.0.4.2 - Production on Thu Nov 8 10:41:32 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> CONNECT SYS/infodb1 as sysdba
    Connected to an idle instance.
    SQL> STARTUP MOUNT;
    ORACLE instance started.
    Total System Global Area 536870912 bytes
    Fixed Size 790068 bytes
    Variable Size 162525644 bytes
    Database Buffers 373293056 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    SQL> alter database archivelog;
    Database altered.
    SQL> alter database force logging;
    Database altered.
    SQL> select log_mode from v$database;
    LOG_MODE
    ARCHIVELOG
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    Then I login to site https://ashok:1159/em by using SYSMAN account which is the console for em.
    -     Then I created standby database through.<TARGETS-DATABASES-GOOGLE- MAINTENANCE -DATA GUARD- SET UP AND MANAGE-ADD STANDBY DATABASE- CREATE A NEW PHYSICAL STANDBY DATABASE>
    -     Then I verify the configuration it shows the following log.
    Initializing
    Connected to instance ASHOK:yahoo
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Data Protection Settings:
    Protection mode : Maximum Performance
    Log Transport Mode settings:
    GOOGLE: ARCH
    YAHOO: ARCH
    Checking standby redo log files.....OK
    Checking Data Guard status
    GOOGLE : Normal
    YAHOO : Normal
    Request ID: 2: 1: 638446177, Operation: CTL_GET_STATUS
    Checking Inconsistent Properties
    Checking agent status
    GOOGLE ... WARNING: No credentials available for target ASHOK
    Attempting agent ping ... OK
    YAHOO ... WARNING: No credentials available for target ASHOK
    Attempting agent ping ... OK
    Switching log file 90.Done
    Checking applied log on GOOGLE...OK
    Processing completed.
    Following are the files:
    Additional parameters in[b] INITgoogle.ora
    *.db_unique_name='GOOGLE
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(GOOGLE,YAHOO)'
    *.log_archive_dest_1='location=C:\Oracle_NET\ALD_DEST_1','VALID_FOR=(ALL_LOGFILES,ALL_ROLES)','mandatory','arch','DB_UNIQUE_NAME=GOOGLE','REOPEN=30'
    *.log_archive_dest_2='SERVICE=YAHOO','LGWR','ASYNC','VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)','DB_UNIQUE_NAME=YAHOO'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=ENABLE
    *.REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    *.LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    *.LOG_ARCHIVE_MAX_PROCESSES=10
    *.fal_server=YAHOO
    *.fal_client=GOOGLE
    *.standby_file_management=auto
    *.db_file_name_convert='YAHOO/YAHOO','GOOGLE/GOOGLE'
    *.log_file_name_convert='C:\Oracle_NET\OD\YAHOO\YAHOO','C:\Oracle_NET\OD\GOOGLE\GOOGLE'
    listener.ora
    # listener50312.ora Network Configuration File: C:\DOCUME~1\oracle\LOCALS~1\Temp\listener50312.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = GOOGLE)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = GOOGLE_DGMGRL)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (SID_NAME = GOOGLE)
    (SID_DESC =
    (GLOBAL_DBNAME = YAHOO_DGMGRL)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (SID_NAME = YAHOO)
    (SID_DESC =
    (GLOBAL_DBNAME = YAHOO_DGMGRL)
    (ORACLE_HOME = C:\Oracle_NET\db10g)
    (SID_NAME = YAHOO)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ashok)(PORT = 1521))
    Tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\Oracle_NET\db10g\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    GOOGLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ashok)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = GOOGLE)
    YAHOO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ashok)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = YAHOO)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    -     Then Both databases are running
    -     It showing the data guard home page.
    -     Then I go for switchover operation the error occurs.

  • Error: ORA-16751: resource guard encountered errors in switchover to primar

    Hello ,
    I have just completed dataguard configuration for one standby server. However when I tries to switchover i am getting following error in dataguard log file.
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16816: incorrect database role
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16783: instance p11 not open for read and write access
    DG 2011-07-09-20:08:58 0 2 0 RSM Warning: cannot find the destinationsetting in v$archive_dest for database 'p11_disaster'.
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property LogXptMode found ORA-16777 error
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standby database in V$ARCHIVE_DEST
    DG 2011-07-09-20:08:58 0 2 0 RSM Warning: cannot find the destinationsetting in v$archive_dest for database 'p11_disaster'.
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property DelayMins found ORA-16777 error
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standby database in V$ARCHIVE_DEST
    DG 2011-07-09-20:08:58 0 2 0 RSM Warning: cannot find the destinationsetting in v$archive_dest for database 'p11_disaster'.
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property Binding found ORA-16777 error
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standby database in V$ARCHIVE_DEST
    DG 2011-07-09-20:08:58 0 2 0 RSM Warning: cannot find the destinationsetting in v$archive_dest for database 'p11_disaster'.
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property MaxFailure found ORA-16777 error
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standby database in V$ARCHIVE_DEST
    DG 2011-07-09-20:08:58 0 2 0 RSM Warning: cannot find the destinationsetting in v$archive_dest for database 'p11_disaster'.
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property MaxConnections found ORA-16777 error
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standby database in V$ARCHIVE_DEST
    DG 2011-07-09-20:08:58 0 2 0 RSM Warning: cannot find the destinationsetting in v$archive_dest for database 'p11_disaster'.
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16728: consistency check for property ReopenSecs found ORA-16777 error
    DG 2011-07-09-20:08:58 0 2 0 RSM0: HEALTH CHECK WARNING: ORA-16777: unable to find the destination entry of a standby database in V$ARCHIVE_DEST
    DG 2011-07-09-20:08:58 0 2 756068556 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16810
    DG 2011-07-09-20:08:58 0 2 756068556 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16810
    I have tried several times however it changes the role of primary DB to physical standby , which i again change to primary by "Alter Database Commit to Switchover to PRIMARY with session Shutdown;"
    Here are the DGMGRL command prompts output.
    C:\Documents and Settings\p11adm>dgmgrl
    DGMGRL for 64-bit Windows: Version 10.2.0.2.0 - 64bit Production
    Copyright (c) 2000, 2005, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL> connect sys/windows123@to_primary
    Connected.
    DGMGRL> show database verbose p11_primary;
    Database
    Name: p11_primary
    Role: PRIMARY
    Enabled: YES
    Intended State: ONLINE
    Instance(s):
    p11
    Properties:
    InitialConnectIdentifier = 'to_primary'
    LogXptMode = 'ASYNC'
    Dependency = ''
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '180'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '10'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = ''
    LogFileNameConvert = ''
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'PROD104'
    SidName = 'p11'
    LocalListenerAddress = '(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.1.104)(
    PORT=1527))'
    StandbyArchiveLocation = 'C:\oracle\P11\oraarch\P11arch'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'ARC%S_%R.%T'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "p11_primary":
    SUCCESS
    DGMGRL> show database verbose p11_disaster;
    Database
    Name: p11_disaster
    Role: PHYSICAL STANDBY
    Enabled: YES
    Intended State: ONLINE
    Instance(s):
    p11
    Properties:
    InitialConnectIdentifier = 'to_standby'
    LogXptMode = 'ARCH'
    Dependency = ''
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '180'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '10'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = ''
    LogFileNameConvert = ''
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'PROD102'
    SidName = 'p11'
    LocalListenerAddress = '(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.1.102)(
    PORT=1527))'
    StandbyArchiveLocation = 'C:\oracle\P11\oraarch\P11arch'
    AlternateLocation = ''
    LogArchiveTrace = '0'
    LogArchiveFormat = 'ARC%S_%R.%T'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "p11_disaster":
    SUCCESS
    DGMGRL> switchover to p11_disaster;
    Performing switchover NOW, please wait...
    Error: ORA-16751: resource guard encountered errors in switchover to primary dat
    abase
    Failed.
    Unable to switchover, primary database is still "p11_primary"
    Here are the changed pfile of both DB's
    Pfile changes at Primary
    *.db_name='p11'
    *.db_unique_name='p11_primary'
    *.dg_broker_start=true
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.104)(PORT = 1527))'
    *.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)'
    *.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
    Pfile of standby server ( few parameters are created by DGMGRL itself)
    *.db_name='P11'
    *.db_unique_name='P11_disaster'
    *.dg_broker_start=TRUE
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.1.102)(PORT=1527)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))'
    *.fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.1.104)(PORT=1527)))(CONNECT_DATA=(SERVICE_NAME=p11_primary_XPT)(SERVER=dedicated)))'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.102)(PORT = 1527))'
    *.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)'
    p11.log_archive_dest_1='location="C:\oracle\P11\oraarch\P11arch"','valid_for=(ALL_LOGFILES,ALL_ROLES)'
    *.log_archive_dest_state_1='enable'
    p11.log_archive_dest_state_1='ENABLE'
    p11.log_archive_format='ARC%S_%R.%T'
    *.log_archive_max_processes=10
    *.log_archive_min_succeed_dest=1
    p11.log_archive_trace=0
    *.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
    p11.standby_archive_dest='C:\oracle\P11\oraarch\P11arch'
    *.standby_file_management='AUTO'
    Please advice .
    Thanks & Regards
    Edited by: dharm.singh on Jul 9, 2011 7:48 AM

    I have added the standby archive log destination as per your suggestion p11.standby_archive_dest='C:\oracle\P11\oraarch\P11arch'
    However , i am now getting these errors in dgmgrl log file while doing switchover.
    DG 2011-07-11-14:39:24 0 2 756225487 DMON: CTL_ENABLE of p11
    DG 2011-07-11-14:39:24 0 2 756225487 requires reset of LOG XPT Engine
    DG 2011-07-11-14:39:24 0 2 756225487 on Site p11_primary
    DG 2011-07-11-14:39:24 0 2 0 Reset Log Transport Resource: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
    DG 2011-07-11-14:39:24 0 2 0 Set log transport destination: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
    DG 2011-07-11-14:39:24 0 2 0 Executing SQL [alter system set log_archive_dest_2 =  'service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.1.102)(PORT=1527)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"', '   LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1   reopen=300 db_unique_name="p11_disaster" register net_timeout=180  valid_for=(online_logfile,primary_role)']
    DG 2011-07-11-14:39:24 0 2 0 SQL [alter system set log_archive_dest_2 =  'service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.1.102)(PORT=1527)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"', '   LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1   reopen=300 db_unique_name="p11_disaster" register net_timeout=180  valid_for=(online_logfile,primary_role)'] Executed successfully
    DG 2011-07-11-14:39:24 0 2 0 Executing SQL [alter system set log_archive_dest_state_2 = 'ENABLE']
    DG 2011-07-11-14:39:24 0 2 0 SQL [alter system set log_archive_dest_state_2 = 'ENABLE'] Executed successfully
    DG 2011-07-11-14:39:24 0 2 0 Executing SQL [ALTER SYSTEM SWITCH ALL LOGFILE]
    DG 2011-07-11-14:39:26 0 2 0 SQL [ALTER SYSTEM SWITCH ALL LOGFILE] Executed successfully
    DG 2011-07-11-14:39:26 0 2 0 DMON: site 01001000, instance 00000001 queuing healthcheck lock request
    DG 2011-07-11-14:39:26 0 2 0 DMON: Releasing healthcheck master lock
    DG 2011-07-11-14:39:26 0 2 0 DMON: Health check master lock conversion successful
    DG 2011-07-11-14:39:26 0 2 0 DMON: a process acquired the healthcheck master lock
    DG 2011-07-11-14:39:26 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:39:26 0 2 756225487 DMON: status from rfi_post_instances() for ENABLE = ORA-00000
    DG 2011-07-11-14:39:26 0 2 0 req_id 1.1.756225487, opcode CTL_ENABLE, phase END, flags 5
    DG 2011-07-11-14:39:26 0 2 756225487 DMON: ENABLE Complete, Object p11
    DG 2011-07-11-14:39:26 0 2 756225487      enabled in State ONLINE
    DG 2011-07-11-14:39:26 0 2 756225487 rfm_inst_phase_dispatch 16 END phase processing
    DG 2011-07-11-14:39:26 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:39:26 0 2 0 req_id 1.1.756225487, opcode CTL_ENABLE, phase END
    DG 2011-07-11-14:39:26 0 2 756225487 DMON: CTL_ENABLE operation completed
    DG 2011-07-11-14:39:26 0 2 756225487 DMON: Entered rfm_release_chief_lock for CTL_ENABLE
    DG 2011-07-11-14:39:29 0 2 756225495 DMON: ENUM_DRC: success. (len = 652)
    DG 2011-07-11-14:39:29 0 2 756225495 DMON: ENUM_DRC operation completed
    DG 2011-07-11-14:39:29 1000 2 756225496 DMON: MON_PROPERTY operation completed
    DG 2011-07-11-14:39:29 1000 2 756225497 DMON: Entered rfm_get_chief_lock() for MON_VERIFY, reason 0
    DG 2011-07-11-14:39:29 1000 2 756225497 DMON: chief lock convert for client healthcheck
    DG 2011-07-11-14:39:29 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:39:29 0 2 0 req_id 1.1.756225497, opcode MON_VERIFY, phase BEGIN, flags 5
    DG 2011-07-11-14:39:30 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:39:30 0 2 0 req_id 1.1.756225497, opcode MON_VERIFY, phase BEGIN
    DG 2011-07-11-14:39:30 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:39:30 0 2 0 req_id 1.1.756225497, opcode MON_VERIFY, phase RESYNCH, flags 10005
    DG 2011-07-11-14:39:30 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:39:30 0 2 0 req_id 1.1.756225497, opcode MON_VERIFY, phase RESYNCH
    DG 2011-07-11-14:39:30 1000 2 756225497 DMON: MON_VERIFY operation completed
    DG 2011-07-11-14:39:30 1000 2 756225497 DMON: Entered rfm_release_chief_lock for MON_VERIFY
    DG 2011-07-11-14:39:30 1000 2 756225500 DMON: CTL_GET_STATUS operation completed
    DG 2011-07-11-14:39:44 1000 2 756225501 DMON: Entered rfm_get_chief_lock() for MON_VERIFY, reason 0
    DG 2011-07-11-14:39:44 1000 2 756225501 DMON: chief lock convert for client healthcheck
    DG 2011-07-11-14:39:44 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:39:44 0 2 0 req_id 1.1.756225501, opcode MON_VERIFY, phase BEGIN, flags 5
    DG 2011-07-11-14:39:45 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:39:45 0 2 0 req_id 1.1.756225501, opcode MON_VERIFY, phase BEGIN
    DG 2011-07-11-14:39:45 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:39:45 0 2 0 req_id 1.1.756225501, opcode MON_VERIFY, phase RESYNCH, flags 10005
    DG 2011-07-11-14:39:45 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:39:45 0 2 0 req_id 1.1.756225501, opcode MON_VERIFY, phase RESYNCH
    DG 2011-07-11-14:39:45 1000 2 756225501 DMON: MON_VERIFY operation completed
    DG 2011-07-11-14:39:45 1000 2 756225501 DMON: Entered rfm_release_chief_lock for MON_VERIFY
    DG 2011-07-11-14:39:45 0 2 756225504 DMON: ENUM_DRC: success. (len = 652)
    DG 2011-07-11-14:39:45 0 2 756225504 DMON: ENUM_DRC operation completed
    DG 2011-07-11-14:39:45 1000 2 756225505 DMON: MON_PROPERTY operation completed
    DG 2011-07-11-14:39:45 2000000 3 756225506 DMON: Entered rfm_get_chief_lock() for CTL_SWITCH, reason 0
    DG 2011-07-11-14:39:45 2000000 3 756225506 DMON: chief lock convert for switchover
    DG 2011-07-11-14:39:45 0 2 0 Executing SQL [ALTER SYSTEM ARCHIVE LOG CURRENT]
    DG 2011-07-11-14:39:53 0 2 0 SQL [ALTER SYSTEM ARCHIVE LOG CURRENT] Executed successfully
    DG 2011-07-11-14:39:53 2000000 3 756225506 DMON: posting primary instances for SWITCHOVER phase 1
    DG 2011-07-11-14:39:53 2000000 3 756225506 DMON: dispersing message to standbys for SWITCHOVER phase 1
    DG 2011-07-11-14:39:53 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:39:53 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase BEGIN, flags 5
    DG 2011-07-11-14:39:53 2000000 3 756225506 DMON: Entered rfmsoexinst for phase 1
    DG 2011-07-11-14:39:53 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:39:53 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase BEGIN
    DG 2011-07-11-14:39:53 2000000 3 756225506 DMON: CLSR being notified to disable services and shutdown instances as appropriate for SWITCHOVER.
    DG 2011-07-11-14:39:53 2000000 3 756225506 DMON: posting primary instances for SWITCHOVER phase 2
    DG 2011-07-11-14:39:53 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:39:53 2000000 3 756225506 DMON: dispersing message to standbys for SWITCHOVER phase 2
    DG 2011-07-11-14:39:53 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase TEARDOWN, flags 5
    DG 2011-07-11-14:39:53 2000000 3 756225506 DMON: Entered rfmsoexinst for phase 2
    DG 2011-07-11-14:39:53 0 2 0 RSM 0 received SETSTATE request: rid=0x01041000, sid=0, phid=1, econd=2, sitehndl=0x02001000
    DG 2011-07-11-14:39:53 0 2 0 Log Transport Resource: SetState OFFLINE, phase TEAR-DOWN, External Cond SWITCH-OVER-PHYS_STBY
    DG 2011-07-11-14:39:53 0 2 0 RSM 0 received SETSTATE request: rid=0x01012000, sid=4, phid=1, econd=2, sitehndl=0x02001000
    DG 2011-07-11-14:39:53 0 2 0 Database Resource[IAM=PRIMARY]: SetState PHYSICAL-APPLY-ON, phase TEAR-DOWN, External Cond SWITCH-OVER-PHYS_STBY, Target Site Handle 0x02001000
    DG 2011-07-11-14:39:53 0 2 0 Executing SQL [ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN]
    DG 2011-07-11-14:41:32 0 2 0 SQL [ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN] Executed successfully
    DG 2011-07-11-14:41:32 0 2 0 Executing SQL [alter system set log_archive_dest_2 = '']
    DG 2011-07-11-14:41:32 0 2 0 SQL [alter system set log_archive_dest_2 = ''] Executed successfully
    DG 2011-07-11-14:41:32 0 2 0 Executing SQL [alter system set log_archive_dest_state_2 = 'ENABLE']
    DG 2011-07-11-14:41:32 0 2 0 SQL [alter system set log_archive_dest_state_2 = 'ENABLE'] Executed successfully
    DG 2011-07-11-14:41:32 0 2 0 Database Resource SetState succeeded
    DG 2011-07-11-14:41:32 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:41:32 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase TEARDOWN
    DG 2011-07-11-14:41:32 2000000 3 756225506 DMON: posting primary instances for SWITCHOVER phase 2
    DG 2011-07-11-14:41:32 2000000 3 756225506 DMON: dispersing message to standbys for SWITCHOVER phase 2
    DG 2011-07-11-14:41:32 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:41:32 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase TEARDOWN, flags 5
    DG 2011-07-11-14:41:32 2000000 3 756225506 DMON: Entered rfmsoexinst for phase 2
    DG 2011-07-11-14:41:32 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:41:32 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase TEARDOWN
    DG 2011-07-11-14:41:47 2000000 3 756225506 Operation CTL_SWITCH cancelled during phase 2, error = ORA-16751
    DG 2011-07-11-14:41:47 2000000 3 756225506 DMON: CLSR being notified to enable services and startup primary instances as appropriate for SWITCHOVER.
    DG 2011-07-11-14:41:47 0 2 0 DMON: site 01001000, instance 00000001 queuing healthcheck lock request
    DG 2011-07-11-14:41:47 0 2 0 DMON: Releasing healthcheck master lock
    DG 2011-07-11-14:41:47 0 2 0 DMON: Health check master lock conversion successful
    DG 2011-07-11-14:41:47 0 2 0 DMON: a process acquired the healthcheck master lock
    DG 2011-07-11-14:41:47 2000000 3 756225506 DMON: posting primary instances for SWITCHOVER phase 5
    DG 2011-07-11-14:41:47 2000000 3 756225506 DMON: SWITCHOVER Aborted due to errors
    DG 2011-07-11-14:41:47 0 2 0 INSV: Received message for inter-instance publication
    DG 2011-07-11-14:41:47 2000000 3 756225506      Site named: p11_primary is still primary
    DG 2011-07-11-14:41:48 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase END, flags 5
    DG 2011-07-11-14:41:48 2000000 3 756225506      error = ORA-16751
    DG 2011-07-11-14:41:48 2000000 3 756225506 DMON: dispersing message to standbys for SWITCHOVER phase 5
    DG 2011-07-11-14:41:48 0 2 0 INSV: All instances have replied for message
    DG 2011-07-11-14:41:48 0 2 0 DMON: site 01001000, instance 00000001 queuing healthcheck lock request
    DG 2011-07-11-14:41:48 0 2 0 req_id 1.1.756225506, opcode CTL_SWITCH, phase END
    DG 2011-07-11-14:41:48 0 2 0 DMON: Releasing healthcheck master lock
    DG 2011-07-11-14:41:48 0 2 0 DMON: Health check master lock conversion successful
    DG 2011-07-11-14:41:48 0 2 0 DMON: a process acquired the healthcheck master lock
    DG 2011-07-11-14:41:48 2000000 3 756225506 Operation CTL_SWITCH cancelled during phase 5, error = ORA-16751
    DG 2011-07-11-14:41:48 2000000 3 756225506 DMON: CTL_SWITCH operation completed
    DG 2011-07-11-14:41:48 2000000 3 756225506 DMON: Entered rfm_release_chief_lock for CTL_SWITCH
    Please advice.

  • Data Guard Error ORA-16608

    Hi
    i am facing an error in dataguard, i am going to down standby DB with dataguard manager when i do this my Prod db status become warning (ORA-16608)"one or more sites have warning".
    Thanks

    *** Duplicate Post ***
    Ignore this posting.

  • Dataguard administration with Cloud Control 12cr2

    Hi,
    there is a dataguard configuration that is working fine with DGMGRL.
    but, the Cloud Control 12cr2 is unable to
    - perform switchover
    -configure/deconfigure FAST START FAILOVER
    i always get
    Session Information Unavailable
    Enterprise Manager is unable to proceed. The most likely cause of this is that database session information could not be retrieved or that EM was unable to process a user-invoked bookmark. Press OK to continue.
    the emoms.log shows :
    2012-12-12 09:20:44,467 [EMUI_09_20_44_/console/database/dataguard] ERROR em.dataguard onEvent.1889 - java.lang.NullPointerException
    at oracle.sysman.db.dg.DataguardController.displayConnectPage(DataguardController.java:3298)
    at oracle.sysman.db.dg.DataguardController.onEvent(DataguardController.java:1436)
    at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1234)
    at oracle.sysman.db.dg.DataguardController.handleEvent(DataguardController.java:1188)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:584)
    at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:248)
    at oracle.sysman.db.adm.BaseController.handleRequest(BaseController.java:1108)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:758)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:336)
    at oracle.sysman.eml.app.Console.doGet(Console.java:337)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ConsoleFilter.doFilter(ConsoleFilter.java:368)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMTargetAuthFilter.doFilter(EMTargetAuthFilter.java:375)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:675)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:550)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:137)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMSecurityFilter.doFilter(EMSecurityFilter.java:66)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    2012-12-12 09:20:44,582 [EMUI_09_20_44_/console/database/dataguard] WARN em.dataguard handleEvent.1147 - DataguardController.handleEvent: invalid target or null connection for : editConfirmUpgrade
    2012-12-12 09:20:44,624 [EMUI_09_20_44_/console/database/dataguard] WARN em.dataguard getMetricData.1587 - ConfigBean.getMetricData: SQLException: ORA-01830: Le modèle du format de date se termine avant la conversion de la chaîne d'entrée entière
    ORA-06512: à ligne 58
    Any idea ?

    Hi jstem,
    thank you for your help
    The initial status of the DATAGUARD is SUCCESS, and all is working fine with the BROKER.
    The"Availability"=>"Dataguard Administration" page is correct, all the indications are right, except :
    - Estimate Failover Time : Not available
    Here is the output of 'Verify Data Guard Setup'
    Initializing
    Connected to instance srv-bdd02:PHOENIX
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Skipping verification of fast-start failover static services check.
    Data Protection Settings:
    Protection mode : Maximum Availability
    Redo Transport Mode settings:
    PHNXFIN: SYNC
    PHNXENT: SYNC
    Checking standby redo log files.....OK
    Checking Data Guard status
    PHNXFIN : Normal
    PHNXENT : Normal
    Checking inconsistent properties
    Checking agent status
    WARNING: No credentials available for target. srv-bdd01
    Attempting agent ping ... OK
    WARNING: No credentials available for target. srv-bdd02
    Attempting agent ping ... OK
    Checking applied log on PHNXENT...OK
    Processing completed.
    Yes, i've already investigated about credentials ...
    ALL the credentials are OK for hosts, instance, agent, .... don't know where to add more credentials ....

  • SQL exception during creation of a physical standby database with EM

    Version: EM Oracle 10.2.5 (agents running, repository running, primary db running, all targets visible and reachable with EM)
    I try to create a physical standby database with the enterprise manager and each time the process is aborted with a SQL exception during the preparation of the job by the EM. I have added a part of the OMs log containing the error at the end of the excerpt.
    =============
    2010-04-29 16:00:39,856 [EMUI_16_00_39_/console/targets] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2010-04-29 16:01:04,765 [EMUI_16_01_04_/console/database/dataguard/create] ERROR em.dataguard validate.1329 - CreateBean: ClassNotFoundException: null
    2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone checkSetFileError.79 - DatabaseFileAttributes.checkSetFileError(): Null database file!
    2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone setControlfiles.160 - DatabaseFileAttributes.setDatafiles(): Invalid control file!
    2010-04-29 16:02:05,492 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone getControlFileNames.616 - DatabaseFileAttributes.getDatafileNames(): null datafile names!
    2010-04-29 16:02:32,823 [Thread-28] ERROR em.jobs remoteOp.2389 - DBVerify.remoteOp(): Error: max_stamp# 6071384
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3297 - DBCloneObject.submitJobPreparation(): getMaxLogSequenceNum: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3501 - DBCloneObject.submitJobPreparation(): Exception: java.lang.Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitDBCloneJob.3716 - DBCloneObject.submitDBCloneJob(): Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:37,496 [EMUI_16_02_37_/console/database/dataguard/create] ERROR em.dataguard onEvent.1243 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    =========
    I have set the agent perl script tracing to DEBUG, but can't find any reason, why the job preparation failed.
    Has anyone an idea why the job cannot be prepared? Thanks in advance for investigation :-)

    Can you please tell me how can i see data gaurd on EM..
    I have oracle 11gR1..i have implemmented primary as well standby database..
    I have already started EM but i have no idea where to find datagaurd option..or how to create standdby db using EM..
    You got error that means u did it using EM..how can i do it on EM

  • SGA allocation

    Hello folks,
    We have a dataguard setup with primary database on 10.2.0.3 on AIX. I have kept all the parameters same in parameter file but querying SHOW SGA gives different results on primary database and DR database which causes ORA-04030 - Out of memory error. Can you please suggest some guidance?
    Parameters on Primary:
    SQL> show parameter db_cache
    NAME TYPE VALUE
    db_cache_advice string OFF
    db_cache_size big integer 368M
    SQL> show parameter shared_
    NAME TYPE VALUE
    hi_shared_memory_address integer 0
    max_shared_servers integer
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 5M
    shared_pool_size big integer 224M
    shared_server_sessions integer
    shared_servers integer 0
    SQL> show parameter sga_
    NAME TYPE VALUE
    sga_max_size big integer 2512M
    sga_target big integer 2000M
    SQL> show parameter pga_
    NAME TYPE VALUE
    pga_aggregate_target big integer 250M
    SQL>
    ===========================
    Parameters on DR:
    SQL> show parameter db_cache
    NAME TYPE VALUE
    db_cache_advice string OFF
    db_cache_size big integer 368M
    SQL> show parameter shared_
    NAME TYPE VALUE
    hi_shared_memory_address integer 0
    max_shared_servers integer
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 5M
    shared_pool_size big integer 224M
    shared_server_sessions integer
    shared_servers integer 0
    SQL> show parameter sga_
    NAME TYPE VALUE
    sga_max_size big integer 2512M
    sga_target big integer 2000M
    SQL> show parameter pga_
    NAME TYPE VALUE
    pga_aggregate_target big integer 250M
    SQL>
    ==================================
    Primary SGA --
    SQL> show sga
    Total System Global Area 2634022912 bytes
    Fixed Size 2075184 bytes
    Variable Size 1761609168 bytes
    Database Buffers 754974720 bytes
    Redo Buffers 115363840 bytes
    SQL>
    DR SGA --
    SQL> show sga
    Total System Global Area 2634022912 bytes
    Fixed Size 2075184 bytes
    Variable Size 805307856 bytes
    Database Buffers 1711276032 bytes
    Redo Buffers 115363840 bytes
    SQL>
    Why primary and DR Variable size & Database buffers is different?

    Though my database is small and max 50 users connect at a time on primary. I got this error on DR and never received the same error or any memory error on primary site. that wonders me..!!I am not sure how good you explore below threads, but if these do not helps more then may be a bug and Oracle support is the solution :
    ora-04030 error in dataguard environment
    11g and ORA-04030 problems
    Regards
    Girish Sharma

  • No Such Target - EM 10.2

    I have instaled Oracle Enterprise Manager Grid Console 10.2.0.2.1 with two instance of Oracle Database 11gR1.
    When i try to create a User-Defined Metric, click on TEST button, i receive the error "No Such Target".
    In the emoms.log:
    2012-06-20 10:45:51,384 [EMUI_10_45_51_/console/monitoring/statusCurrent$type=rac*_database$target=CARDP$pageType=current$alertType=critical$ctxType=Databases$memberStatus=true] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 10:47:22,429 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - StandbyImpl.executeAsyncXML: SQLException: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,429 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - DataguardController.initConfigBean: Standby Exception: SQL Exception: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,429 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - StandbyImpl.executeAsyncXML: SQLException: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,445 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - DataguardController.initConfigBean: Standby Exception: SQL Exception: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,445 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - StandbyImpl.executeAsyncXML: SQLException: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,445 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - DataguardController.initConfigBean: Standby Exception: SQL Exception: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,461 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - StandbyImpl.executeAsyncXML: SQLException: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,461 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - DataguardController.initConfigBean: Standby Exception: SQL Exception: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,461 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - StandbyImpl.executeAsyncXML: SQLException: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,461 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - DataguardController.initConfigBean: Standby Exception: SQL Exception: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,476 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - StandbyImpl.executeAsyncXML: SQLException: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,476 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - DataguardController.initConfigBean: Standby Exception: SQL Exception: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,476 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - StandbyImpl.executeAsyncXML: SQLException: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:47:22,476 [EMUI_10_47_22_/console/database/dataguard] ERROR em.dataguard logError.2046 - DataguardController.initConfigBean: Standby Exception: SQL Exception: ORA-06550: line 1, column 26:
    PLS-00201: identifier 'SYS.DBMS_DRS' must be declared
    ORA-06550: line 1, column 26:
    PL/SQL: Statement ignored
    2012-06-20 10:48:30,178 [EMUI_10_48_29_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 10:50:32,771 [EMUI_10_50_31_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 10:57:41,968 [EMUI_10_57_41_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 10:58:43,249 [EMUI_10_58_42_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 10:59:44,607 [EMUI_10_59_43_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 11:00:45,935 [EMUI_11_00_45_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 11:01:47,434 [EMUI_11_01_46_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 11:03:03,339 [EMUI_11_03_02_/console/monitoring/userDefinedMetrics$target=CARDP$type=rac*_database] WARN emd.targets setContents.101 - Label Age of the first message in persistent queue per subscriber (seconds) very long. Has been truncated.
    2012-06-20 11:04:51,260 [EMUI_11_04_50_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 11:05:52,509 [EMUI_11_05_51_/console/rac/racSitemap] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2012-06-20 11:06:36,930 [EMUI_11_06_36_/console/monitoring/userDefinedMetricLauncher$restricted=false$mode=create$target=CARDP$type=rac*_database] ERROR metrics.UserDefinedMetricLauncherDataObject isDuplicate.4837 - java.lang.NullPointerException
    2012-06-20 11:06:37,368 [EMUI_11_06_36_/console/monitoring/userDefinedMetricLauncher$restricted=false$mode=create$target=CARDP$type=rac*_database] ERROR metrics.UserDefinedMetricLauncherDataObject getResultsFromAgent.5525 - Exception at getResultsFromAgent ONE_COL
    oracle.sysman.emSDK.emd.comm.NoSuchTargetException: No Such Target
    I really need your help!

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Enterprise Management » Enterprise Manager which is OEM dedicated forum site.
    Regard
    Helios

  • EM: Creation process for a physical standby DB failed with SQL Exception

    Version: EM Oracle 10.2.5 (agents running, repository running, primary db running, all targets visible and reachable with EM)
    I try to create a physical standby database with the enterprise manager and each time the process is aborted with a SQL exception during the preparation of the job by the EM. I have added a part of the OMs log containing the error at the end of the excerpt.
    =============
    2010-04-29 16:00:39,856 [EMUI_16_00_39_/console/targets] WARN pref.SubtabPref getFolders.710 - Unknown folder id: VirtualServers retrieved from repository
    2010-04-29 16:01:04,765 [EMUI_16_01_04_/console/database/dataguard/create] ERROR em.dataguard validate.1329 - CreateBean: ClassNotFoundException: null
    2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone checkSetFileError.79 - DatabaseFileAttributes.checkSetFileError(): Null database file!
    2010-04-29 16:02:05,476 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone setControlfiles.160 - DatabaseFileAttributes.setDatafiles(): Invalid control file!
    2010-04-29 16:02:05,492 [EMUI_16_02_05_/console/database/dataguard/create] ERROR jobs.dbclone getControlFileNames.616 - DatabaseFileAttributes.getDatafileNames(): null datafile names!
    2010-04-29 16:02:32,823 [Thread-28] ERROR em.jobs remoteOp.2389 - DBVerify.remoteOp(): Error: max_stamp# 6071384
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3297 - DBCloneObject.submitJobPreparation(): getMaxLogSequenceNum: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitJobPreparation.3501 - DBCloneObject.submitJobPreparation(): Exception: java.lang.Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:32,823 [Thread-28] ERROR jobs.dbclone submitDBCloneJob.3716 - DBCloneObject.submitDBCloneJob(): Exception: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    2010-04-29 16:02:37,496 [EMUI_16_02_37_/console/database/dataguard/create] ERROR em.dataguard onEvent.1243 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: Während der Vorbereitung des Jobs ist eine SQL Exception aufgetreten. Um das Problem zu diagnostizieren, legen Sie das Agent Perl-Skript-Tracing auf DEBUG fest und wiederholen den Vorgang
    =========
    I have set the agent perl script tracing to DEBUG, but can't find any reason, why the job preparation failed.
    Has anyone an idea why the job cannot be prepared? Thanks in advance for investigation :-)

    gromit wrote:
    Is there a difference if:
    I install EM Version 10.2.0.1/10.2.0.2 -> upgrade it to 10.2.0.3 -> upgrade it to 10.2.0.5
    OR
    I install EM Version 10.2.0.1/10.2.0.2 and directly upgrade it to 10.2.0.5 ???Hi,
    Both are same. Result will be same. Finally you are reaching 10.2.0.5 version..
    But I would suggest to choose 2nd option.. i.e. install EM Version 10.2.0.1/10.2.0.2 and directly upgrade it to 10.2.0.5.
    Because it will save your time..
    Regards
    Rajesh

  • Error in Creation of Dataguard for RAC

    My pfile of RAC looks like:
    RACDB2.__large_pool_size=4194304
    RACDB1.__large_pool_size=4194304
    RACDB2.__shared_pool_size=92274688
    RACDB1.__shared_pool_size=92274688
    RACDB2.__streams_pool_size=0
    RACDB1.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/RACDB/adump'
    *.background_dump_dest='/u01/app/oracle/admin/RACDB/bdump'
    *.cluster_database_instances=2
    *.cluster_database=true
    *.compatible='10.2.0.1.0'
    *.control_files='+DATA/racdb/controlfile/current.260.627905745','+FLASH/racdb/controlfile/current.256.627905753'
    *.core_dump_dest='/u01/app/oracle/admin/RACDB/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='+DATA/RACDB','+DATADG/RACDG'
    *.db_name='RACDB'
    *.db_recovery_file_dest='+FLASH'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=RACDBXDB)'
    *.fal_client='RACDB'
    *.fal_server='RACDG'
    RACDB1.instance_number=1
    RACDB2.instance_number=2
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(RACDB,RACDG)'
    *.log_archive_dest_1='LOCATION=+FLASH/RACDB/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=RACDB'
    *.log_archive_dest_2='SERVICE=RACDG VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=RACDG'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='DEFER'
    *.log_archive_format='%t_%s_%r.arc'
    *.log_file_name_convert='+DATA/RACDB','+DATADG/RACDG'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_listener='LISTENERS_RACDB'
    *.remote_login_passwordfile='exclusive'
    *.service_names='RACDB'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    RACDB2.thread=2
    RACDB1.thread=1
    *.undo_management='AUTO'
    RACDB2.undo_tablespace='UNDOTBS2'
    RACDB1.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/app/oracle/admin/RACDB/udump'
    My pfile of Dataguard Instance in nomount state looks like:
    RACDG.__db_cache_size=58720256
    RACDG.__java_pool_size=4194304
    RACDG.__large_pool_size=4194304
    RACDG.__shared_pool_size=96468992
    RACDG.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/RACDG/adump'
    *.background_dump_dest='/u01/app/oracle/admin/RACDG/bdump'
    ##*.cluster_database_instances=2
    ##*.cluster_database=true
    *.compatible='10.2.0.1.0'
    ##*.control_files='+DATA/RACDG/controlfile/current.260.627905745','+FLASH/RACDG/controlfile/current.256.627905753'
    *.core_dump_dest='/u01/app/oracle/admin/RACDG/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='+DATADG'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='+DATADG/RACDG','+DATA/RACDB'
    *.db_name='RACDB'
    *.db_recovery_file_dest='+FLASHDG'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=RACDGXDB)'
    *.FAL_CLIENT='RACDG'
    *.FAL_SERVER='RACDB'
    *.job_queue_processes=10
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(RACDB,RACDG)'
    *.log_archive_dest_1='LOCATION=+FLASHDG/RACDG/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=RACDG'
    *.log_archive_dest_2='SERVICE=RACDB VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=RACDB'
    *.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
    *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
    *.log_archive_format='%t_%s_%r.arc'
    *.log_file_name_convert='+DATADG/RACDG','+DATA/RACDB'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    ##*.remote_listener='LISTENERS_RACDG'
    *.remote_login_passwordfile='exclusive'
    SERVICE_NAMES='RACDG'
    sga_target=167772160
    standby_file_management='auto'
    undo_management='AUTO'
    undo_tablespace='UNDOTBS1'
    user_dump_dest='/u01/app/oracle/admin/RACDG/udump'
    DB_UNIQUE_NAME=RACDG
    and here is what I am doing on the standby location:
    [oracle@dg01 ~]$ echo $ORACLE_SID
    RACDG
    [oracle@dg01 ~]$ rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jul 17 21:19:21 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect auxiliary /
    connected to auxiliary database: RACDG (not mounted)
    RMAN> connect target sys/xxxxxxx@RACDB
    connected to target database: RACDB (DBID=625522512)
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 2007-07-17 22:27:08
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=156 devtype=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    Starting restore at 2007-07-17 22:27:10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /software/backup/ctl4.ctl
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/software/backup/ctl4.ctl tag=TAG20070717T201921
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:23
    output filename=+DATADG/racdg/controlfile/current.275.628208075
    output filename=+FLASHDG/racdg/controlfile/backup.268.628208079
    Finished restore at 2007-07-17 22:27:34
    sql statement: alter database mount standby database
    released channel: ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/17/2007 22:27:43
    RMAN-05501: aborting duplication of target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs2.265.627906771 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/example.264.627905917 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/users.259.627905395 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/sysaux.257.627905385 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs1.258.627905395 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/system.256.627905375 conflicts with a file used by the target database
    RMAN>
    Any help to clear this error will be apprecited.......
    Message was edited by:
    Bal
    null

    Hi
    Thanks everybody for helping me on this issue...........
    As suggested, I had taken the parameter log_file_name_convert and db_file_name_convert out of my RAC primary database but still I am getting the same error.
    Any help will be appriciated..............
    SQL> show parameter convert
    NAME TYPE VALUE
    db_file_name_convert string
    log_file_name_convert string
    SQL>
    oracle@dg01<3>:/u01/app/oracle> rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 18 17:07:49 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect auxiliary /
    connected to auxiliary database: RACDB (not mounted)
    RMAN> connect target sys/xxx@RACDB
    connected to target database: RACDB (DBID=625522512)
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 2007-07-18 17:10:53
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=156 devtype=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    Starting restore at 2007-07-18 17:10:54
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /software/backup/ctl5.ctr
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/software/backup/ctl5.ctr tag=TAG20070718T170529
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:33
    output filename=+DATADG/racdg/controlfile/current.275.628208075
    output filename=+FLASHDG/racdg/controlfile/backup.268.628208079
    Finished restore at 2007-07-18 17:11:31
    sql statement: alter database mount standby database
    released channel: ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/18/2007 17:11:43
    RMAN-05501: aborting duplication of target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs2.265.627906771 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/example.264.627905917 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/users.259.627905395 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/sysaux.257.627905385 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs1.258.627905395 conflicts with a file used by the target database
    RMAN-05001: auxiliary filename +DATA/racdb/datafile/system.256.627905375 conflicts with a file used by the target database                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Configuring Active Dataguard- Error comes while taking rman backup

    Hi All,
    I'm following this( http://wiki.oracle.com/page/11gR2+Data+Guard+Setup+project+Part5 ) article to configure a active dataguard. And i have successfully completed lot of steps up to now.
    But im getting an error when i'm trying to complete the step 10 under chapter 5 (creating stand by)
    step 10
    10- OK, here we go, log into RMAN and run the following script. This script will create the standby database
    At the command prompt type in rman
    when rman launches connect to the target and auxiliary databases
    connect target sys/michael@MS112DGP
    connect auxiliary sys/michael@MS112DGS
    here is my one... my primary db is called as dgp and my stand by is dgs
    this is the error im getting... :(
    [oracle@dgs ~]$ rman
    Recovery Manager: Release 11.2.0.1.0 - Production on Sat Apr 23 09:54:40 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN> connect target sys/oracle@dgp
    connected to target database: DGP (DBID=1555810211)
    RMAN> connect auxiliary sys/oracle@dgs
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    RMAN>
    can anybody please help me to sort this out. once i solved this i can complete my first dataguard :)
    Thanks in advance
    Max

    Hello Sb,
    [oracle@dgs admin]$ lsnrctl stop
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-APR-2011 21:28:02
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    The command completed successfully
    [oracle@dgs admin]$ mv listener.ora listener.ora_bkp
    [oracle@dgs admin]$ ll
    total 16
    -rw-r--r-- 1 oracle oinstall 471 Apr 17 09:25 listener.ora_bkp
    drwxr-xr-x 2 oracle oinstall 4096 Apr 15 14:18 samples
    -rw-r--r-- 1 oracle oinstall 187 May 9 2007 shrept.lst
    -rw-r--r-- 1 oracle oinstall 506 Apr 17 09:07 tnsnames.ora
    [oracle@dgs admin]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-APR-2011 21:28:26
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Log messages written to /u01/app/oracle/diag/tnslsnr/dgs/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dgs.oracle.com)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 23-APR-2011 21:28:26
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File /u01/app/oracle/diag/tnslsnr/dgs/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dgs.oracle.com)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [oracle@dgs admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-APR-2011 21:28:37
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 23-APR-2011 21:28:26
    Uptime 0 days 0 hr. 0 min. 10 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File /u01/app/oracle/diag/tnslsnr/dgs/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dgs.oracle.com)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [oracle@dgs admin]$
    Thanks,
    Max

  • Error when starting dataguard

    Hello. I set up a new dataguard and am receiving errors when I try to start it on my primary. I looked at support note 172779.1 and it says the DB_UNIQUE_NAME needs to match from the log_archive_dest_2 to the db_unique_name of the standby. I think it looks okay but I'm missing something.
    10.2.0.5 on Linux RH 5
    On primary -
    log_archive_dest_1 string location=USE_DB_RECOVERY_FILE_
    DEST valid_for=(ALL_LOGFILES,A
    LL_ROLES) DB_UNIQUE_NAME=bcso
    log_archive_dest_2 string SERVICE=BCSTDBY_40 reopen=60 V
    ALID_FOR=(ONLINE_LOGFILES,PRIM
    ARY_ROLE) DB_UNIQUE_NAME=stdby
    From standby
    SQL> show parameter db_name
    NAME TYPE VALUE
    db_name string bcso
    SQL> show parameter db_uniq
    NAME TYPE VALUE
    db_unique_name string stdby
    error on primary
    ORA-16047: DGID mismatch between destination setting and standby
    Wed Mar 20 16:32:49 GMT 2013
    PING[ARC1]: Heartbeat failed to connect to standby 'BCSTDBY_40'. Error is 16047.
    Wed Mar 20 16:33:20 GMT 2013
    Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
    tnsping BCSTDBY_40
    TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 20-MAR-2013 16:50:26
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0_64/Db_1/network/admin/sqlnet.ora
    From primary -
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.40)(PORT = 1611)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = stdby)))
    OK (0 msec)
    From stdby
    tnsping BCSTDBY_39
    TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 20-MAR-2013 16:52:45
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0_64/Db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.39)(PORT = 1611)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = bcso)))
    OK (0 msec)
    Edited by: 990192 on Mar 20, 2013 9:55 AM

    I assume you wanted the spfile contents :) Thanks for helping.
    *.AUDIT_SYS_OPERATIONS=TRUE
    *.audit_trail='NONE'
    *.background_dump_dest='/u01/app/oracle/admin/bcso/bdump'
    *.compatible='10.2.0.5.0'
    *.control_files='/u01/app/oracle/oradata/bcso/control01.ctl','/u02/oradata/bcso/control02.ctl','/u03/oradata/bcso/control03.ctl'#Restore Controlfile
    *.core_dump_dest='/u01/app/oracle/admin/bcso/cdump'
    *.db_16k_cache_size=314572800
    *.db_2k_cache_size=16777216
    *.db_4k_cache_size=16777216
    *.db_block_size=8192
    *.db_cache_size=1258291200
    *.db_domain='world'
    *.db_file_multiblock_read_count=16
    *.db_name='bcso'
    *.db_recovery_file_dest='/u04/flash_recovery_area'
    *.db_recovery_file_dest_size=375809638400
    *.db_unique_name='stdby'
    *.db_writer_processes=3
    *.fal_client='stdby'
    *.fal_server='bcso'
    *.filesystemio_options='setall'
    *.GLOBAL_NAMES=TRUE
    *.job_queue_processes=0
    *.log_archive_config='DG_CONFIG=(bcsst,stdby)'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stdby'
    *.log_archive_dest_2='SERVICE=BCSTDBY_39 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=bcso'
    *.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
    *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
    *.LOG_ARCHIVE_FORMAT='log%t_%s_%r.arc'
    *.open_cursors=300
    *.os_authent_prefix='BCS3USR$'
    *.parallel_execution_message_size=65535
    *.pga_aggregate_target=1500M
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.RESOURCE_LIMIT=TRUE
    *.sga_target=2000M
    *.SQL92_SECURITY=TRUE
    *.standby_file_management='auto'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBLS1'
    *.user_dump_dest='/u01/app/oracle/admin/bcso/udump'
    *.AUDIT_SYS_OPERATIONS=TRUE
    *.audit_trail='db'
    *.background_dump_dest='/u01/app/oracle/admin/bcso/bdump'
    *.compatible='10.2.0.5.0'
    *.control_files='/u01/app/oracle/oradata/bcso/control01.ctl','/u02/oradata/bcso/control02.ctl','/u03/oradata/bcso/control03.ctl'
    *.core_dump_dest='/u01/app/oracle/admin/bcso/cdump'
    *.db_16k_cache_size=335544320
    *.db_2k_cache_size=16777216
    *.db_4k_cache_size=16777216
    *.db_block_size=8192
    *.db_cache_size=4G
    *.db_domain='world'
    *.db_file_multiblock_read_count=16
    *.db_name='bcso'
    *.db_recovery_file_dest='/u04/flash_recovery_area'
    *.db_recovery_file_dest_size=536870912000
    *.db_unique_name='BCSO'
    *.db_writer_processes=3
    *.dbwr_io_slaves=1
    *.fal_client='BCSO'
    *.fal_server='STDBY'
    *.filesystemio_options='SETALL'
    *.GLOBAL_NAMES=FALSE
    *.job_queue_processes=20
    *.log_archive_config='DG_CONFIG=(bcso,stdby)'
    *.log_archive_dest_1='location=USE_DB_RECOVERY_FILE_DEST valid_for=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=bcso'
    *.log_archive_dest_2='SERVICE=BCSTDBY_40 reopen=60 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=4
    *.open_cursors=300
    *.os_authent_prefix='BCS3USR$'
    *.parallel_max_servers=100
    *.pga_aggregate_target=3336568832
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.RESOURCE_LIMIT=TRUE
    *.session_max_open_files=20
    *.sga_max_size=9663676416
    *.sga_target=10737418240
    *.SQL92_SECURITY=TRUE
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS2'
    *.user_dump_dest='/u01/app/oracle/admin/bcso/udump'

  • Dataguard Error in v$archive_dest_status

    Hi to all,
    Both primary and standby servers are on lunux redhat : same version of OS
    - Primary DB : 10.2.0.1
    - Standby DB : 10.2.0.3
    - Host Name of Primary DB : arcdb01.es.egwn.lan
    - Host Name of Standby DB : x06.d15.lan
    I m trying to setup oracle dataguard for 10G ; both primary and standby databases are in 10GR2.
    Configuring Oracle DataGuard using SQL commands - Creating a physical standby database ; I can't get the log files or Archive logs on my StandBy db.
    Checking v$archive_dest_status view on PRIMARY DB, I found the error below :
    FROM PRIMARY DB :
    I getting an error Oracle not available
    SELECT * FROM v$archive_dest_status
    DEST_ID     2
    DEST_NAME     LOG_ARCHIVE_DEST_2*
    STATUS     ERROR
    TYPE     PHYSICAL
    DATABASE_MODE     UNKNOWN
    RECOVERY_MODE     UNKNOWN
    PROTECTION_MODE     MAXIMUM PERFORMANCE
    DESTINATION     X06.D15.LAN*
    STANDBY_LOGFILE_COUNT     0
    STANDBY_LOGFILE_ACTIVE     0
    ARCHIVED_THREAD#     0
    ARCHIVED_SEQ#     0
    APPLIED_THREAD#     0
    APPLIED_SEQ#     0
    ERROR     ORA-01034: ORACLE not available*
    SRL     NO
    DB_UNIQUE_NAME     STANDBY
    SYNCHRONIZATION_STATUS     CHECK CONFIGURATION
    SYNCHRONIZED     NO
    SQL>  show parameter log_archive_dest
    NAME                                 TYPE        VALUE
    log_archive_dest                     string
    log_archive_dest_1                   string      location=/u01/app/oracle/flash
    recoveryarea/ARCDB01/archive+
    log/
    log_archive_dest_10                  string
    log_archive_dest_2                   string      Service=X06.D15.LAN LGWR ASYNC
    VALID_FOR=(ONLINE_LOGFILES,P
    RIMARY_ROLE)
    DB_UNIQUE_NAME=STANDBY
    log_archive_dest_3                   string
    NAME                                 TYPE        VALUE
    log_archive_dest_4                   string
    log_archive_dest_5                   string
    log_archive_dest_6                   string
    log_archive_dest_7                   string
    log_archive_dest_8                   string
    log_archive_dest_9                   string
    log_archive_dest_state_1             string      enable
    log_archive_dest_state_10            string      enable
    log_archive_dest_state_2             string      ENABLE
    log_archive_dest_state_3             string      enable
    log_archive_dest_state_4             string      enable
    NAME                                 TYPE        VALUE
    log_archive_dest_state_5             string      enable
    log_archive_dest_state_6             string      enable
    log_archive_dest_state_7             string      enable
    log_archive_dest_state_8             string      enable
    log_archive_dest_state_9             string      enable
    SQL>
    FROm STANDBY DB :
    +[oracle@x06 bdump]$ sqlplus /nolog+
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 25 17:54:53 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL>
    SQL>
    SQL> show parameter log_archive_dest
    NAME                                 TYPE        VALUE
    log_archive_dest                     string
    log_archive_dest_1                   string      location=/u01/app/oracle/flash
    recoveryarea/X06/archivelog/+
    log_archive_dest_10                  string
    log_archive_dest_2                   string
    log_archive_dest_3                   string
    log_archive_dest_4                   string
    log_archive_dest_5                   string
    log_archive_dest_6                   string
    log_archive_dest_7                   string
    log_archive_dest_8                   string
    NAME                                 TYPE        VALUE
    log_archive_dest_9                   string
    log_archive_dest_state_1             string      enable
    log_archive_dest_state_10            string      enable
    log_archive_dest_state_2             string      ENABLE
    log_archive_dest_state_3             string      enable
    log_archive_dest_state_4             string      enable
    log_archive_dest_state_5             string      enable
    log_archive_dest_state_6             string      enable
    log_archive_dest_state_7             string      enable
    log_archive_dest_state_8             string      enable
    log_archive_dest_state_9             string      enable
    SQL>
    TNSPING of STANDBY DB from PRIMARY DB :
    [oracle@arcdb01 ~]$ tnsping x06.d15.lan
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 26-MAR-2010 15:33:12
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/oracle/product/10.2.0/ARCDB01/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = X06.D15.LAN)(PORT = 1521))) (CONNECT_DATA = (SID = ARCDB01) (SERVER = DEDICATED)))
    OK (0 msec)
    [oracle@arcdb01 ~]$
    TNSPING Of Primary DB from Standby DB :
    [oracle@x06 bdump]$ tnsping ARCDB01.ES.EGWN.LAN
    TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 26-MAR-2010 15:34:05
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/oracle/product/10.2.0/X06/oracle/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ARCDB01.ES.EGWN.LAN)(PORT = 1521))) (CONNECT_DATA = (SID = ARCDB01) (SERVER = DEDICATED)))
    OK (20 msec)
    [oracle@x06 bdump]$
    Listener status of Standby DB :
    +[oracle@x06 bdump]$ lsnrctl status+
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 26-MAR-2010 15:34:46
    Copyright (c) 1991, 2006, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Start Date                25-MAR-2010 16:14:39
    Uptime                    0 days 23 hr. 20 min. 6 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/oracle/product/10.2.0/X06/oracle/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/oracle/product/10.2.0/X06/oracle/network/log/listener.log
    Listening Endpoints Summary...
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))+
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=x06.d15.lan)(PORT=1521)))+
    Services Summary...
    Service "ARCDB01" has 1 instance(s).
    Instance "ARCDB01", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "STANDBY" has 1 instance(s).
    Instance "X06", status READY, has 1 handler(s) for this service...
    Service "STANDBY_XPT" has 1 instance(s).
    Instance "X06", status READY, has 1 handler(s) for this service...
    The command completed successfully
    +[oracle@x06 bdump]$+
    Listener status of Primary DB :
    +[oracle@arcdb01 ~]$ lsnrctl status+
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-MAR-2010 15:35:28
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                05-FEB-2009 16:34:51
    Uptime                    413 days 23 hr. 0 min. 36 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/oracle/product/10.2.0/ARCDB01/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/oracle/product/10.2.0/ARCDB01/network/log/listener.log
    Listening Endpoints Summary...
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))+
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=arcdb01.es.egwn.lan)(PORT=1521)))+
    Services Summary...
    Service "ARCDB01.ES.EGWN.LAN" has 1 instance(s).
    Instance "ARCDB01", status UNKNOWN, has 1 handler(s) for this service...
    Service "ARCDB01XDB" has 1 instance(s).
    Instance "ARCDB01", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PRIMARY" has 1 instance(s).
    Instance "ARCDB01", status READY, has 1 handler(s) for this service...
    Service "PRIMARY_XPT" has 1 instance(s).
    Instance "ARCDB01", status READY, has 1 handler(s) for this service...
    The command completed successfully
    +[oracle@arcdb01 ~]$+
    Pfile of Primary DB :
    ARCDB01.__db_cache_size=301989888
    ARCDB01.__java_pool_size=4194304
    ARCDB01.__large_pool_size=4194304
    ARCDB01.__shared_pool_size=96468992
    ARCDB01.__streams_pool_size=4194304
    *.audit_file_dest='/u01/app/oracle/admin/ARCDB01/adump'
    *.background_dump_dest='/u01/app/oracle/admin/ARCDB01/bdump'
    *.compatible='10.2.0.1.0'
    *.control_file_record_keep_time=8
    *.control_files='/u01/app/oracle/oradata/ARCDB01/control01.ctl','/u01/app/oracle/oradata/ARCDB01/control02.ctl','/u01/app/oracle/oradata/ARCDB01/control03.ctl'
    *.core_dump_dest='/u01/app/oracle/admin/ARCDB01/cdump'
    *.db_block_checking='TRUE'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='ARCDB01'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.db_unique_name='PRIMARY'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=ARCDB01XDB)'
    *.job_queue_processes=10
    *.log_archive_dest_1='location=/u01/app/oracle/flash_recovery_area/ARCDB01/archivelog/'
    *.log_archive_format='%s_arc_ln%r_db%d_%t.arc'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=200
    *.remote_login_passwordfile='SHARED'
    *.sessions=205
    *.sga_max_size=419430400
    *.sga_target=419430400
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/app/oracle/admin/ARCDB01/udump'
    *.utl_file_dir='/home/oracle/my_logminer'
    *.log_archive_dest_2='Service=X06.D15.LAN LGWR ASYNC
    VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
    DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_state_2=ENABLE
    *.Standby_File_Management='AUTO'
    Pfile of Standby DB :
    ARCDB01.__db_cache_size=301989888
    ARCDB01.__java_pool_size=4194304
    ARCDB01.__large_pool_size=4194304
    ARCDB01.__shared_pool_size=96468992
    ARCDB01.__streams_pool_size=4194304
    *.audit_file_dest='/u01/app/oracle/admin/X06/adump'
    *.background_dump_dest='/u01/app/oracle/admin/X06/bdump'
    *.compatible='10.2.0.1.0'
    *.control_file_record_keep_time=8
    *.control_files='/home/oracle/dbf/standby.ctl'
    *.core_dump_dest='/u01/app/oracle/admin/X06/cdump'
    *.db_block_checking='TRUE'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='ARCDB01'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.db_unique_name='STANDBY'
    *.job_queue_processes=10
    *.log_archive_dest_1='location=/u01/app/oracle/flash_recovery_area/X06/archivelog/'
    *.log_archive_format='%s_arc_ln%r_db%d_%t.arc'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=200
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sessions=205
    *.sga_max_size=419430400
    *.sga_target=419430400
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/app/oracle/admin/X06/udump'
    *.standby_archive_dest=/home/oracle/dbf/arch
    *.db_file_name_convert='/u01/app/oracle/oradata/ARCDB01','/home/oracle/dbf','/home/oracle/oradata','/home/oracle/dbf'
    *.log_file_name_convert='/u01/app/oracle/oradata/ARCDB01','/home/oracle/dbf','/home/oracle/oradata','/home/oracle/dbf'
    *.standby_file_management=auto
    *.FAL_Client='ARCDB01.ES.EGWN.LAN'
    *.FAL_Server='X06.D15.LAN'
    *.log_archive_dest_2=''
    *.Log_archive_dest_state_2=ENABLE
    *.remote_login_passwordfile='SHARED'
    Any idea Please?
    Thanks,

    Ok Thanks ,
    Strange I didn't find any document asking to put both Primary and Standby DB at the same version even they are both 10GR2!
    do you have any document about this ?
    Then, I will try to patch the primary server to 10.2.0.3
    Hope it fix the problem;

  • Dataguard standby DB error

    Hi,
    Version is 10.2.0.3 on Linux x86_64. I have a test environment where i have setup a dataguard in MAX AVAILABILITY mode. It has only a single standby database. It was working as expected but recently i have shutdown immediate the primary database with out cancelling the MRP and shutting down the Standby database before. Now, i was able to bring up the primary database but my standby database throws these errors in the alert log .....
    RFS[600]: No standby redo logfiles of size 309600 blocks available
    RFS[600]: No standby redo logfiles selected (reason:7)
    Tue May 20 18:12:45 2008
    Errors in file /opt/oracle/admin/testdb/udump/testdb_rfs_3456.trc:
    ORA-16086: standby database does not contain available standby log files
    The primary database alert log shows the following error...
    ORA-16086: standby database does not contain available standby log files
    Wed May 21 13:42:34 2008
    LGWR: Failed to archive log 1 thread 1 sequence 456
    Thread 1 advanced to log sequence 457
    I researched a bit on metalink but all i could find was to "add more standby redo log files". I have STANDBY_FILE_MANAGEMENT set to AUTO.
    Can anyone suggest me how to go about this one
    Thanks in advance.
    Harris.

    Hi,
    I can't think of any reason why your standby logs would have vanished. I suspect that if you scan up through your alert log to the last time the standby was restarted you will see the same errors (i.e. I think they have always been missing).
    The standby redo logs are used by dataguard when its configured in lgrw mode rather than arch. There's a good explanation of the differences between the two modes here:
    http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardRedoShipping.htm
    To add some standby redo logs, take your standby out of managed recovery:
    alter database recover managed standby database cancel;
    Then add the logs using the following command:
    alter database add standby logfile group <number> ('<filename>') size <size>;
    It's also worth adding identical logs to the primary database, in case you need to switch-over.
    Cheers,
    Andy Barry
    http://www.shutdownabort.com

Maybe you are looking for

  • Laptop crashed, moved HDD to another PC to use CS5 but it gives me a Configuration Error. Error:6

    Hi, My laptop containing Adobe CS5 recently crashed. I do not have the serial as this was activated at my school and they only do it once for everyone. What I did was to take the HDD out and put it onto my PC and try to use the application from there

  • Export Project to loop on DVD Player

    Hi, Can anyone help me. I need to know a simple way to export/save a project onto DVD which will play on any standard player and loop ? Help Hillster

  • Create spool file

    hi @all, I search a way to create a spool file in a htmldb application (intranet) which writes a xls.file on a default place of the client filesystem. I dont't know whether it works with pl/sql or javascript. any ideas?

  • Re: Filing a complaint online with the FCC - data plans, no GPS, etc

    You are absolutely right they are not going to help me, I had service with this company for almost 6 years and come to find my Fios was still running after I turned it off and paid fees for early termination (someone else using the remainder of my pl

  • Accordion inside accordion?

    I would like to use an accordion; with another accordion located on the third tab within the first accordion. Is this possible? Flash would not let me import the second into the first and Dreamweaver does not offer the option either. I am using CS3 f