先決條件: 注意我的主機名稱是localhost.localdomain
當測試 emctl (Enterprise Manager Control是Oracle的Web管理介面)
[oracle@oracle ~]$ emctl start dbconsole
OC4J Configuration issue. /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_oracle_ORCL not found.
發現無法啟動….Q__Q , 解決方法如下
[oracle@localhost j2ee]$ pwd
/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee
[oracle@localhost j2ee]$ cp -rf OC4J_DBConsole_localhost_orcl OC4J_DBConsole_loc alhost.localdomain_orcl
對!主要就是新增一個檔案…讓oracle使用,再開一次, 發現
EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/localhost.locald
方法類似, 解法如下:
[oracle@localhost dbhome_1]$ pwd
/u01/app/oracle/product/11.2.0/dbhome_1
[oracle@localhost dbhome_1]$ cp -rf localhost_orcl localhost.localdomain_orcl
沒有留言:
張貼留言