While promoting ASM instance in oracle 12c Cloud using asmsnmp user, you might get error like

Failed to connect to the ASM: ORA-01017: invalid username/password; login denied The Connect Descriptor was (DESCRIPTION=(ADDRESS_LIST = (ADDRESS=(PROTOCOL=tcp)(HOST=rachost1)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=+ASM1)(INSTANCE_NAME=+ASM1)(UR=A)(SERVER=DEDICATED)))

Solution:

We need to reset the password for asmsnmp user.

ASMCMD> lspwusr
Username sysdba sysoper sysasm
     SYS   TRUE    TRUE   TRUE
ASMSNMP   TRUE   FALSE  FALSE
ASMCMD> orapwusr --modify asmsnmp
Enter password: ********
ASMCMD>


Now try to promote the asm instance, using the password of asmsnmp which we set from the asmcmd prompt.

SEE ALSO: