Oracle10g的DBA无法登录如何解决方案

生活没有真正的完美,只有不完美才是最真实的美;生活没有一帆风顺的,只有披荆斩棘才能路路顺;生活没有永远的成功,只有在挫折中站起才是真正的成功,只有闪光的人生才算是生命的永恒。
下面就是解决方案:
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"
结果:
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. 再次访问: http://hostname:5560/isqlplus/dba, 给出用户名和密码: yoyo 和 ch51***** (全小写),就可看到isqlplus的登入界面,
然后再提供用户名:SYSTEM,口令:ch51*****, 连接标识:(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=KCSQLBI)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl))),权限SYSDBA, 就可以访问了。

以上就是Oracle10g的DBA无法登录如何解决方案。纽扣第一颗就扣错了可你扣到最后一颗才发现。有些事一开始就是错的可只有到最后才不得不承认。更多关于Oracle10g的DBA无法登录如何解决方案请关注haodaima.com其它相关文章!

您可能有感兴趣的文章
Oracle10gDG数据文件迁移的如何实现

Oracle10g如何利用amdu抽取数据文件的方法好代码教程

WIN7下ORACLE10g服务端和客户端的安装图文好代码教程

Oracle10g服务器端安装预备步骤(详细图文好代码教程)

在window操作系统上安装Oracle10g图文好代码教程