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

Last updated on AUGUST 12, 2015

Applies to:

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

Symptoms

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:

 

Changes

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

Cause

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 hundreds of Community platforms