The process is quite straightforward just by invoking the AgentDeinstall.pl script located under:
$AGENT_HOME/sysman/install/AgentDeinstall.pl
[oracle@DB1 ~]$/u01/app/oracle/product/Agent13c/agent_13.2.0.0.0/perl/bin/perl /u01/app/oracle/product/Agent13c/agent_13.2.0.0.0/sysman/install/AgentDeinstall.pl -agentHome /u01/app/oracle/product/Agent13c/agent_13.2.0.0.0
Agent Oracle Home: /u01/app/oracle/product/Agent13c/agent_13.2.0.0.0
agentHome = /u01/app/oracle/product/Agent13c/agent_13.2.0.0.0
Agent installed in config modevalue of skip flag is false
NOTE: The agent base directory: /u01/app/oracle/product/Agent13c will be removed after successful deinstallation of agent home.
The command is /u01/app/oracle/product/Agent13c/agent_13.2.0.0.0/oracle_common/jdk/jre/bin/java -classpath /u01/app/oracle/product/Agent13c/agent_13.2.0.0.0/oui/modules/OraInstaller.jar:/u01/app/oracle/product/Agent13c/agent_13.2.0.0.0/oui/modules/emCfg.jar:/u01/app/oracle/product/Agent13c/agent_13.2.0.0.0/jlib/agentInstaller.jar oracle.sysman.agent.installer.AgentDeinstallation /u01/app/oracle/product/Agent13c/agent_13.2.0.0.0 /u01/app/oracle/product/Agent13c /u01/app/oracle/product/Agent13c/agent_inst
Apr 17, 2018 12:37:52 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Oracle Enterprise Manager Cloud Control 13c Release 2
Apr 17, 2018 12:37:52 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
Apr 17, 2018 12:37:59 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Agent is Not Running
Apr 17, 2018 12:37:59 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Plugin homes:
Apr 17, 2018 12:37:59 PM oracle.sysman.agent.installer.AgentInstaller$StreamGobbler run
INFO: Plugin homes:
Apr 17, 2018 12:37:59 PM oracle.sysman.agent.installer.AgentDeinstallation main
INFO: Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
The output is Agent Deinstall:agent deintall has been started
Executing status :0
Agent service stopped successfully.
and the exit code is 0
Agent deconfiguration completed successfully. 0
DetachHome Command executed:/u01/app/oracle/product/Agent13c/agent_13.2.0.0.0/oui/bin/detachHome.sh -silent ORACLE_HOME=/u01/app/oracle/product/Agent13c/agent_13.2.0.0.0
WARNING: Ignoring ORACLE_HOME=<value> on the command line (cannot override the Oracle Home to be detached)
Launcher log file is /tmp/OraInstall2018-04-17_12-38-03PM/launcher2018-04-17_12-38-03PM.log.
Starting Oracle Universal Installer
Checking swap space: must be greater than 500 MB. Actual 5983 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
'detachHome' was successful.
Logs successfully copied to /u01/app/oraInventory/logs.
Removing other files ...
NOTE: The targets monitored by this Management Agent will not be deleted in the Enterprise Manager Repository by this deinstall script. Make sure to delete the targets manually from the Cloud Control Console for a successful deinstallation.
[oracle@DB1 ~]$
No comments:
Post a Comment