OracleAS AS Guard Switchover Fails - "ASG_SYSTEM-100: Unable to resync the instance using dcmctl"

(Doc ID 343883.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

Oracle Fusion Middleware - Version: 10.1.2.0.2 to 10.1.2.3.0 - Release: AS10gR2 to AS10gR2
Oracle Fusion Middleware High Availability - Version: 10.1.2.0.2 to 10.1.2.3.0   [Release: AS10gR2 to AS10gR2]
z*OBSOLETE: Microsoft Windows Server 2003
z*OBSOLETE: Microsoft Windows 2000
Oracle Application Server 10g Enterprise Edition - Version: 10.1.2.0.2 to 10.1.2.3.0
Microsoft Windows 2000Microsoft Windows Server 2003
Checked for relevance on 03-APR-2009

Symptoms

An attempt to perform an AS Guard 'switchover' fails for a middle tier

The AS Guard error stack is:

Executing restore_config -F DCM-resyncforce option in bkp_restore.pl script
Server1: -->ASG_IAS-15701: Failed to restore configuration with the DCM-resync
force option for instance "myinstance.com"
%ORACLE_HOME%\opmn\bin\opmnctl stopal: -->ASG_IAS-15690: Error running the restore script
Server1: -->ASG_DUF-4040: Error executing the external program or script. The error code is "255"
Server1: -->ASG_SYSTEM-100: Copyright (c) 2004, 2005, Oracle. All rights reserved.
Server1: -->ASG_SYSTEM-100:
Server1: -->ASG_SYSTEM-100: Resynchronizing instance with DCM repository ...
Server1: -->ASG_SYSTEM-100: Problem running command (Returned 1)
Server1: -->ASG_SYSTEM-100: d:\oracle\product\as10r/dcm/bin/dcmctl.bat resyncinstance -script -force
Server1: -->ASG_SYSTEM-100: Unable to resync the instance using dcmctl !!!
Server1: -->ASG_SYSTEM-100: Failure: restore_config failed
Server1: -->ASG_SYSTEM-100: See %ORACLE_HOME%\dsa\backup\log/2005-12-05_13-40-32_restore_config.log for more info.
Server1:7890 (home %ORACLE_HOME%)
Executing opmnctl startall command


The effected middle tier shows this DCM error stack in the ORACLE_HOME\dcm\logs\daemon_loG\log.xml file
 
<MSG_TEXT>Exception while Oc4j instance configuration handling.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.sysman.emSDK.conf.TargetListException: Unable to acquire lock on
file: The system cannot find the path specified
at oracle.sysman.emSDK.conf.TargetInstaller.listTargets(TargetInstaller.java:1950)
at oracle.sysman.emSDK.conf.TargetInstaller.listTargets(TargetInstaller.java:1931)
at oracle.ias.sysmgmt.externalintegration.oem.TargetsXMLIntegration.getOC4JInstance(Unknown Source)
at oracle.ias.sysmgmt.externalintegration.oem.TargetsXMLIntegration.instantiateOC4JInstance(Unknown Source)
at oracle.ias.sysmgmt.configsvc.Oc4jCreateNewInstanceConfigurationHandlerImpl.updateExternalComponentRegistry(Unknown Source)
at oracle.ias.sysmgmt.configsvc.Oc4jCreateNewInstanceConfigurationHandlerImpl.execute(Unknown Source)
at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.execute(Unknown Source)
at oracle.ias.sysmgmt.task.ConfigAdapter.execute(Unknown Source)
at oracle.ias.sysmgmt.task.ConfigAdapter.execute(Unknown Source)
at oracle.ias.sysmgmt.task.ClusterManagementAdapter.resync(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.internal_resync(Unknown Source)


After the failure, the output from running the command

dcmctl getstate

shows all components out of sync. (FALSE:COMPONENT for OC4J)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms