My Oracle Support Banner

"odacli Register-database" ORA-12545: "Connect failed because target host or object does not exist" DCS-10045:Validation error encountered: test: "ezconnect failed" using Two Ports (Doc ID 2730240.1)

Last updated on JANUARY 01, 2023

Applies to:

Oracle Database Appliance Software - Version to ODA [Release 12.1 to 12.2]
Information in this document applies to any platform.


We cannot register database to the ODA repository that have been migrated to the ODA.
Therefore we cannot manage the database using ODACLI commands

[root@,, ~]#odacli register-database --dbclass OLTP --dbshape odb2
--dbtype SI --servicename "XXXXX" --syspassword

Password for SYS:
DCS-10045:Validation error encountered: test: ezconnect failed
DCS-10001:Internal error encountered: Unable to connect to the databaseERROR:
ORA-12545: Connect failed because target host or object does not exist


Attempting to register a database using dcs  

   odacli register -database      command

Second port specified for the database having the problem

[+ASM1] lsnrctl status
Listening Endpoints Summary...



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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.