Skip to Main Content

Oracle Database Free

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[SOLVED] 23ai Free on ARM fails with ORA-00600: internal error code, arguments: [(DMM) kgslaInitCtx_lazy:library.load.fail]

Simon_DBASep 17 2024 — edited Sep 17 2024

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:

  1. The missing prerequisite is gcc-gfortran - the Fortran compiler - I guess we're not past requiring Fortran?
  2. 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.

This post has been answered by Gerald Venzl-Oracle on Sep 18 2024
Jump to Answer
Comments
Post Details
Added on Sep 17 2024
3 comments
1,360 views