ITPub博客

首页 > 数据库 > Oracle > oracle 10g EM 遷移後的重建及亂碼解決

oracle 10g EM 遷移後的重建及亂碼解決

原创 Oracle 作者:icexiebin 时间:2007-12-04 16:06:44 0 删除 编辑

本文檔由ice.xie原創,轉載請說明出處


由於OS相同,遷建采用了最簡單的,直接CP的方法,
由於主機名不能一樣,在oracle 10g中需要重建EM

emca -deconfig dbcontrol db -repos drop
/*
Enter the following information:
Database SID: devdb
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

Do you wish to continue? [yes(Y)/no(N)]: yes

..........................
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
*/


emca -config dbcontrol db -repos create
/*
Enter the following information:
Database SID: devdb
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):

You have specified the following settings

Database ORACLE_HOME ................ /u01/app/oracle/product/10.2.0/db_1

Database hostname ................ hjitbackup
Listener port number ................ 1521
Database SID ................ devdb
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: yes
Enterprise Manager configuration completed successfully
FINISHED EMCA at Dec 4, 2007 12:43:35 PM
*/

em亂碼的解決:

emctl stop dbconsole

cd $ORACLE_HOME/jdk/jre/lib
cp font.properties.zh_TW.Redhat font.properties

cd $ORACLE_HOME/jre/1.4.2/lib
cp font.properties.zh_TW.Redhat font.properties

cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zht
rm -f *.gif

emctl start dbconsole

[@more@]做

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9007136/viewspace-988458/,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论
  • 博文量
    20
  • 访问量
    322645