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

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

解析:Oracle 10g EM Database Console

瀏覽:6日期:2023-11-26 10:22:22
癥狀:進(jìn)入EM控制臺(tái)(http://172.19.111.38:1158/em)后,沒(méi)有輸入用戶名和密碼就直接登陸并顯示數(shù)據(jù)庫(kù)狀態(tài)信息;另外剛開始數(shù)據(jù)庫(kù)監(jiān)聽沒(méi)有起來(lái),所以EM控制臺(tái)顯示信息也是說(shuō)監(jiān)聽沒(méi)有起來(lái),后來(lái)監(jiān)聽起來(lái)了,EM控制臺(tái)還是顯示舊信息,刷新頁(yè)面也那樣。問(wèn)題原因和解決辦法:重啟控制臺(tái)服務(wù)后也沒(méi)有效果:$ emctl status dbconsole$ emctl stop dbconsole;;;;;$ emctl start dbconsole可能時(shí)原先監(jiān)聽未成功啟動(dòng)過(guò),或者由于我修改過(guò)監(jiān)聽端口(1521改成1528)造成的。 重建em資料庫(kù):$ 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然后再進(jìn)入 http://172.19.111.38:1158/em 查看正常了。Oracle10G的EM采用了web方式,并且分成了2個(gè)產(chǎn)品,database control和grid control。Grid control需要下載單獨(dú)的光盤安裝。在用DBCA建庫(kù)的時(shí)候,可以選擇是否啟用dbcontrol,啟用的話需要在數(shù)據(jù)庫(kù)中建立一個(gè)sysman的schema,用于保存EM的一些數(shù)據(jù),這個(gè)就是EM的資料庫(kù)(repository)。使用命令行工具emca可以創(chuàng)建,修改,重建或者刪除dbcontrol的配置。由于要在數(shù)據(jù)庫(kù)中建EM資料庫(kù),數(shù)據(jù)庫(kù)和監(jiān)聽都必須已經(jīng)啟動(dòng)并正常工作。emca -repos create 創(chuàng)建一個(gè)EM資料庫(kù)emca -repos recreate 重建一個(gè)EM資料庫(kù)emca -repos drop 刪除一個(gè)EM資料庫(kù)emca -config dbcontrol db 配置數(shù)據(jù)庫(kù)的 Database Controlemca -deconfig dbcontrol db 刪除數(shù)據(jù)庫(kù)的 Database Control配置emca -reconfig ports 重新配置db control和agent的端口emctl start console 啟動(dòng)EM console服務(wù),使用前需要先設(shè)置ORACLE_SID環(huán)境變量emctl stop console 停止EM console服務(wù),使用前需要先設(shè)置ORACLE_SID環(huán)境變量注:通過(guò)查看$ORACLE_HOME/install/portlist.ini 文件可以知道當(dāng)前dbcontrol正在使用的端口, 默認(rèn)dbcontrol http端口1158,agent端口3938。假如要重新配置端口,可以使用如下命令:emca -reconfig ports -dbcontrol_http_port 1159emca -reconfig ports -agent_port 3939使用命令行工具emctl可以啟動(dòng)/停止console服務(wù),察看服務(wù)狀態(tài)等。
主站蜘蛛池模板: 邵阳市| 江津市| 平山县| 闽侯县| 武威市| 建昌县| 景德镇市| 镇赉县| 盐城市| 恭城| 双峰县| 巢湖市| 南开区| 浦县| 沂南县| 沈阳市| 南木林县| 永宁县| 周宁县| 娱乐| 巨野县| 凯里市| 铁岭县| 扎兰屯市| 安远县| 措美县| 五大连池市| 东源县| 奎屯市| 娱乐| 盘山县| 托克托县| 怀集县| 罗江县| 十堰市| 蒙阴县| 库尔勒市| 玛多县| 洞口县| 无极县| 鹰潭市|