Installing Oracle 12.2.01 On Oracle Linux 7.4..Or..”The Story Of The Tainted Kernel”

When moving from Oracle to a new Oracle 12c environment, we wanted to build everything on the latest and greatest levels…Little did we know we would run into quite a snag..

We installed Oracle Release 7.4, with all the recommended packages. Installing was not an issue, and we proceeded with the installation of the GRID software of Oracle, the one with a unpacked oracle grid home and uses

All went fine, however..when we reached the script part things started to go askew..


The…no problem..

The however…bailed out at step 14..

Basically the execution of while installing Grid Infrastructure on RedHat Linux or Oracle Linux with RedHat Compatible Kernel (RHCK) 7 fails with the following error:

CLSRSC-594: Executing installation step 14 of 19: ‘InstallACFS’.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘node01’
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘bedc-odb0001’ has completed
CRS-4133: Oracle High Availability Services has been stopped
CRS-4123: Oracle High Availability Services has been started.

CLSRSC-400: A system reboot is required to continue installing.

…Blah blah…

.. Failed…

Rendering the whole installation exercise useless.

Looking in the installer log file mentioned at the start of the, we found this:

> ACFS-9154: Loading ‘oracleoks.ko’ driver.
> modprobe: ERROR: could not insert ‘oracleoks’: Unknown symbol in module, or unknown parameter (see dmesg)
> ACFS-9109: oracleoks.ko driver failed to load.

And looking into the dmesg log:

[ 14.749567] Request for unknown module key ‘Oracle Linux Kernel Module Signing Key: 2bb352412969a3653f0eb6021763408ebb9bb5ab’ err -11
[ 14.749575] oracleafd: loading out-of-tree module taints kernel.
[ 14.749577] oracleafd: module license ‘Oracle Corporation’ taints kernel.
[ 14.749578] Disabling lock debugging due to kernel taint
[ 14.749673] oracleafd: module verification failed: signature and/or required key missing – tainting kernel

Ok, we use a supported OS, so a search on showed us there was a patch available: (there is another one, smaller in size using the the same patch number and with ACFS in the name..

– Cleaning everything up (really deleting everything!) and unpacking the linux_grid etc..
– Installed the patch with  ./ -applyOneOffs /oracle/patch/25078431

Ignore the XDISPLAY messages when installing from an non-x-terminal.

Got the successful message, and started the installation again..

And ran into exact the same issue…

Long story short (actually 1,5 frustrating day of hacking and changing a lot..) we found out the kernel was not matching! What we where running was kernel:


What the installer was expecting (WITH PATCH!) was

kernel-3.10.0-514.16.1.el7.x86_64 (the original version)

Now the installation went without a hitch! Keep in mind when upgrading the OS, the kernel must not upgrade until the installer is up to par!


About GemsOfProgramming

Beeing a previously enthusiastic Java programmer, I rolled into the Oracle Database Administration world. It turned out I got a knack for this, and since approx. 2000 I'm a full time DBA. My experiences touches lot of Oracle products like Forms and Reports 9/10, JDAPI, Application Server, Weblogic Fusion and of course: Oracle Enterprise Databases, JavaFX, Swing and other Java components.
This entry was posted in 12c, ASM, Databases, upgrade and tagged . Bookmark the permalink.

14 Responses to Installing Oracle 12.2.01 On Oracle Linux 7.4..Or..”The Story Of The Tainted Kernel”

  1. AJ says:

    THANK YOU!!!

  2. Robert Y. says:

    I had this exact issue, just wanted to add that this is solved by installing a patch while running -applyOneOffs

    Is not needed to “downgrade” the kernel, if you check the certification matrix for the ACFS Support ( Doc ID 1369107.1 )

    RedHat Linux 7 Update 4 X86_64 Base + Patch 26247490 <<<————Update 4 = RHEL 7.4 (Maipo)

    so you need to apply the patch mentioned there.

    • Thank you for this addition! The article is getting a bit stale, but with these additions, the information keeps up a bit the the developments..

      ps: I have said goodbye to the kernel modules/dependencies; we don’t use ACFS and I have been bitten by a nasty bug in the new AFD functionality in 12.2..

      • francozen says:

        I’m assuming you found a way to tell ./ to include the ACFS errors and/or to avoid installing ACFS support. How is it done ? Thank you

      • francozen says:

        I meant “ignore” of course, not “include”

      • Ah, gotcha… It did confuse me.. I must say, this one has been a while, but yes, I got rid of the ACFS module, and am running kernel independent these days on a production system. Although the installer is checking about this, after installation you can remove the module. The installer should not balk about this module anymore when the correct kernel is used. After the installation another kernel can be used, the module removed (from the system as we did) etc.. As long as you don’t use the ACFS, you should be fine, if you do use it, you need the kernel module of course..We run ASM only for use of the Oracle datafiles/ FRA etc..Not for actual os/user files, so we’re good.

  3. David M Skibinski says:

    Ran into the same thing. Oracle support was useless. The only problem I have now is grid does not startup automatically on reboot. Start fine manually

  4. Sailesh P says:

    I’m running into same issue while installing Grid infrastructure for a standalone Instance on RHEL7.5. Oracle Support has been involved but not resolution yet.

    • Mariusz says:

      Sean Urbina – do you have ASM used in your environment? Is that solution will not cause problems then with ASM?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.