天天看點

安裝Oracle RAC時,不能驗證ASMSNMP密碼問題的解決(ORA-01031或ORA-01017)

1."ORA-01031: insufficient privileges"

[grid@node1 bin]$ orapwd file=/u01/app/11.2.0/grid/dbs/orapw+ASM password=oracle_4U

[grid@node1 dbs]$ scp orapw+ASM Node2:/u01/app/11.2.0/grid/dbs/

[grid@node1 dbs]$ scp orapw+ASM Node3:/u01/app/11.2.0/grid/dbs/

Login in to Oracle database as

export ORACLE_SID=+ASM1

export ORACLE_HOME=/u01/app/11.2.0/grid

[grid@node1 bin]$ sqlplus / as sysasm

SQL>create user asmsnmp identified by oracle_4U;

SQL> grant sysdba to asmsnmp;

2.ora 01017 invalid username/password logon denied

SQL>alter user asmsnmp identified by oracle_4U;