EM 12c, EM 13c: Enterprise Manager Cloud Control Shows: Agent Blocked - Resync Failed 'TMEchangeException while testing target availability' 'exitCode is 65280' 'Permission denied' (Doc ID 1951397.1)

Last updated on DECEMBER 02, 2015

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

The Cloud Control agent remains blocked even after resync succeeded

RESYNC_20141103160609 job summary

            resyncState_dcn1pwax236-mgmt3872  
            resyncState: IN executeCommand
            resyncState: validated parameters
            Starting resync RESYNC_20141103160609 for agent <AGENT_URL>:3872
            Getting list of all the Targets to remove from the the agent - <AGENT_URL>:3872
            Removing 2 targets from the agent
            Removing list of plugins from the agent
            Getting list of all the Targets from the repository for the agent -<AGENT_URL>:3872
            Pushing list of plugins to the agent
            Promoting list of targets to the agent
            Re-deploying Metric Extensions to the targets
            Saving target collections to the agent
            Cleaning state on the agent
            size of repos blackout list is 0
            Retrieving java callbacks from em_gcha_callbacks table
            Pdp settings syncronized successfully
            resyncState: resync of agent succeeded!

/AGENT_INST/install/logs/agentplugindeploy_76.log reports the following error

The attachhome /u01/app/oracle/product/em12cr2p1/agent/core/12.1.0.2.0/oui/bin/runInstaller  -attachHome -silent -waitforcompletion -invPtrLoc /u01/app/oracle/product/em12cr2p1/agent/core/12.1.0.2.0/oraInst.loc ORACLE_HOME=/u01/app/oracle/product/em12cr2p1/agent/core/12.1.0.2.0/../../plugins/oracle.sysman.xa.discovery.plugin_12.1.0.3.0 ORACLE_HOME_NAME=oracle_sysman_xa_12_1_0_3_0_discovery_Home5 "HOME_DEPENDENCY_LIST={/u01/app/oracle/product/em12cr2p1/agent/core/12.1.0.2.0/../../plugins/oracle.sysman.xa.discovery.plugin_12.1.0.3.0:/u01/app/oracle/product/em12cr2p1/agent/core/12.1.0.2.0}"  -force -ignoreSysPrereqs   failed : trying for 6 time  return value is : 65280
Could not attach the home for oracle.sysman.xa of 12.1.0.3.0 versionReleased the lock for oracle.sysman.xa
    
>>Exit code 65280   

/AGENT_INST/install/logs/agentplugindeploy_76.log.err reports the following error

You do not have sufficient permissions to access the inventory '/opt/oracle/oraInventory/locks'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
You do not have sufficient permissions to access the inventory '/opt/oracle/oraInventory/locks'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied

OR

/AGENT_INST/install/logs/agentplugindeploy_546.log.err reports following error

Error in CreateOUIProcess(): 13 : Permission denied
Error in CreateOUIProcess(): 13 : Permission denied

OR

/AGENT_INST/install/logs/agentplugindeploy_110.log.err

You do not have sufficient permissions to access the inventory '/u01/app/oraInventory/oraInstaller.properties'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
You do not have sufficient permissions to access the inventory '/u01/app/oraInventory/oraInstaller.properties'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied

OR

/tmp folder may be almost 100% full

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