久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

解析:Oracle 10g EM Database Console

瀏覽:2日期:2023-11-26 10:22:22
癥狀:進入EM控制臺(http://172.19.111.38:1158/em)后,沒有輸入用戶名和密碼就直接登陸并顯示數據庫狀態信息;另外剛開始數據庫監聽沒有起來,所以EM控制臺顯示信息也是說監聽沒有起來,后來監聽起來了,EM控制臺還是顯示舊信息,刷新頁面也那樣。問題原因和解決辦法:重啟控制臺服務后也沒有效果:$ emctl status dbconsole$ emctl stop dbconsole;;;;;$ emctl start dbconsole可能時原先監聽未成功啟動過,或者由于我修改過監聽端口(1521改成1528)造成的。 重建em資料庫:$ emctl stop dbconsole$ emca -repos recreate...Enter the following information:Database SID: orcl10Listener port number: 1528PassWord for SYS user: Oracle10 Password for SYSMAN user: oracle10 Do you wish to continue? [yes(Y)/no(N)]: y...INFO: Repository sUCcessfully createdEnterprise Manager configuration completed successfullyFINISHED EMCA at Apr 19, 2007 6:20:22 PM配置dbcontrol:$ emca -config dbcontrol dbEnter the following information:Database SID: orcl10Database Control is already configured for the database orcl10You have chosen to configure Database Control for managingthe database orcl10This will remove the existing configuration and the default settings and perform a fresh configurationDo you wish to continue? [yes(Y)/no(N)]: yListener port number: 1528Password for SYS user: oracle10Password for DBSNMP user: oracle10; Password for SYSMAN user: oracle10 Email address for notifications (optional): Outgoing Mail (SMTP) server for notifications (optional): ...Do you wish to continue? [yes(Y)/no(N)]: y...Enterprise Manager configuration completed successfullyFINISHED EMCA at Apr 19, 2007 6:27:44 PM然后再進入 http://172.19.111.38:1158/em 查看正常了。Oracle10G的EM采用了web方式,并且分成了2個產品,database control和grid control。Grid control需要下載單獨的光盤安裝。在用DBCA建庫的時候,可以選擇是否啟用dbcontrol,啟用的話需要在數據庫中建立一個sysman的schema,用于保存EM的一些數據,這個就是EM的資料庫(repository)。使用命令行工具emca可以創建,修改,重建或者刪除dbcontrol的配置。由于要在數據庫中建EM資料庫,數據庫和監聽都必須已經啟動并正常工作。emca -repos create 創建一個EM資料庫emca -repos recreate 重建一個EM資料庫emca -repos drop 刪除一個EM資料庫emca -config dbcontrol db 配置數據庫的 Database Controlemca -deconfig dbcontrol db 刪除數據庫的 Database Control配置emca -reconfig ports 重新配置db control和agent的端口emctl start console 啟動EM console服務,使用前需要先設置ORACLE_SID環境變量emctl stop console 停止EM console服務,使用前需要先設置ORACLE_SID環境變量注:通過查看$ORACLE_HOME/install/portlist.ini 文件可以知道當前dbcontrol正在使用的端口, 默認dbcontrol http端口1158,agent端口3938。假如要重新配置端口,可以使用如下命令:emca -reconfig ports -dbcontrol_http_port 1159emca -reconfig ports -agent_port 3939使用命令行工具emctl可以啟動/停止console服務,察看服務狀態等。
標簽: Oracle 數據庫
主站蜘蛛池模板: 修武县| 安宁市| 德钦县| 稷山县| 新疆| 东源县| 德格县| 日土县| 锦州市| 阿尔山市| 舟山市| 阳泉市| 双城市| 台北市| 洛川县| 宁阳县| 河间市| 深泽县| 理塘县| 子长县| 江阴市| 岚皋县| 海门市| 朝阳区| 泰宁县| 临洮县| 鄂伦春自治旗| 莎车县| 搜索| 藁城市| 富源县| 甘肃省| 浦县| 通城县| 稻城县| 内黄县| 江西省| 张家港市| 武义县| 司法| 班戈县|