Проблема при установке Oracle DB Console
Ошибка при входе на http:
"java.lang.Exception: Exception in sending Request :: null"
+ emdb.nohup shows :
emdb.nohup :
----- Mon Jun 4 14:27:37 2007::Agent Launched with PID 6888 at time Mon Jun 4 14:27:37 2007 -----
----- Mon Jun 4 14:36:38 2007::Hang detected for DBConsole : 6829 -----
----- Mon Jun 4 14:36:38 2007::Debugging component DBConsole -----
----- Attempting to kill DBConsole : 6829 -----
----- Attempting to dump threads for 6829 -----
Full thread dump Java HotSpot(TM) Server VM (1.4.2_08-b03 mixed mode):
"CacheManager" daemon prio=5 tid=0x00b64650 nid=0x19 waiting on condition [e307f000..e307fc28]
at java.lang.Thread.sleep(Native Method)
at oracle.sysman.emSDK.svc.cache.CacheManager$Checker.run(CacheManager.java:590)
at java.lang.Thread.run(Thread.java:534)
"DestroyJavaVM" prio=5 tid=0x000371e0 nid=0x1 waiting on condition [0..ffbfde18]
"TaskManager" prio=5 tid=0x00a7b9f0 nid=0x16 waiting on condition [dbcff000..dbcffc28]
at java.lang.Thread.sleep(Native Method)
at com.evermind.util.TaskManager.run(TaskManager.java:247)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.jav
a:186)
at java.lang.Thread.run(Thread.java:534)
There is no emagent.trc being generated though the emdb.nohup mentions that the agent component is being started.
emoms.trc has :
2007-06-04 14:26:14,849 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 -
Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
2007-06-04 14:26:24,797 [EMUI_14_26_24_/console/database/instance/sitemap] ERROR perf.sitemap
initializeGeneral.400 - Failed to initialize object: ORA-20206:
ORA-06512: at "SYSMAN.EMD_DATABASE", line 1165
ORA-01403: no data found
ORA-06512: at line 1
2007-06-04 14:26:25,116 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget
_getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1329)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1222)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:639)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
Решение:
+ Stop the dbconsole
+ Relink the agent component manually using this procedure :
1. Make a copy of $ORACLE_HOME/sysman/lib/env_sysman.mk (as backup)
2. Edit the script $ORACLE_HOME/sysman/lib/env_sysman.mk adding $(LIBNMO) as follows:
- search the link line looking for string "MK_EMDW_LIBNMEMSO_SHLIB"
- replace the line
$(LIBNMEM) $(LIBNMER) \
with
$(LIBNMEM) $(LIBNMER) $(LIBNMO) \
3. Perform the following relink:
% cd $ORACLE_HOME/sysman/lib
% make -f ins_sysman.mk agent
This will not affect the other database components as only the agent is being relinked.