Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pwcopy error "ASMCMD-9456: password file should be located on an ASM disk group" - Oracle 12.2 on AI

Emilija.KJul 11 2018 — edited Jul 13 2018

Hi,

I need to get the database password file from its ASM location to the file system for a creation of Data Guard (in order to transfer it the Standby Site.)

I work in Oracle 12.2 on AIX.

I tried the following as both oracle and grid user, and in both cases the error is:

"ASMCMD-9456: password file should be located on an ASM disk group"  and no file was created in the target location.

ASMCMD [+] > pwget --dbuniquename CDBOELD

+DATA1/CDBOELD/PASSWORD/pwdcdboeld.368.957193363

ASMCMD [+] > pwcopy --dbuniquename CDBOELD -f '+DATA1/CDBOELD/PASSWORD/pwdcdboeld.368.957193363' '/home/oracle'

ASMCMD-9456: password file should be located on an ASM disk group

ASMCMD [+] >

No file created under /home/oracle.

I then tried to transfer the password file to another ASM disk group, and it worked:

ASMCMD [+] > pwcopy --dbuniquename CDBOELD -f +DATA1/CDBOELD/PASSWORD/pwdcdboeld.368.957193363 +FRA1/CDBOELD

copying +DATA1/CDBOELD/PASSWORD/pwdcdboeld.368.957193363 -> +FRA1/CDBOELD/CDBOELD

ASMCMD [+] >

while it seems to have re-pointed the password file to the new location:

oracle@***************:+ASM1:/home/oracle>asmcmd -p

ASMCMD [+] > pwget --dbuniquename CDBOELD

+FRA1/CDBOELD/CDBOELD

ASMCMD [+] >

I have reviewed the following Oracle support note:

Step By Step Guide On Creating Physical Standby Using RMAN Backup based Duplicate In ASM For ASM Primary (Doc ID 837102.1)

which says:

"c) Recreate the password file in standby using orapwd utility"

Can someone tell me how this should work in 12.2: is pwcopy supposed to work, or should I re-create the password file?

Thank you,

Emilija

This post has been answered by Ian Baugaard on Jul 11 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2018
Added on Jul 11 2018
2 comments
4,679 views