Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

Agent Clone Failed Exit Code:1

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarKiran Dalvi
  • 05 Dec, 2023
  • 0 Comments
  • 1 Min Read

Agent Clone Failed Exit Code:1

While deploying agent in one of the target server for OEM 12c , we got error like
Agent Clone Failed Exit Code:1.

Solution :

Get the inventory location
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[oracle@prim]/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/opatch2023-9-20_16-54-51PM_1.log
 
Lsinventory Output file location : /oracle/app/oracle/product/12.1.0/cfgtoollogs/opatch/lsinv/lsinventory2023-9-20_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 oraInventory location, check the the permissions on the directory.
1
2
3
4
5
6
7
[oracle@prim]/export/home/oracle/bsstdba# cd /oracle/app/oraInventory
[oracle@prim]/oracle/app/oraInventory# ls -ltr
total 16
drwxrwx--- 2 oracle oinstall 3 May 20 12:56 oui
drwxrwx--- 2 oracle oinstall 5 May 20 13:00 ContentsXML
drwxrwx--- 2 oracle oinstall 90 Oct 20 10:19 logs
drwxrwx--- 16 siebel siebel 16 Oct 20 10:19 backup
We can see that oracle user has no permission on backup directory. So grant 777 to backup directory.
1
2
3
4
5
6
[oracle@prim]/oracle/app/oraInventory# ls -ltr
total 16
drwxrwx--- 2 oracle oinstall 3 May 20 12:56 oui
drwxrwx--- 2 oracle oinstall 5 May 20 13:00 ContentsXML
drwxrwx--- 2 oracle oinstall 90 Oct 20 10:19 logs
drwxrwxrwx 16 siebel siebel 16 Oct 20 10:19 backup
Now try to redeploy the agent. It should work succsessfully.

 

Hope it Helps!