My Oracle Support Banner

ODA: Running "oakcli delete database -db <dbname>" Fails With Error ORA-12514 (Doc ID 2034612.1)

Last updated on JANUARY 14, 2024

Applies to:

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


Running the command:

    oakcli delete database -db

fails with the following error:

    ORA-12514: TNS:listener does not currently know of service requested in connect  descriptor.

The client is able to connect to the database successfully using sqlplus @ as sysdba.  However, when trying the same command in the script, the connection fails with ORA-12514 error.

For example:



The db_domain parameter was reset or altered after the database was created.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

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