java.lang.Exception: UnknownHostException sending request :hospita

1,错误现象
java.lang.Exception: UnknownHostException sending request :hospital
2、解决方法

$ORACLE_HOME/sysman/config/emd.properties(例如我的安装路径E:\oracle\product\10.2.0\db_1\20CB8CFEB02D432_ora10\sysman\config\emd.properties)
and
$ORACLE_HOME/<sever_name_SID/sysman/config/emd.properties


You will find agentTZregion in the later $ORACLE_HOME/><sever_name_SID>/sysman/config/emd.properties.
打开emd.properties文件,
修改其中的agentTZRegion缺省是GMT,改为你所在的时区即可,例如:
agentTZRegion=Asia/Chungking
关于时区的列表参考:10.2.0_db_1_sysman_admin_supportedtzs.lst(例如我的安装路径E:\oracle\product\10.2.0\db_1\sysman\admin\supportedtzs.lst)

然后,1. Kill the java process which is the console portion of OracleDBConsole<SID>
2. Edit the emd.properties file to have the correct timezone
3. Reboot or restart the OracleDBConsole<SID>

你可能感兴趣的:(exception)