签到成功

知道了

CNDBA社区CNDBA社区

How To Change ASM SYS PASSWORD

2016-11-25 15:50 1538 0 原创 Oracle 11g
作者: dave

 

To change the ASM SYS Password

Things tried:

SQL> password
Changing password for SYS
Old password:
New password:
Retype new password:
ERROR:
ORA-00600: internal error code, arguments: [15051], [], [], [], [], [], [], []

 http://www.cndba.cn/dave/article/820

SQL> select INSTANCE_NAME from v$instance;

INSTANCE_NAME
----------------
+ASM

SQL> ALTER USER sys IDENTIFIED BY <new_password> REPLACE <old_password>;
ALTER USER sys IDENTIFIED BY <new_password> REPLACE <old_password>
*
ERROR at line 1:
ORA-01109: database not open 

 

The following error also might occur:
SQL> alter user sys identified by ;
alter user sys identified by
*
ERROR at line 1:
ORA-01031: insufficient privileges

Solutionhttp://www.cndba.cn/dave/article/820

       We can not change the password for ASM databases via alter user command.
       The password should be the one provided when the password file was created,also REMOTE_LOGIN_PASSWORDFILE should be set to EXCLUSIVE on all instances.

       If you want to change the password then you would need to recreate the password file using the orapwd utility 
 
http://www.cndba.cn/dave/article/820

Recreate the password file for the ASM instance as follows: http://www.cndba.cn/dave/article/820

1.  Set the ORACLE_HOME and ORACLE_SID to the ASM instance
2.  connect /as sysdba from sqlplus
3.  If the value of the "remote_login_passwordfile" parameter in the pfile or spfile is EXCLUSIVE, you must shutdown your instance
4.  RENAME or DELETE the existing password file PWD<SID>.ora( In Windows) / orapw<SID> ( in UNIX) 
5.  Issue the command:
http://www.cndba.cn/dave/article/820

WINDOWS:

orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>

UNIX:

orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>

 

 

http://www.cndba.cn/dave/article/820
http://www.cndba.cn/dave/article/820

       The passwordfile can be recreated for ASM while ASM instance is up. Usually for normal DB instances, we recommended that DB instances be shutdown before changing the passwordfile.

 

 

 http://www.cndba.cn/dave/article/820

 

 

 http://www.cndba.cn/dave/article/820

From Oracle

-------------------------------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 群:62697716();   DBA2 群:62697977()   DBA3 群:62697850()  

DBA 超级群:63306533();  DBA4 群: 83829929  DBA5群: 142216823   

http://www.cndba.cn/dave/article/820

聊天 群:40132017   聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle 11g

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
dave

dave

关注

人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."

  • 2278
    原创
  • 3
    翻译
  • 579
    转载
  • 196
    评论
  • 访问:8154515次
  • 积分:4410
  • 等级:核心会员
  • 排名:第1名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ