Root.sh Failed with AFD Error

(Doc ID 2323316.1)

Last updated on NOVEMBER 26, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

2017-10-31 16:10:35: Executing '/u01/app/12.2.0.1/grid/bin/afdroot install'
2017-10-31 16:10:35: Executing cmd: /u01/app/12.2.0.1/grid/bin/afdroot install
2017-10-31 16:10:39: Command output:
> AFD-627: AFD distribution files found.
> AFD-634: Removing previous AFD installation.
> AFD-635: Previous AFD components successfully removed.
> AFD-636: Installing requested AFD software.
> AFD-637: Loading installed AFD drivers.
> AFD-9321: Creating udev for AFD.
> AFD-9323: Creating module dependencies - this may take some time.
> AFD-9154: Loading 'oracleafd.ko' driver.
> modprobe: ERROR: could not insert 'oracleafd': Required key not available
> AFD-9109: oracleafd.ko driver failed to load.
> AFD-650: Failed to load AFD drivers. A system reboot is recommended.
> AFD-639: AFD installation failed.
>End Command output
2017-10-31 16:10:39: ASM Filter driver install status is 3
2017-10-31 16:10:39: ASM filter drivers unable to be installed.
2017-10-31 16:10:39: Executing cmd: /u01/app/12.2.0.1/grid/bin/clsecho -p has -f clsrsc -m 400
2017-10-31 16:10:39: Command output:
> CLSRSC-400: A system reboot is required to continue installing.

Extracted info from /var/log/messages from one of the nodes where AFD installed with succes (UEFI):

Oct 31 15:56:33 codbp1 kernel: Request for unknown module key 'Oracle Linux Kernel Module Signing Key: 2bb352412969a3653f0eb6021763408ebb9bb5ab' err -11
Oct 31 15:56:33 codbp1 kernel: oracleafd: module license 'Oracle Corporation' taints kernel.
Oct 31 15:56:33 codbp1 kernel: Disabling lock debugging due to kernel taint
Oct 31 15:56:33 codbp1 kernel: AFDK-00001: Module load succeeded. Build information: (LOW DEBUG) - USM_12.2.0.1.0_LINUX.X64_RELEASE built on 2017/04/22 04:26:54.
Oct 31 15:56:33 codbp1 multipathd: oracleafd!admin: add path (uevent)
Oct 31 15:56:33 codbp1 multipathd: oracleafd/admin: HDIO_GETGEO failed with 25

Extracted info from /var/log/messages from the node where AFD failed when UEFI Secure Boot was enabled:

Oct 31 16:30:01 codbp3 systemd: Starting Session 562 of user root.
Oct 31 16:30:39 codbp3 kernel: Request for unknown module key 'Oracle Linux Kernel Module Signing Key: 2bb352412969a3653f0eb6021763408ebb9bb5ab' err -11
Oct 31 16:32:21 codbp3 su: (to grid) root on none
Oct 31 16:32:21 codbp3 root: Stoping AFD...
Oct 31 16:32:21 codbp3 root: OK
Oct 31 16:32:21 codbp3 root: AFD Unloaded.
Oct 31 16:32:21 codbp3 root: Starting AFD...
Oct 31 16:32:21 codbp3 root: Loading AFD (/u01/app/12.2.0.1/grid/bin/afdload start)
Oct 31 16:32:21 codbp3 kernel: Request for unknown module key 'Oracle Linux Kernel Module Signing Key: 2bb352412969a3653f0eb6021763408ebb9bb5ab' err -11
Oct 31 16:32:21 codbp3 root: Failed to Load AFD                <<=========================
Oct 31 16:40:01 codbp3 systemd: Started Session 563 of user root.

Changes

UEFI Configured on this node

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms