IOException in sending Request :: Connection refused

spectre2發表於2011-12-17

java.lang.Exception: IOException in sending Request :: Connection refused 解決方法一

 

1.進入$ORACLE_HOME\ORACLE_SID\sysman\log

檢視emagent.trc

--------資料夾下沒有檔案

2.發現WARN collector: the column name DiskActivityavwait in this condition does not exist
--------沒有檔案
3.使用emctl resetTZ agent,要根據提示執行相關命令;

我這邊的提示資訊如下:
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
Updating /u01/app/oracle/product/10.2.0/db_1/db2_orcl2/sysman/config/emd.properties...
Time zone set to US/Eastern.

To complete this process, you must either:

connect to the database served by this DBConsole as user 'sysman', and execute:

SQL> exec mgmt_target.set_agent_tzrgn('db2:3938','US/Eastern')

                        -- or --

connect to the database served by this DBConsole as user 'sys', and execute:

SQL> alter session set current_schema = SYSMAN;
SQL> exec mgmt_target.set_agent_tzrgn('db2:3938','US/Eastern')
 

4.使用SYSMAN登入,然後執行
exec mgmt_target.set_agent_tzrgn('db2:3938','US/Eastern')

sqlplus sysman/****

SQL> exec mgmt_target.set_agent_tzrgn('db2:3938','US/Eastern')

PL/SQL procedure successfully completed.

5.再執行emctl start dbconsole,OEM啟動OK。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14184018/viewspace-713490/,如需轉載,請註明出處,否則將追究法律責任。

相關文章