My Oracle Support Banner

EM 13.5C:Post Upgrade Task of Agent is not Deleting Completely the Old Agent Home on Windows (Doc ID 2864428.1)

Last updated on MAY 25, 2022

Applies to:

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

Symptoms

Post agent task completed successfully but didn’t remove the directory
Agent cleanup step job shows below message on EM console

CLEANUPUPGRADE_2022_<TIME_STAMP>
=============================

<AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com\oracle\jre\org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002\1.8.0\ org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002-1.8.0.location
Current base directory is <AGENT_HOME> and the old base directory is <AGENT_HOME>The command is <AGENT_HOME>\agent_inst\bin\emctl listplugins agent -type all
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com\oracle\jre\org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002\1.8.0: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com\oracle\jre\org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com\oracle\jre\org.eclipse.equinox.simpleconfigurator.manipulator.nl_zh_4.4.0.v20140623020002\1.8.0: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com\oracle\jre\org.eclipse.equinox.simpleconfigurator.manipulator.nl_zh_4.4.0.v20140623020002: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com\oracle\jre: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com\oracle: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven\com: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins\maven: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common\plugins: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0\oracle_common: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.
cannot remove directory for <AGENT_HOME>\agent_13.4.0.0.0: Directory not empty at <AGENT_HOME>\agent_13.5.0.0.0/sysman/install/AgentCleanup.pl line 467.



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.