Target Relocation Fails if collections folder is missing on Destination Server (Doc ID 2188203.1)

Last updated on SEPTEMBER 29, 2016

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

Relocating target database from one Agen to other is failing with the error below
$emcli relocate_targets -src_agent=agent1:3872 -dest_agent=agent2:3872 -target_name=DB -target_type=oracle_database -copy_from_src -force=yes
Errors from relocating targets from agent1:3872 to agent2:3872
Error getting collection details for DB:oracle_database - *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0, Check log files for details: <EM INST BASE>/gc_inst/em/EMGC_OMS2/sysman/log/emoms.log,<EM INST BASE>/gc_inst/em/EMGC_OMS2/sysman/log/emoms.trc,

Error below is logged in emoms.trc file

2016-06-08 18:48:27,422 [EMUI_18_48_23_/console/cli] ERROR em.relocateTarget handleCollectionSaveException.2257 - Error relocating collection details for target DB:oracle_database while relocating from agent1:3872 to agent2:3872 with error *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0 *::0
2016-06-08 18:48:27,495 [EMUI_18_48_23_/console/cli] ERROR em.relocateTarget relocationFlow.778 - relocationFlow: moveCollections has failed during target relocation

 


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