先刪除注冊(cè) emca -deconfig dbcontrol db -repos drop
在銀海等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供網(wǎng)站設(shè)計(jì)、網(wǎng)站制作 網(wǎng)站設(shè)計(jì)制作按需網(wǎng)站制作,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),高端網(wǎng)站設(shè)計(jì),全網(wǎng)整合營(yíng)銷推廣,外貿(mào)網(wǎng)站建設(shè),銀海網(wǎng)站建設(shè)費(fèi)用合理。
再重新注冊(cè)一個(gè) emca -config dbcontrol db -repos create
試試看 emctl start dbconsole
--------------------
Oracle12C的EM無法訪問怎么辦?
裝完Oracle 12c,想體驗(yàn)下EM Express,缺發(fā)現(xiàn)不能用,應(yīng)該怎么辦?12c的EM 不再像以前版本配置那么麻煩,當(dāng)然提供的功能也沒有那么多了,只需要啟用對(duì)應(yīng)端口即可,請(qǐng)看:
To manually configure the HTTPS port for EM Express:
1. Configure and start the Oracle Net Listener (the listener). You can use lsnrctl to start, stop, and view the status of the listener.
2. If the listener is running on a nonstandard port (for example, not 1521), then the init.ora file for the database you want to manage using EM Express must contain a local_listener entry so that the HTTPS port can register with the correc
listener. The local_listener entry references a TNSNAMES entry that points to the correct listener. For example:
local_listener=inst1
where inst1 is a TNSNAMES entry defined in tnsnames.ora that points to the listener. For example:
inst1= (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1234)) (CONNECT_DATA=(SERVICE_NAME=service_name)(SERVER=DEDICATED)))
In this example, 1234 is the nonstandard port on which the listener has been configured to listen.
3. Enable the TCP dispatcher by adding the following entry to the init.ora file for the database you want to manage using EM Express:
dispatchers=”(PROTOCOL=TCP)(SERVICE=XDB)”
For example, if the database SID is ORCL, then the entry would be:
dispatchers=”(PROTOCOL=TCP)(SERVICE=ORCLXDB)”
4. Restart the database so that the changes made in the init.ora file take effect.
5. Use the PL/SQL procedure DBMS_XDB_CONFIG.SETHTTPSPORT to set the HTTPS port for EM Express. This will update the HTTPS port in the xdbconfig.xml file in the Oracle XML DB Repository. You must connect as SYS / AS SYSDBA to run the procedure. For example:
SQL exec DBMS_XDB_CONFIG.SETHTTPSPORT(5500);
6. To access EM Express, enter a URL in the following format in a Web browser:
For example:
When prompted for your username and password, log in as a user with DBA privilege (such as SYSTEM).
---------------------------
Oracle 12c EM https 無法登錄問題解決辦法
12c 這個(gè)是Expess 版了。 內(nèi)部用的是XMLDB 實(shí)現(xiàn)的, 要打開它的訪問端口??完整功能得用12c cc
創(chuàng)建一個(gè)EM資料庫(kù)
emca -repos create
重建一個(gè)EM資料庫(kù)
emca -repos recreate
刪除一個(gè)EM資料庫(kù)
emca -repos drop
配置數(shù)據(jù)庫(kù)的 Database Control
emca -config dbcontrol db
刪除數(shù)據(jù)庫(kù)的 Database Control配置
emca -deconfig dbcontrol db
重新配置db control的端口,默認(rèn)端口在1158
emca -reconfig ports
emca -reconfig ports -dbcontrol_http_port 1160
emca -reconfig ports -agent_port 3940
先設(shè)置ORACLE_SID環(huán)境變量后,啟動(dòng)EM console服務(wù)
emctl start dbconsole
先設(shè)置ORACLE_SID環(huán)境變量后,停止EM console服務(wù)
emctl stop dbconsole
先設(shè)置ORACLE_SID環(huán)境變量后,查看EM console服務(wù)的狀態(tài)
emctl status dbconsole
配置dbconsole的步驟
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
重新配置dbconsole的步驟
emca -repos drop
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
,可以通過EM dbconsole訪問數(shù)據(jù)庫(kù)了
原因主要還是更改了主機(jī)名導(dǎo)致的問題,更改了相應(yīng)的文件名:D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_colin
重命名為D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_RX-01-07_orcl
然后重新配置下dbconsole就Ok了
emca -config dbcontrol db
輸入以下信息:
數(shù)據(jù)庫(kù) SID: orcl
已為數(shù)據(jù)庫(kù) orcl 配置了 Database Control
您已選擇配置 Database Control, 以便管理數(shù)據(jù)庫(kù) orcl
此操作將移去現(xiàn)有配置和默認(rèn)設(shè)置, 并重新執(zhí)行配置
是否繼續(xù)? [yes(Y)/no(N)]: y
監(jiān)聽程序端口號(hào): 1521
SYS 用戶的口令:
DBSNMP 用戶的口令:
SYSMAN 用戶的口令:
SYSMAN 用戶的口令: 通知的電子郵件地址 (可選):
通知的發(fā)件 (SMTP) 服務(wù)器 (可選):已指定以下設(shè)置
數(shù)據(jù)庫(kù) ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
數(shù)據(jù)庫(kù)主機(jī)名 ................ RX-01-07
監(jiān)聽程序端口號(hào) ................ 1521
數(shù)據(jù)庫(kù) SID ................ ora10g
通知的電子郵件地址 ...............
通知的發(fā)件 (SMTP) 服務(wù)器 ...............
-----------------------------------------------------------------
是否繼續(xù)? [yes(Y)/no(N)]: y
----------------------------------------------------------------------------------------------------------------
2007-4-6 10:59:17 oracle.sysman.emcp.EMConfig perform
信息: 正在將此操作記錄到 D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
a_2007-04-06_10-57-52-上午.log。
2007-4-6 10:59:20 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段時(shí)間)...
2007-4-6 10:59:32 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在啟動(dòng) Database Control (此操作可能需要一段時(shí)間)...
2007-4-6 11:00:12 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: 已成功啟動(dòng) Database Control
2007-4-6 11:00:12 oracle.sysman.emcp.EMDBPostConfig performConfiguration
警告: 無法創(chuàng)建 Database Control 快捷方式
2007-4-6 11:00:12 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: Database Control URL 為
已成功完成 Enterprise Manager 的配置
EMCA 結(jié)束于 2007-4-6 11:00:12
1 進(jìn)入em (你已經(jīng)會(huì)了 呵呵 最好用sys以dba身份進(jìn)入)
2 查看表的地方,點(diǎn)擊表名 進(jìn)入
3 出來的是表結(jié)構(gòu) 注意看表結(jié)構(gòu)的右上方,有個(gè)下拉框 你下拉,注意看選項(xiàng) 其中有一個(gè)就是顯示表內(nèi)數(shù)據(jù)的
------------補(bǔ)充-------------------
操作下拉框 找到 “查看數(shù)據(jù)” 點(diǎn)擊開始就OK了
打開一個(gè)terminal窗口,先切換到oracle用戶環(huán)境
輸入命令emctl start dbconsole啟動(dòng)oracle的em服務(wù)
等待em啟動(dòng),這是啟動(dòng)過程。
這是em啟動(dòng)的日志文件
啟動(dòng)完成后,在瀏覽器中打開oracle的em控制臺(tái),打開oem成功
這是登錄em后的界面
1、打開oracle配置工具里的Net Configuration Assistant,選擇“監(jiān)聽程序配置”,下一步,接著選擇“重新配置”,下一步,仔細(xì)看下每一步配置的參數(shù)是否正確就OK了。
2、在命令行上使用“emca -deconfig dbcontrol db”命令刪除配置
3、使用“emca -repos drop”命令刪除 repository
注:第2、3步驟都要做,要不然在重新安裝EM的時(shí)候會(huì)報(bào)“ ORA-20001: SYSMAN already exists..”的錯(cuò)誤導(dǎo)致安裝失敗。
4、使用“emca -config dbcontrol db -repos create”命令進(jìn)行創(chuàng)建em。
以上步驟做完后就成功創(chuàng)建好em了,點(diǎn)擊開始菜單上的oracle文件夾里的Database control-orcl連接就可以正常訪問em了。
這里需要注意的是,之前我初次安裝好oracle時(shí)訪問em的地址是 ,這里端口號(hào)是1158,而現(xiàn)在我重建em后訪問時(shí)地址鏈接后面的端口號(hào)變成了5500.
當(dāng)前名稱:oracle怎么看em Oracle怎么看表大小
URL標(biāo)題:http://aaarwkj.com/article4/hhhjoe.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供小程序開發(fā)、品牌網(wǎng)站制作、網(wǎng)頁(yè)設(shè)計(jì)公司、用戶體驗(yàn)、電子商務(wù)、定制開發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)