'dbaascli database changepassword' fails
(Doc ID 2866034.1)
Last updated on NOVEMBER 16, 2022
Applies to:
Gen 2 Exadata Cloud at Customer - Version N/A to N/A [Release All Releases]Information in this document applies to any platform.
Symptoms
dbaascli change password is failing
[root@exaccXYZdb02 TALPRD]# dbaascli database changepassword --dbname TALPRD
DBAAS CLI version 21.4.1.1.0
Executing command database changepassword
Enter username whose password change is required: sys
Enter new password:
Re-enter new password:
ERROR : Failed to execute cmd export ORACLE_HOME=/u02/app/oracle/product/11.2.0/dbhome_5; sid=$(export ORACLE_HOME=/u02/app/oracle/product/11.2.0/dbhome_5;/u02/app/oracle/product/11.2.0/dbhome_5/bin/srvctl status instance -d TALPRD -n $(hostname -s) | /bin/tr -s ' ' | /bin/cut -d ' ' -f 2 ); /bin/cp /var/opt/oracle/dbaas_acfs/TALPRD/orapwTALPRD /u02/app/oracle/product/11.2.0/dbhome_5/dbs/orapw$sid on node exacciXYZdb01. Error : 1
/bin/cp: cannot stat ‘/var/opt/oracle/dbaas_acfs/TALPRD/orapwTALPRD’: No such file or directory
ERROR : Failed to replicate password file : /var/opt/oracle/dbaas_acfs/TALPRD/orapwTALPRD
An error occurred during module execution.
Please refer to the log file for more information.
DBAAS CLI version 21.4.1.1.0
Executing command database changepassword
Enter username whose password change is required: sys
Enter new password:
Re-enter new password:
ERROR : Failed to execute cmd export ORACLE_HOME=/u02/app/oracle/product/11.2.0/dbhome_5; sid=$(export ORACLE_HOME=/u02/app/oracle/product/11.2.0/dbhome_5;/u02/app/oracle/product/11.2.0/dbhome_5/bin/srvctl status instance -d TALPRD -n $(hostname -s) | /bin/tr -s ' ' | /bin/cut -d ' ' -f 2 ); /bin/cp /var/opt/oracle/dbaas_acfs/TALPRD/orapwTALPRD /u02/app/oracle/product/11.2.0/dbhome_5/dbs/orapw$sid on node exacciXYZdb01. Error : 1
/bin/cp: cannot stat ‘/var/opt/oracle/dbaas_acfs/TALPRD/orapwTALPRD’: No such file or directory
ERROR : Failed to replicate password file : /var/opt/oracle/dbaas_acfs/TALPRD/orapwTALPRD
An error occurred during module execution.
Please refer to the log file for more information.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |