Gave the new 23ai Free for aarch64
(https://www.oracle.com/database/free/get-started/) a spin but ran into, and then solved an initial error right out of the gate.
Environment details:
- Host: Mac M1
- Guest: Oracle Linux 8 for aarch64
- Virtualization software: VirtualBox 7.1 for Apple Silicon
- Guest configuration: 2 CPUs and 5120GB of memory
DBCA (regardless of whether run manually or using the service configuration script) errors with:
Prepare for db operation
7% complete
Copying database files
8% complete
[WARNING] ORA-00443: background process "OFSD" did not start
9% complete
[FATAL] ORA-01034: The Oracle instance is not available for use. Start the instance.
29% complete
100% complete
[FATAL] ORA-01034: The Oracle instance is not available for use. Start the instance.
7% complete
0% complete
Look at the log file "/opt/oracle/cfgtoollogs/dbca/FREE/FREE.log" for further details.
Database configuration failed. Check logs under '/opt/oracle/cfgtoollogs/dbca'.
Checking the alert log and associated trace file shows:
ORA-00600: internal error code, arguments: [(DMM) kgslaInitCtx_lazy:library.load.fail], [], [], [], [], [], [], [], [], [], [], []
And looking this up with the ORA-00600 lookup tool on MOS shows:
But going to the incident trace file shows the actual problem:
(DMM) kgslaInitCtx: skgdllOpen /opt/oracle/product/23ai/dbhomeFree/lib/libora_netlib.so OS error: 79 Error message: Can not access a needed shared library OtherInfo: libgfortran.so.5: cannot open shared object file: No such file or directory
And from there, the solution is quite obvious:
dnf install gcc-gfortran
Then it works and the DBCA completes successfully.
But this is a bit interesting as:
- The missing prerequisite is
gcc-gfortran
- the Fortran compiler - I guess we're not past requiring Fortran?
- I did install the preinstall RPM
oracle-database-preinstall-23ai-1.0-2.el8.aarch64
which did not catch this prerequisite.
In my opinion, this is a small dependency/prerequisite bug with the preinstall RPM.