I faced with that issue on while I recreated repo on 11.2.0.4 RAC system.
My step is:
[oracle@node1~]$ emca -config dbcontrol db -repos create -cluster <<<<< Enter the related information
After related steps done the login to the database Console works fine. The Target is shown as UP but the ‘host cpu’ section in the shows:
The host cpu chart could not be generated. 1. Error: Invalid BoundDataSource: no class, method or dataSource provided. 2. check the log file for details
– The ‘Active Sessions’ section shows
The Active Sessions chart could not be generated. 1. Error: Invalid BoundDataSource: no class, method or dataSource provided. 2. check the log file for details Even I try drop and recreate repos but still hitting same issue emca -deconfig dbcontrol db -repos create -cluster <<< for drop emca -deconfig dbcontrol db -repos drop -cluster <<< for recreate
I checked related log files such as:
The <ORACLE_HOME>/<HOSTNAME_SID>/sysman/log/emoms.trc file reports:
ERROR db.rac initProblemServices.2075 - Failed to determine problem services: ORA-20206: Target does not exist: RACDB:rac_database ORA-06512: at "SYSMAN.MGMT_TARGET", line 571 ORA-06512: at "SYSMAN.EMD_RAC", line 2783 ORA-06512: at "SYSMAN.EMD_RAC", line 2647 ORA-06512: at line 1
2016-03-29 16:04:16,415 [EMUI_16_04_15_/console/rac/racSitemap] ERROR db.rac initComps.1571 - java.sql.SQLException: ORA-20206: ORA-06512: at "SYSMAN.EMD_MNTR_HOST", line 576 ORA-01403: no data found ORA-06512: at line 1
java.sql.SQLException: ORA-20206: ORA-06512: at "SYSMAN.EMD_MNTR_HOST", line 576 ORA-01403: no data found ORA-06512: at line 1
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:472) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:422) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1089) at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:200) at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1029) ............ ERROR chart.EmChartBean constructLayout.787 - java.lang.Exception: Invalid BoundDataSource: no class, method or dataSource provided. at oracle.sysman.emSDK.chart.EmChartBoundDataSourceBean.initDataSource(EmChartBoundDataSourceBean.java:98) [MetricCollector:RACHOMETAB_THREAD600:60] ERROR rt.RacMetricCollectorTarget _getAllData.281 - java.lang.NullPointerException java.lang.NullPointerException at oracle.sysman.emo.rac.perform.metric.rt.RacHomeTab._getAllData(RacHomeTab.java:264) at oracle.sysman.emo.rac.perform.metric.rt.RacHomeTab.getData(RacHomeTab.java:107) at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:416) at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:605) at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:325) at java.lang.Thread.run(Thread.java:637) If I stop dbconsole and try to start it, it fails CONFIG: Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.https://hostname:1158/em/console/aboutApplicationStarting Oracle Enterprise Manager 11g Database Control ………………………………………………………………………………… failed.
Logs:
——————————————————————Logs are generated in directory /u02/oracle/oracle/product/11.2.0/dbhome_1/hostname_sid/sysman/log :failed
Dec 13, 2020 4:01:41 PM oracle.sysman.emcp.util.PlatformInterface executeEMCTL
CONFIG: Cluster Error Message: Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.https://hostname:1158/em/console/aboutApplicationStarting Oracle Enterprise Manager 11g Database Control ………………………………………………………………………………… failed. ——————————————————————Logs are generated in directory /u02/oracle/oracle/product/11.2.0/dbhome_1/hostname_sid/sysman/log :failed
oracle.ops.mgmt.cluster.ClusterException: Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0 Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.https://hostname:1158/em/console/aboutApplicationStarting Oracle Enterprise Manager 11g Database Control ………………………………………………………………………………… failed. ——————————————————————Logs are generated in directory /u02/oracle/oracle/product/11.2.0/dbhome_1/hostname_sid/sysman/log :failed
at oracle.ops.mgmt.cluster.ClusterCmd.runCmd(ClusterCmd.java:2149)
at oracle.sysman.emcp.util.ClusterUtil.runCmd(ClusterUtil.java:1465)
at oracle.sysman.emcp.util.PlatformInterface.executeEMCTL(PlatformInterface.java:1374)
at oracle.sysman.emcp.util.DBControlUtil.startOMS(DBControlUtil.java:202)
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:977)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:317)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:280)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:268)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Dec 13, 2020 4:01:41 PM oracle.sysman.emcp.util.PlatformInterface isPre112Home
CONFIG: oracleHome: /u02/oracle/oracle/product/11.2.0/dbhome_1 isPre112Home: false
Dec 13, 2020 4:01:41 PM oracle.sysman.emcp.util.PlatformInterface executeEMCTL
Other log:
2020-12-13 13:15:36,387 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 – Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
2020-12-13 13:15:36,388 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 – Integration Class not found: oracle.sysman.pp.bpelprov.ui.intg.BPELProvisioningIntegration
2020-12-13 13:15:36,388 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.420 – Integration Class not found: oracle.sysman.pp.asprov.ui.intg.ASProvisioningIntegration
2020-12-13 13:16:53,187 [EMUI_13_16_52_/console/rac/racSitemap] ERROR db.rac setDatabaseType.2706 – Could not retrieve Database Type information. Setting it to NONE. Exception: ORA-20206:
ORA-06512: at “SYSMAN.EMD_RAC”, line 2700
ORA-01403: no data found
ORA-06512: at line 1
So here is the steps for solutions:
Before drop&create repo set below first:
- ORACLE_UNQNAME
- unset TNS_ADMIN
- Check tz. If its wrong or empty set it and create repo
grep TZ $ORACLE_HOME/node1_sid/sysman/config/emd.properties << If already have repo
export TZ=Etc/GM+3 <<< Its my time zone