Pages

Wednesday 19 February 2014

Error while uninstalling 11g agent.

I got below error while uninstalling an agent in silent mode.

[oracle@ora-test-a1 bin]$ ./runInstaller -deinstall -silent "REMOVE_HOMES={/oracle/product/agent11g}" -removeallfiles
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 49143 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-02-19_04-22-23AM. Please wait ...[oracle@inf-prod-int9-a1 bin]$ Oracle Universal Installer, Version 11.1.0.8.0 Production
Copyright (C) 1999, 2010, Oracle. All rights reserved.

OUI-10031:Inventory location cannot be empty.


Reason:

oraInventory was not updated at /etc/oraInst.loc. Update or create /etc/oraInst.loc with root user.  Entries should be like below.

cat /etc/oraInst.loc
inventory_loc=/oracle/product/11.2.0/oraInventory
inst_group=oinstall

and then run the uninstall agent command as below.

[oracle@ora-test-a1 bin]$ ./runInstaller -deinstall -silent "REMOVE_HOMES={/oracle/product/agent11g}" -removeallfiles
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 49143 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-02-19_04-30-37AM. Please wait ...[oracle@ora-test-a1 bin]$ Oracle Universal Installer, Version 11.1.0.8.0 Production
Copyright (C) 1999, 2010, Oracle. All rights reserved.

Starting deinstall


Deinstall in progress (Wednesday, February 19, 2014 4:30:40 AM PST)
Configuration assistant "Agent Deinstall Assistant" succeeded
Configuration assistant "Oracle Configuration Manager Deinstall" succeeded
............................................................... 100% Done.

Deinstall successful

End of install phases.(Wednesday, February 19, 2014 4:31:16 AM PST)
End of deinstallations
Please check '/oracle/product/11.2.0/oraInventory/logs/silentInstall2014-02-19_04-30-37AM.log' for more details.

No comments:

Post a Comment