posts - 310, comments - 6939, trackbacks - 0, articles - 3
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          oracle 10g重建em db control

          Posted on 2008-07-01 16:58 詩特林 閱讀(547) 評論(0)  編輯  收藏 所屬分類: Oracle
          1.drop configuration files and repository run :
          emca -deconfig dbcontrol db -repos drop 2. Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and mangement objects:
          a. drop user sysman cascade;
          b. drop role MGMT_USER;
          c. drop user MGMT_VIEW cascade;
          d. drop public synonym MGMT_TARGET_BLACKOUTS;
          e. drop public synonym SETEMVIEWUSERCONTEXT; 3.Create configuration files and repository run
          emca -config dbcontrol db -repos create 創建EM時,提示的端口號,應為實例的斷口號,比如1521,不是EM的端口號(比如1158)
          EM的端口號在這個文件中可以查到10.2.0\db_1\sysman\config\emca.properties

          然后,進行em后,界面出來了,但報了一個錯:
          Java.lang.Exception: Exception in sending Request :: null
          很多功能不能用,提示重新登錄.
          在Oracle論壇上查到了解決辦法:
          http://forums.oracle.com/forums/thread.jspa?threadID=320574&tstart=0&messageID=1374397
          找到下面的文件
          10.2.0\db_1\ZYKNET_ORC2\sysman\config\emd.properties
          其中的agentTZRegion缺省是GMT,改為你所在的時區即可,例如:
          agentTZRegion=Asia/Chungking
          關于時區的列表參考:10.2.0\db_1\sysman\admin\supportedtzs.lst
          然后,重啟OracleDBConsole<SID>
          主站蜘蛛池模板: 驻马店市| 商洛市| 兴国县| 阳高县| 同江市| 北辰区| 吉木萨尔县| 南木林县| 太康县| 贡嘎县| 林西县| 祁门县| 西峡县| 大埔县| 鹤庆县| 锡林郭勒盟| 辉县市| 闽清县| 闻喜县| 高唐县| 蒙城县| 南投市| 留坝县| 都江堰市| 澄迈县| 阳曲县| 屯门区| 淮阳县| 栾城县| 青神县| 阿荣旗| 当阳市| 大姚县| 宁海县| 开平市| 万盛区| 疏勒县| 卢龙县| 大石桥市| 英山县| 宜城市|