set ORACLE_UNQNAME=igorcl
export ORACLE_UNQNAME
手動(dòng)也不行啊
emctl start dbconsole 提示失敗
下面是一些日志信息
2013-07-31 10:13:18,987 Thread-1573947136 Starting Agent 10.2.0.4.2 from /opt/oracle/product/11.2.0/dbhome_1 (00701)
2013-07-31 10:13:19,312 Thread-1573947136 [Oracle Exadata Storage Server] InstanceProperty (MgmtIPAddr2) is marked OPTIONAL but is being used (00506)
2013-07-31 10:13:19,732 Thread-1573947136 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
2013-07-31 10:13:23,326 Thread-1573947136 EMAgent started successfully (00702)
aq_msgs_persistentq_per_subscriber
2013-07-31 10:13:23,237 Thread-1573947136 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
2013-07-31 10:13:23,342 Thread-1436780288 WARN http: nmehl_connect_internal: connect failed to (localhost:115: 拒絕連接 (error = 111)
2013-07-31 10:13:23,342 Thread-1436780288 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://localhost:1158/em/upload/: retStatus=-1
2013-07-31 10:13:23,342 Thread-1436780288 WARN http: nmehl_connect_internal: connect failed to (localhost:115: 拒絕連接 (error = 111)
2013-07-31 10:13:23,342 Thread-1436780288 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://localhost:1158/em/upload/: retStatus=-1
maxRowCount.pl: Wed Jul 31 10:13:20 2013: ERROR: Max Count Value not set properly in file /opt/oracle/product/11.2.0/dbhome_1/sysman/config/esa/instance.properties line no. 69
maxRowCount.pl: Wed Jul 31 10:13:20 2013: ERROR: Max Count Value not set properly in file /opt/oracle/product/11.2.0/dbhome_1/sysman/config/esa/database.properties line no. 2
----- Wed Jul 31 10:13:27 2013:: Checking status of DBConsole : 10099 -----
----- Wed Jul 31 10:13:27 2013:: DBConsole exited at Wed Jul 31 10:13:27 2013 with return value 7. -----
----- Wed Jul 31 10:13:27 2013:: Restarting DBConsole. -----
----- Wed Jul 31 10:13:27 2013:: Console Launched with PID 10296 at time Wed Jul 31 10:13:27 2013 -----
----- Wed Jul 31 10:13:27 2013:: osname is linux -----
----- Wed Jul 31 10:13:27 2013:: heap size used is 384M -----
----- Wed Jul 31 10:13:27 2013:: perm size used is 400M -----
----- Wed Jul 31 10:13:27 2013:: joptions used are -server -Xmx384M -XX:MaxPermSize=400M -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -----
13/07/31 10:13:37 啟動(dòng) ORMI 服務(wù)器 localhost.ighack 端口 5,520: 地址已在使用 時(shí)出錯(cuò)
13/07/31 10:13:37 Shutting down OC4J...
2013-07-31 10:13:23,237 Thread-1573947136 WARN collector: the column name first_message_age in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
maxRowCount.pl: Wed Jul 31 10:13:20 2013: ERROR: Max Count Value not set properly in file /opt/oracle/product/11.2.0/dbhome_1/sysman/config/esa/instance.properties line no. 69作者: ighack 時(shí)間: 2013-08-13 16:43
解決了,不要隨便更改$ORACLE_HOME/bin中的emctl等文件,不要因?yàn)橹衼y碼的問(wèn)題去改成自己安裝的$JAVA_HOME,雖然可以解決中文問(wèn)題但是會(huì)出現(xiàn)別的問(wèn)題,還是用$ORACLE_HOME中的jdk這個(gè)路徑
中文問(wèn)題這樣解決