Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Tebogo.

Asked: March 10, 2026 - 12:28 pm UTC

Last updated: March 20, 2026 - 2:11 am UTC

Version: 26ai

You Asked

How to troubleshoot this error:

[oracle@localhost ~]$ sudo setenforce 0
[sudo] password for oracle:
[oracle@localhost ~]$ export ORACLE_BASE=/u01/app/oracle
[oracle@localhost ~]$ export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1
[oracle@localhost ~]$ export PATH=$ORACLE_HOME/bin:$PATH
[oracle@localhost ~]$ export ORACLE_SID=FREE
[oracle@localhost ~]$ export CFGTOOLLOGS=/tmp/dbca_logs
[oracle@localhost ~]$ mkdir -p /tmp/dbca_logs
[oracle@localhost ~]$ chmod 777 /tmp/dbca_logs
[oracle@localhost ~]$ mkdir -p /u01/app/oracle/oradata
[oracle@localhost ~]$ chmod -R 775 /u01/app/oracle
[oracle@localhost ~]$ chown -R oracle:oinstall /u01/app/oracle
[oracle@localhost ~]$ unset DISPLAY
[oracle@localhost ~]$ $ORACLE_HOME/bin/dbca -silent -createDatabase \
> -templateName General_Purpose.dbc \
> -gdbname FREE \
> -sid FREE \
> -createAsContainerDatabase true \
> -numberOfPDBs 1 \
> -pdbName FREEPDB \
> -sysPassword Oracle \
> -systemPassword Oracle \
> -pdbAdminPassword Oracle \
> -databaseType MULTIPURPOSE \
> -memoryMgmtType auto_sga \
> -datafileDestination /u01/app/oracle/oradata \
> -emConfiguration NONE
[FATAL] [INS-00001] Unknown irrecoverable error
CAUSE: No additional information available.
ACTION: Refer to the logs or contact Oracle Support Services
SUMMARY:
- [DBT-00006] The logging directory could not be created.
- [DBT-00006] The logging directory could not be created.
[oracle@localhost ~]$

and Connor said...

This doesn't look right

[oracle@localhost ~]$ chmod -R 775 /u01/app/oracle
[oracle@localhost ~]$ chown -R oracle:oinstall /u01/app/oracle

because you do this BEFORE you install the software. After the software is installed you run root.sh which will change the permissions on some objects under the structure.

The workflow is typically:

[oracle@localhost ~]$ export ORACLE_BASE=/u01/app/oracle
[oracle@localhost ~]$ export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1
[oracle@localhost ~]$ export PATH=$ORACLE_HOME/bin:$PATH
[oracle@localhost ~]$ export ORACLE_SID=FREE
[oracle@localhost ~]$ mkdir -p /u01/app/oracle/oradata
[oracle@localhost ~]$ chmod -R 775 /u01/app/oracle
[oracle@localhost ~]$ chown -R oracle:oinstall /u01/app/oracle

Then unzip the software and run "runinstaller" (which will include running some things as root)

And after that you'd run dbca. I suspect you've clobbered some permissions

I'd also try it with the defaults (without CFDGTOOLLOGS etc) first

More to Explore

CLOB/BLOB/etc

Complete documentation on Securefiles and Large Objects here