My Oracle Support Banner

ODA OAK Stack: How to Manually Delete The Database That OAKCLI Cannot Remove (Doc ID 1910536.1)

Last updated on JANUARY 09, 2023

Applies to:

Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.


The following information describes steps used for deleting ASM based datafiles on the ODA for the OAK stack if not properly removed using the following commands.

NOTE: There are two major implementations of the Oracle Database Appliance Stack.

Oracle Database Appliance Kit  (OAK Stack)  is administered using the OAK (OAKCLI) command line interface.
Database Cloud Service               (DCS Stack)   is administered using the ODA Console or ODACLI and ODAADMCLI commands.

This note is specific to ODA administration using the OAK stack.

Due to architectural changes, these same steps cannot be used for the DCS stack.
See the ODA documentation found at for supported methods to clean-up failed database deletion



oakcli delete database - fails to delete the database which cannot startup and it has to be removed manually.
oakcli create database - fails to create a database with the same name and reports that the database name already exists, even though all the physical files were deleted.


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.