When we talk about cloud we face issues. In this article we are going have a look at issue during deploying agent in one of the target server for OEM 12c cloud control, got error like
Agent Clone Failed Exit Code:1.

Solution:

Get the inventory location

[oracle@bt-tstdev-1]/export/home/oracle/bsstdba# opatch lsinventory
Oracle Interim Patch Installer version 12.1.0.1.0
Copyright (c) 2012, Oracle Corporation. All rights reserved.

Oracle Home : /oracle/app/oracle/product/12.1.0
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/12.1.0/oraInst.loc
OPatch version : 12.1.0.1.0
OUI version : 12.1.0.1.0
Log file location : /oracle/app/oracle/product/12.1.0/cfgtoollogs/opatch/opatch2015-10-28_16-54-51PM_1.log

Lsinventory Output file location : /oracle/app/oracle/product/12.1.0/cfgtoollogs/opatch/lsinv/lsinventory2015-10-28_16-54-51PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Database 12c 12.1.0.1.0
There are 1 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

--------------------------------------------------------------------------------

OPatch succeeded.

Go to inventory location, check the permissions on the directory.

oracle@bt-tstdev-1]/export/home/oracle/bsstdba# cd /oracle/app/oraInventory
[oracle@bt-tstdev-1]/oracle/app/oraInventory# ls -ltr
total 16
drwxrwx--- 2 oracle oinstall 3 May 28 12:56 oui
drwxrwx--- 2 oracle oinstall 5 May 28 13:00 ContentsXML
drwxrwx--- 2 oracle oinstall 90 Oct 28 10:19 logs
drwxrwx--- 16 siebel siebel 16 Oct 28 10:19 backup

We can see that Oracle user has no permission on the backup directory. So grant 777 to a backup directory.

[oracle@bt-tstdev-1]/oracle/app/oraInventory# ls -ltr
total 16
drwxrwx--- 2 oracle oinstall 3 May 28 12:56 oui
drwxrwx--- 2 oracle oinstall 5 May 28 13:00 ContentsXML
drwxrwx--- 2 oracle oinstall 90 Oct 28 10:19 logs
drwxrwxrwx 16 siebel siebel 16 Oct 28 10:19 backup

Now try to redeploy the agent. It should work successfully.

The agent has been removed successfully.

Thank you for giving your valuable time to read the above information.

Source

If you want to be updated with all our articles send us the Invitation or Follow us:

Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

About The Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.