Total Pageviews

Monday 23 March 2015

Deinstalling Oracle EM 12C Agents

1. Check the Agent home 

You can find the agent home from the  inventory.xml . To check inventory.xml check under central inventory .


On Unix/Linux, the location of the oraInventory is defined by the content of oraInst.loc, at:

– /var/opt/oracle/oraInst.loc on Solaris, HP-UX and Tru64
– /etc/oraInst.loc on Linux and AIX

cat /u01/app/oraInventroy/ContentXML/inventory.xml  and you can see the value of oracle_home where agent is installed . In our case location is "/u03/agent_12c/core/12.1.0.2.0"

Step2 : cd to the perl directory and execute AgentDeinstall.pl :


cd /u03/agent_12c/core/12.1.0.2.0/perl/bin/


./perl /u03/agent_12c/core/12.1.0.2.0/sysman/install/AgentDeinstall.pl -agentHome /u03/agent_12c/core/12.1.0.2.0

Agent Oracle Home: /u03/agent_12c/core/12.1.0.2.0

NOTE: The agent base directory: /u03/agent_12c will be removed after successful deinstallation of agent home.



DetachHome Command executed:/u03/agent_12c/core/12.1.0.2.0/oui/bin/runInstaller -detachHome -force -depHomesOnly -silent ORACLE_HOME=/u03/agent_12c/core/12.1.0.2.0 -waitForCompletion -invPtrLoc /u03/agent_12c/core/12.1.0.2.0/oraInst.loc

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB. Actual 137503 MB Passed

The inventory pointer is located at /u03/agent_12c/core/12.1.0.2.0/oraInst.loc
The inventory is located at /u01/app/oraInventory
'DetachHome' was successful.
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB. Actual 137503 MB Passed

The inventory pointer is located at /u03/agent_12c/core/12.1.0.2.0/oraInst.loc
The inventory is located at /u01/app/oraInventory
'DetachHome' was successful.


Deinstall Command executed:/u03/agent_12c/core/12.1.0.2.0/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/u03/agent_12c/core/12.1.0.2.0}" -waitForCompletion -removeAllFiles -invPtrLoc /u03/agent_12c/core/12.1.0.2.0/oraInst.loc

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB. Actual 137503 MB Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-03-19_05-17-32PM. Please wait ...Oracle Universal Installer, Version 11.1.0.9.0 Production
Copyright (C) 1999, 2012, Oracle. All rights reserved.

Starting deinstall



Deinstall in progress (Thursday, March 19, 2015 5:18:12 PM EDT)

Configuration assistant "Agent Deinstall Assistant" succeeded
............................................................... 100% Done.

Deinstall successful


End of install phases.(Thursday, March 19, 2015 5:26:00 PM EDT)

End of deinstallations
Please check '/u01/app/oraInventory/logs/silentInstall2015-03-19_05-17-32PM.log' for more details.
Can't locate Carp.pm in @INC (@INC contains: /u03/agent_12c/core/12.1.0.2.0/perl/lib/5.10.0/x86_64-linux-thread-multi /u03/agent_12c/core/12.1.0.2.0/perl/lib/5.10.0 /u03/agent_12c/core/12.1.0.2.0/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u03/agent_12c/core/12.1.0.2.0/perl/lib/site_perl/5.10.0 /u03/agent_12c/core/12.1.0.2.0/perl/lib/5.10.0/x86_64-linux-thread-multi /u03/agent_12c/core/12.1.0.2.0/perl/lib/5.10.0/x86_64-linux-thread-multi /u03/agent_12c/core/12.1.0.2.0/perl/lib/5.10.0 /u03/agent_12c/core/12.1.0.2.0/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u03/agent_12c/core/12.1.0.2.0/perl/lib/site_perl/5.10.0 /u03/agent_12c/core/12.1.0.2.0/perl/lib/site_perl .) at /u03/agent_12c/core/12.1.0.2.0/perl/lib/5.10.0/File/Path.pm line 32.

Above perl error can be ignored . 

[oracle]/u03/agent_12c/>cat /u01/app/oraInventory/logs/silentInstall2015-03-19_05-17-32PM.log
silentInstall2015-03-19_05-17-32PM.log
Starting deinstall
This deinstallation was successful
Please check '/u01/app/oraInventory/logs/silentInstall2015-03-19_05-17-32PM.log' for more details.
End of deinstallations

1 comment:

  1. Jadwal Cockfight SV388 2 Maret 2019 di Situs Judi Sabung Ayam Online Melalui Agen Resmi Taruhan Sabung Ayam Live Asli Thailand.

    Judi Sabung Ayam - Sabtu, Aceh 2 Maret 2019 – Kami Selaku Agen Sabung Ayam 2018 Akan Memberikan Informasi Mengenai Jadwal Cockfight SV388 2 Maret 2019.

    Untuk Info Lebih Lanjut Bisa Hub kami Di :
    wechat : bolavita
    line : cs_bolavita
    whatsapp : +628122222995
    BBM: BOLAVITA

    ReplyDelete