agent Archives - DBACLASS https://dbaclass.com/article-tag/agent/ database administration Fri, 11 Dec 2015 08:15:44 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 How to restart Agents in oracle 12c cloud control https://dbaclass.com/article/how-to-restart-agents-in-oracle-12c-cloud-control/ https://dbaclass.com/article/how-to-restart-agents-in-oracle-12c-cloud-control/#respond Fri, 11 Dec 2015 08:15:44 +0000 http://dbaclass.com/?post_type=article&p=546 Agents are deployed on the target servers which are being monitored from 12c cloud control . Use below command to start the agent. Checking the agent status: oracle@test:…oracle/agent12c/agent_inst/bin$. /emctl status agent Oracle Enterprise Manager Cloud Control 12c Release 5 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent is Not Running Starting the […]

The post How to restart Agents in oracle 12c cloud control appeared first on DBACLASS.

]]>
Agents are deployed on the target servers which are being monitored from 12c cloud control . Use below command to start the agent.

Checking the agent status:
oracle@test:…oracle/agent12c/agent_inst/bin$. /emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.	All rights reserved.

---------------------------------------------------------------
Agent is Not Running

Starting the Agent
oracle@test:…oracle/agent12c/agent_inst/bin$ ./emctl start agent

Oracle Enterprise Manager Cloud Control 12c Release 5

Copyright (c) 1996, 2015 Oracle Corporation.	All rights reserved.
Starting agent .............................. started.


Check the status:
oracle@test:…oracle/agent12c/agent_inst/bin$ ./emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015	Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version	: 12.1.0.5.0
OMS Version	: 12.1.0.5.0
Protocol Version	: 12.1.0.1.0
Agent Home	: /oracle/agent12c/agent_inst
Agent Log Directory	: /oracle/agent12c/agent_inst/sysman/log
Agent Binaries	: /oracle/agent12c/core/12.1.0.5.0
Agent Process ID	:	11952
Parent Process ID	:	11938
Agent URL	:	https://192.20.204.64:3872/emd/main/
Local Agent URL in NAT	:	https://192.20.204.64:3872/emd/main/
Repository URL	:	https://test.test.com.sa:1159/empbs/upload
Started at	:	2015-11-19 09:46:09
Started by user	:	oracle
Operating System	:	SunOS version 5.11 (sparcv9)
Last Reload	:	(none)

Last successful upload	:	2015-11-19 09:46:30
Last attempted upload	:	2015 -11-19 09:46:30
Total Megabytes of XML files uploaded so far :	0.02
Number of XML files pending upload	:	0
Size of XML files pending upload(MB)	:	0
Available disk space on upload filesystem	: 57.38%
Collection Status	: Collections enabled
Heartbeat Status	: Ok	
Last attempted heartbeat to OMS	:	2015 -11-19	09:46:27
Last successful heartbeat to OMS	: 2015-11-19	09:46:27
Next scheduled heartbeat to OMS	:	2015 -11-19	09:47:28

---------------------------------------------------------------
Agent is Running and Ready

To stop the agent use :

emctl stop agent

The post How to restart Agents in oracle 12c cloud control appeared first on DBACLASS.

]]>
https://dbaclass.com/article/how-to-restart-agents-in-oracle-12c-cloud-control/feed/ 0
Agent Clone Failed Exit Code:1 https://dbaclass.com/article/agent-clone-failed-exit-code1/ https://dbaclass.com/article/agent-clone-failed-exit-code1/#respond Mon, 02 Nov 2015 13:07:31 +0000 http://dbaclass.com/?post_type=article&p=504       While 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 : […]

The post Agent Clone Failed Exit Code:1 appeared first on DBACLASS.

]]>
      While 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 oraInventory location, check the 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 backup directory. So grant 777 to 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 suceesfully.

The post Agent Clone Failed Exit Code:1 appeared first on DBACLASS.

]]>
https://dbaclass.com/article/agent-clone-failed-exit-code1/feed/ 0