Resolving ORA-65093: Multitenant
Container Database Not Set Up Properly
Issue Summary
While attempting to start an Oracle 19c database using the STARTUP MOUNT
command, the following error was encountered:
ORA-65093: multitenant container database not set up properly
This error indicates that the Oracle instance is configured as a Container Database
(CDB), but the proper configuration parameter is missing from the initialization
parameter file (PFILE).
www.linkedin.com/in/daniyaldba/ +923408801269 danishjee05@gmail.com
Symptoms
1. startup mount fails with:
2. ORA-65093: multitenant container database not set up properly
3. Checking database mode:
select cdb from v$database;
Output:
CDB
---
YES
This confirms the database is in CDB mode.
4. Checking available containers or PDBs returns no rows:
select name, open_mode, con_id from v$containers;
Output
no rows selected
5. Querying dba_pdbs or v$pdbs results in:
6. ORA-01219: database or pluggable database not open: queries allowed on
fixed tables or views only
Root Cause
The init.ora (PFILE) file used to start the database did not include the required
parameter:
enable_pluggable_database = true
This parameter is mandatory when running a Container Database (CDB). Without
it, Oracle cannot initialize the multitenant architecture properly.
www.linkedin.com/in/daniyaldba/ +923408801269 danishjee05@gmail.com
Steps to Resolve
1. Locate the current PFILE
If you don’t already have a custom one, create it from the existing SPFILE:
create spfile from pfile = '/u01/app/oracle/product/19.0.0/dbhome_1/dbs/init.ora';
2. Edit the PFILE
Open /u01/app/oracle/product/19.0.0/dbhome_1/dbs/init.ora in your preferred
editor and add the following line:
enable_pluggable_database = true
Ensure the file includes this line along with other parameters like:
db_name='ORCL'
enable_pluggable_database = true
sga_target=512M
pga_aggregate_target=256M
...
3. Start the instance with the corrected PFILE
startup
4. Create a new SPFILE
create spfile from pfile = '/u01/app/oracle/product/19.0.0/dbhome_1/dbs/init.ora';
5. Restart the database using SPFILE
shu immediate;
startup mount;
www.linkedin.com/in/daniyaldba/ +923408801269 danishjee05@gmail.com
6. Verify the fix
show con_name;
show pdbs;
select name, open_mode from v$pdbs;
Conclusion
The ORA-65093 error is caused by a misconfigured initialization file for a
Container Database. Adding the line enable_pluggable_database = true to your
PFILE resolves the issue. Once the instance is restarted, you should be able to
access and manage your pluggable databases as expected
========================GOOD LUCK========================
www.linkedin.com/in/daniyaldba/ +923408801269 danishjee05@gmail.com