Oracle 10g的DBA無(wú)法登錄解決方案
更新時(shí)間:2009年05月07日 16:07:25 作者:
很多時(shí)候當(dāng)裝好Oracle10g后,登錄http://kcsqlbi:5560/isqlplus/dba彈出的Windows認(rèn)證窗口,盡管輸入什么帳號(hào),都無(wú)法登錄。
下面就是解決方案:
1- From the command prompt, stop isqlplus:
c:\>isqlplusctl stop
2- Assuming that you install oracle under C drive, run the following comands:
c:\>set oracle_home=c:\oracle\product\10.2.0\db_1
c:\>set java_home=%ORACLE_HOME%\jdk
3- Change directory to:
cd %ORACLE_HOME%\oc4j\j2ee\isqlplus\application-deployments\isqlplus
4- Suppose you need to create a new user with user name 'yoyo' and password 'ch51*****', run the following command:
%JAVA_HOME%\bin\java -Djava.security.properties=%ORACLE_HOME%\oc4j\j2ee\home\config\jazn.security.props -jar %ORACLE_HOME%\oc4j\j2ee\home\jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -adduser "iSQL*Plus DBA" yoyo ch51*****
5- To check that adding this new user was successful, run the following command:
%JAVA_HOME%\bin\java -Djava.security.properties=%ORACLE_HOME%\oc4j\j2ee\home\config\jazn.security.props -jar %ORACLE_HOME%\oc4j\j2ee\home\jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -listusers "iSQL*Plus DBA"
結(jié)果:
admin
yoyo
6- To grant a user access to the webDba role from the command line, enter:
%JAVA_HOME%\bin\java -Djava.security.properties=%ORACLE_HOME%\oc4j\j2ee\home\config\jazn.security.props -jar %ORACLE_HOME%\oc4j\j2ee\home\jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -grantrole webDba "iSQL*Plus DBA" yoyo
7- Now, run start isqlplus again and enjoy it:
isqlplusctl start
8. 再次訪問(wèn): http://hostname:5560/isqlplus/dba, 給出用戶名和密碼: yoyo 和 ch51***** (全小寫(xiě)),就可看到isqlplus的登入界面,
然后再提供用戶名:SYSTEM,口令:ch51*****, 連接標(biāo)識(shí):(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=KCSQLBI)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl))),權(quán)限SYSDBA, 就可以訪問(wèn)了。
1- From the command prompt, stop isqlplus:
c:\>isqlplusctl stop
2- Assuming that you install oracle under C drive, run the following comands:
c:\>set oracle_home=c:\oracle\product\10.2.0\db_1
c:\>set java_home=%ORACLE_HOME%\jdk
3- Change directory to:
cd %ORACLE_HOME%\oc4j\j2ee\isqlplus\application-deployments\isqlplus
4- Suppose you need to create a new user with user name 'yoyo' and password 'ch51*****', run the following command:
%JAVA_HOME%\bin\java -Djava.security.properties=%ORACLE_HOME%\oc4j\j2ee\home\config\jazn.security.props -jar %ORACLE_HOME%\oc4j\j2ee\home\jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -adduser "iSQL*Plus DBA" yoyo ch51*****
5- To check that adding this new user was successful, run the following command:
%JAVA_HOME%\bin\java -Djava.security.properties=%ORACLE_HOME%\oc4j\j2ee\home\config\jazn.security.props -jar %ORACLE_HOME%\oc4j\j2ee\home\jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -listusers "iSQL*Plus DBA"
結(jié)果:
admin
yoyo
6- To grant a user access to the webDba role from the command line, enter:
%JAVA_HOME%\bin\java -Djava.security.properties=%ORACLE_HOME%\oc4j\j2ee\home\config\jazn.security.props -jar %ORACLE_HOME%\oc4j\j2ee\home\jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -grantrole webDba "iSQL*Plus DBA" yoyo
7- Now, run start isqlplus again and enjoy it:
isqlplusctl start
8. 再次訪問(wèn): http://hostname:5560/isqlplus/dba, 給出用戶名和密碼: yoyo 和 ch51***** (全小寫(xiě)),就可看到isqlplus的登入界面,
然后再提供用戶名:SYSTEM,口令:ch51*****, 連接標(biāo)識(shí):(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=KCSQLBI)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl))),權(quán)限SYSDBA, 就可以訪問(wèn)了。
您可能感興趣的文章:
- 淺談Oracle 11g 發(fā)行版2 新安裝后關(guān)于登錄的一些基本操作
- 登錄oracle數(shù)據(jù)庫(kù)時(shí)密碼忘記的解決方法
- [Oracle] 如何使用觸發(fā)器實(shí)現(xiàn)IP限制用戶登錄
- Oracle 10g各個(gè)帳號(hào)的訪問(wèn)權(quán)限、登錄路徑、監(jiān)控狀態(tài)命令查詢等等
- ORACLE 查詢被鎖住的對(duì)象,并結(jié)束其會(huì)話的方法
- oracle查看被鎖的表和被鎖的進(jìn)程以及殺掉這個(gè)進(jìn)程
- 深入探討:Oracle中如何查詢正鎖表的用戶以及釋放被鎖的表的方法
- ORACLE 如何查詢被鎖定表及如何解鎖釋放session
- Oracle數(shù)據(jù)庫(kù)賬號(hào)被鎖定解決方法
- 使用Oracle數(shù)據(jù)庫(kù)登錄時(shí)被告知用戶被鎖怎么解決
相關(guān)文章
Oracle存儲(chǔ)過(guò)程里操作BLOB的字節(jié)數(shù)據(jù)的辦法
該篇文章介紹了如何在Oracle存儲(chǔ)過(guò)程中操作BLOB的字節(jié)數(shù)據(jù),作者研究了如何獲取BLOB的字節(jié)長(zhǎng)度、如何使用DBMS_LOB包進(jìn)行BLOB操作、如何進(jìn)行字節(jié)級(jí)操作以及如何使用UTL_RAW包,感興趣的朋友一起看看吧2025-03-03
oracle數(shù)據(jù)庫(kù)中sql%notfound的用法詳解
SQL%NOTFOUND 是一個(gè)布爾值。下面通過(guò)本文給大家分享oracle數(shù)據(jù)庫(kù)中sql%notfound的用法,需要的的朋友參考下吧2017-06-06
Oracle創(chuàng)建用戶與表空間的絕對(duì)干貨(建議收藏)
在JAVAEE工程當(dāng)中時(shí)常用的Oracle數(shù)據(jù)庫(kù),作為一名后臺(tái)程序開(kāi)發(fā)人員,掌握如何在Oracle創(chuàng)建用戶,表空間是一項(xiàng)必備的技能,下面這篇文章主要給大家介紹了關(guān)于Oracle創(chuàng)建用戶與表空間的相關(guān)資料,需要的朋友可以參考下2022-09-09
oracle sys_connect_by_path 函數(shù) 結(jié)果集連接
這幾天和幾個(gè)網(wǎng)上朋友一起探討oracle開(kāi)發(fā)中的一些特別之處,談到了豎橫對(duì)換的方式。2009-07-07
在Oracle表中進(jìn)行關(guān)鍵詞搜索的過(guò)程
這篇文章主要介紹了在Oracle表中進(jìn)行關(guān)鍵詞搜索的過(guò)程,我們可以通過(guò)Oracle?SQL?Developer或Toad運(yùn)行PL/SQL塊,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2022-06-06
Oracle系列學(xué)習(xí)之Oracle正則表達(dá)式詳解
正則表達(dá)式應(yīng)用廣泛,在數(shù)據(jù)庫(kù)中也有很大的應(yīng)用空間,這篇文章主要給大家介紹了關(guān)于Oracle系列學(xué)習(xí)之Oracle正則表達(dá)式的相關(guān)資料,文中通過(guò)代碼介紹的非常詳細(xì),需要的朋友可以參考下2023-12-12
Oracle中常見(jiàn)的33個(gè)等待事件小結(jié)
在Oracle 10g中的等待事件有872個(gè),11g中等待事件1116個(gè)。 我們可以通過(guò)v$event_name 視圖來(lái)查看等待事件的相關(guān)信息2013-07-07
Oracle ORA 07445 evaopn2()+128錯(cuò)誤問(wèn)題的解決方案
這篇文章主要介紹了Oracle ORA 07445 evaopn2()+128錯(cuò)誤問(wèn)題的解決方案,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友可以參考下2016-09-09

