Failed To Copy Password File for Standby Database When Trying To Register Database Over ODACLI
(Doc ID 3044170.1)
Last updated on SEPTEMBER 23, 2024
Applies to:
Oracle Database Appliance Software - Version 19.17.0.0.0 ODA and laterInformation in this document applies to any platform.
Symptoms
When attempting to register the database using odacli, the following error reported.
dcs-agent.log
-----------------------
...
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.u.c.DCSProcessBuilder: Return code: 0
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.u.c.CommandExecutor: Return code: 0
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.u.CommonsUtils: Output :
Password ******** +DATA/xxxx/PASSWORD/orapwxxxx ********
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbUtils: Password file location for db xxxx is : +DATA/<DB NAME>/PASSWORD/orapwtxxxx
2024-08-23 14:57:32,951 ERROR [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbUtils: Password file for database <DB NAME> not found in local file system
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbOperations: Failed to copy password file from local to shared storage for database xxxx
2024-08-23 14:57:32,951 ERROR [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbActions: Failed to copy password file from local to shared storage for database xxxx
2024-08-23 14:57:32,952 ERROR [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.j.JsonRequestProcessor: RPC request invocation failed on request: {"classz":"com.oracle.dcs.agent.rpc.service.db.DbActions","method":"copyPwfileToSharedStorage","params":[{"type":"java.lang.String","value":"<DB NAME>"}],"revertable":false,"threadId":51091,"jsonInfo":{"JSON_REQUEST_TASKNAME":"Database Service registration"}}
com.oracle.dcs.commons.exception.DcsException: DCS-10001:Internal error encountered: Failed to copy password file for database.
at com.oracle.dcs.commons.exception.DcsException$Builder.build(DcsException.java:141)
at com.oracle.dcs.agent.rpc.service.db.DbActions.copyPwfileToSharedStorage(DbActions.java:3332)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.dcs.commons.jrpc.JsonRequestProcessor.invokeRequest(JsonRequestProcessor.java:246)
....
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.u.c.DCSProcessBuilder: Return code: 0
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.u.c.CommandExecutor: Return code: 0
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.u.CommonsUtils: Output :
Password ******** +DATA/xxxx/PASSWORD/orapwxxxx ********
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbUtils: Password file location for db xxxx is : +DATA/<DB NAME>/PASSWORD/orapwtxxxx
2024-08-23 14:57:32,951 ERROR [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbUtils: Password file for database <DB NAME> not found in local file system
2024-08-23 14:57:32,951 DEBUG [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbOperations: Failed to copy password file from local to shared storage for database xxxx
2024-08-23 14:57:32,951 ERROR [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.a.r.s.d.DbActions: Failed to copy password file from local to shared storage for database xxxx
2024-08-23 14:57:32,952 ERROR [Copy Pwfile to Shared Storage : JobId=7de61ac7-8e34-4bc0-b117-6544afa40d74] [] c.o.d.c.j.JsonRequestProcessor: RPC request invocation failed on request: {"classz":"com.oracle.dcs.agent.rpc.service.db.DbActions","method":"copyPwfileToSharedStorage","params":[{"type":"java.lang.String","value":"<DB NAME>"}],"revertable":false,"threadId":51091,"jsonInfo":{"JSON_REQUEST_TASKNAME":"Database Service registration"}}
com.oracle.dcs.commons.exception.DcsException: DCS-10001:Internal error encountered: Failed to copy password file for database.
at com.oracle.dcs.commons.exception.DcsException$Builder.build(DcsException.java:141)
at com.oracle.dcs.agent.rpc.service.db.DbActions.copyPwfileToSharedStorage(DbActions.java:3332)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.dcs.commons.jrpc.JsonRequestProcessor.invokeRequest(JsonRequestProcessor.java:246)
....
Changes
Register a standby database using odacli which password file is located in ASM or ACFS
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 |
Changes |
Cause |
Solution |
References |