ORACLE RAC 11g R2, OS: AIX 7.1
$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://dba03.flora.in:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...................................................................................... failed.
------------------------------------------------------------------
Logs are generated in directory /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL/sysman/log
check em agent log
--------------------------
$ tail emagent.log
2019-05-27 12:00:06,896 Thread-1 Starting Agent 10.2.0.4.5 from /d01/app/oracle/product/11.2.0/dbhome (00701)
2019-05-27 12:00:06,900 Thread-1 : Startup of HTTP LISTENER failure (00716)
Modify the property of EMD
------------------------------------
$ vi emd.properties
#EMD_URL=https://dba03.flora.in:3938/emd/main
EMD_URL=https://dba03.flora.in:3939/emd/main << change
Now start the dbconsole
---------------------------------
$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://dba03.flora.in:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...... started.
------------------------------------------------------------------
Logs are generated in directory /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL/sysman/log
$ emctl upload agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
$ emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.4.5
OMS Version : 10.2.0.4.5
Protocol Version : 10.2.0.4.5
Agent Home : /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL
Agent binaries : /d01/app/oracle/product/11.2.0/dbhome
Agent Process ID : 17564134
Parent Process ID : 9961922
Agent URL : https://dba03.flora.in:3939/emd/main
Repository URL : https://dba03.flora.in:1158/em/upload/
Started at : 2019-05-27 12:49:19
Started by user : oracle
Last Reload : 2019-05-27 13:09:57
Last successful upload : 2019-05-27 13:10:55
Total Megabytes of XML files uploaded so far : 2.74
Number of XML files pending upload : 2
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 48.36%
Data channel upload directory : /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL/sysman/recv
Last successful heartbeat to OMS : 2019-05-27 13:10:45
---------------------------------------------------------------
Agent is Running and Ready
$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://dba03.flora.in:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...................................................................................... failed.
------------------------------------------------------------------
Logs are generated in directory /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL/sysman/log
check em agent log
--------------------------
$ tail emagent.log
2019-05-27 12:00:06,896 Thread-1 Starting Agent 10.2.0.4.5 from /d01/app/oracle/product/11.2.0/dbhome (00701)
2019-05-27 12:00:06,900 Thread-1
Modify the property of EMD
------------------------------------
$ vi emd.properties
#EMD_URL=https://dba03.flora.in:3938/emd/main
EMD_URL=https://dba03.flora.in:3939/emd/main << change
Now start the dbconsole
---------------------------------
$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://dba03.flora.in:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...... started.
------------------------------------------------------------------
Logs are generated in directory /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL/sysman/log
$ emctl upload agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
$ emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.4.5
OMS Version : 10.2.0.4.5
Protocol Version : 10.2.0.4.5
Agent Home : /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL
Agent binaries : /d01/app/oracle/product/11.2.0/dbhome
Agent Process ID : 17564134
Parent Process ID : 9961922
Agent URL : https://dba03.flora.in:3939/emd/main
Repository URL : https://dba03.flora.in:1158/em/upload/
Started at : 2019-05-27 12:49:19
Started by user : oracle
Last Reload : 2019-05-27 13:09:57
Last successful upload : 2019-05-27 13:10:55
Total Megabytes of XML files uploaded so far : 2.74
Number of XML files pending upload : 2
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 48.36%
Data channel upload directory : /d01/app/oracle/product/11.2.0/dbhome/dba03_ORCL/sysman/recv
Last successful heartbeat to OMS : 2019-05-27 13:10:45
---------------------------------------------------------------
Agent is Running and Ready
No comments:
Post a Comment