FATAL: Error inserting oracleacfs (/lib/modules/<kernel>/weak-updates/usm/oracleacfs.ko): Operation not permitted
(Doc ID 2581029.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 to 19.3.0.0.0 [Release 12.2 to 18]Information in this document applies to any platform.
Symptoms
During a fresh install or while patching, acfsroot install may fail to load ACFS module into the kernel.
In this case, while applying JULY 2019 RU, postpatch failed to load ACFS module and eventually failed to start the cluster stack.
Excerpt from crs_postpatch_<nodename>_<timestamp>.log
2019-08-20 09:50:55: Executing the step [acfs_ConfigCurrentNode_step_2] to configure ACFS on the first node
2019-08-20 09:50:55: Executing cmd: /u01/app/grid/18/bin/acfsdriverstate supported
2019-08-20 09:51:05: Command output:
> ACFS-9200: Supported
...
2019-08-20 09:51:05: Executing '/u01/app/grid/18/bin/acfsroot install -t2'
2019-08-20 09:51:05: Executing cmd: /u01/app/grid/18/bin/acfsroot install -t2
2019-08-20 09:51:44: Command output:
...
> ACFS-9308: Loading installed ADVM/ACFS drivers.
> ACFS-9321: Creating udev for ADVM/ACFS.
> ACFS-9323: Creating module dependencies - this may take some time.
> ACFS-9176: Entering 'ld usm drvs'
> ACFS-9154: Loading 'oracleoks.ko' driver.
> ACFS-9154: Loading 'oracleadvm.ko' driver.
> ACFS-9154: Loading 'oracleacfs.ko' driver.
> FATAL: Error inserting oracleacfs (/lib/modules/4.1.12-124.27.2.el6uek.x86_64/weak-updates/usm/oracleacfs.ko): Operation not permitted
> ACFS-9109: oracleacfs.ko driver failed to load.
> ACFS-9178: Return code = USM_FAIL
> ACFS-9177: Return from 'ld usm drvs'
> ACFS-9428: Failed to load ADVM/ACFS drivers. A system reboot is recommended.
...
2019-08-20 09:51:45: USM driver install status is 3
2019-08-20 09:51:45: ACFS drivers cannot be installed, and reboot may resolve this
2019-08-20 09:50:55: Executing cmd: /u01/app/grid/18/bin/acfsdriverstate supported
2019-08-20 09:51:05: Command output:
> ACFS-9200: Supported
...
2019-08-20 09:51:05: Executing '/u01/app/grid/18/bin/acfsroot install -t2'
2019-08-20 09:51:05: Executing cmd: /u01/app/grid/18/bin/acfsroot install -t2
2019-08-20 09:51:44: Command output:
...
> ACFS-9308: Loading installed ADVM/ACFS drivers.
> ACFS-9321: Creating udev for ADVM/ACFS.
> ACFS-9323: Creating module dependencies - this may take some time.
> ACFS-9176: Entering 'ld usm drvs'
> ACFS-9154: Loading 'oracleoks.ko' driver.
> ACFS-9154: Loading 'oracleadvm.ko' driver.
> ACFS-9154: Loading 'oracleacfs.ko' driver.
> FATAL: Error inserting oracleacfs (/lib/modules/4.1.12-124.27.2.el6uek.x86_64/weak-updates/usm/oracleacfs.ko): Operation not permitted
> ACFS-9109: oracleacfs.ko driver failed to load.
> ACFS-9178: Return code = USM_FAIL
> ACFS-9177: Return from 'ld usm drvs'
> ACFS-9428: Failed to load ADVM/ACFS drivers. A system reboot is recommended.
...
2019-08-20 09:51:45: USM driver install status is 3
2019-08-20 09:51:45: ACFS drivers cannot be installed, and reboot may resolve this
OS log (/var/log/messages) will report the below error when the module failed to load into the kernel
Aug 20 09:50:55 <nodename> local2.info audispd: node=<nodename>.example.com type=USER_END msg=audit(1566294655.865:977): pid=11757 uid=0 auid=189902374 ses=1 subj=kernel msg='op=PAM:session_close acct="oracle" exe="/bin/su" hostname=? addr=? terminal=? res=success'
Aug 20 09:51:19 <nodename> kern.warning kernel: [ 4102.156387] ADVMK-0003: Module unloaded.
Aug 20 09:51:19 <nodename> kern.warning kernel: [ 4102.196115] OKSK-00006: Module unloaded.
Aug 20 09:51:38 <nodename> kern.warning kernel: [ 4121.693687] OKSK-00028: In memory kernel log buffer address: 0xffff8818e46b36c0, size: 10485760
Aug 20 09:51:38 <nodename> kern.warning kernel: [ 4121.705685] OKSK-00027: Oracle kernel distributed lock manager hash size is 2000000
Aug 20 09:51:38 <nodename> kern.warning kernel: [ 4121.731863] OKSK-00004: Module load succeeded. Build information: (LOW DEBUG) USM_18.7.0.0.0ACFSRU_LINUX.X64_190614 2019/06/14 06:44:34
Aug 20 09:51:41 <nodename> kern.warning kernel: [ 4124.344995] ADVMK-0001: Module load succeeded. Build information: (LOW DEBUG) - USM_18.7.0.0.0ACFSRU_LINUX.X64_190614 built on 2019/06/14 07:16:37.
Aug 20 09:51:41 <nodename> kern.warning kernel: [ 4124.347200] asmInit: rval=0 mode=0 asm_request_based=1
Aug 20 09:51:44 <nodename> kern.warning kernel: [ 4127.151553] OKSK-00007: Information has been saved in the file /var/log/Fokslog.0 . Include the contents of this file if reporting a problem to Oracle.
Aug 20 09:51:44 <nodename> kern.warning kernel: [ 4127.153077] ACFSK-0038: Module failed to load and start with status -1073741823. Build information: (LOW DEBUG) USM_18.7.0.0.0ACFSRU_LINUX.X64_190614 2019/06/14 08:07:48
Aug 20 09:51:19 <nodename> kern.warning kernel: [ 4102.156387] ADVMK-0003: Module unloaded.
Aug 20 09:51:19 <nodename> kern.warning kernel: [ 4102.196115] OKSK-00006: Module unloaded.
Aug 20 09:51:38 <nodename> kern.warning kernel: [ 4121.693687] OKSK-00028: In memory kernel log buffer address: 0xffff8818e46b36c0, size: 10485760
Aug 20 09:51:38 <nodename> kern.warning kernel: [ 4121.705685] OKSK-00027: Oracle kernel distributed lock manager hash size is 2000000
Aug 20 09:51:38 <nodename> kern.warning kernel: [ 4121.731863] OKSK-00004: Module load succeeded. Build information: (LOW DEBUG) USM_18.7.0.0.0ACFSRU_LINUX.X64_190614 2019/06/14 06:44:34
Aug 20 09:51:41 <nodename> kern.warning kernel: [ 4124.344995] ADVMK-0001: Module load succeeded. Build information: (LOW DEBUG) - USM_18.7.0.0.0ACFSRU_LINUX.X64_190614 built on 2019/06/14 07:16:37.
Aug 20 09:51:41 <nodename> kern.warning kernel: [ 4124.347200] asmInit: rval=0 mode=0 asm_request_based=1
Aug 20 09:51:44 <nodename> kern.warning kernel: [ 4127.151553] OKSK-00007: Information has been saved in the file /var/log/Fokslog.0 . Include the contents of this file if reporting a problem to Oracle.
Aug 20 09:51:44 <nodename> kern.warning kernel: [ 4127.153077] ACFSK-0038: Module failed to load and start with status -1073741823. Build information: (LOW DEBUG) USM_18.7.0.0.0ACFSRU_LINUX.X64_190614 2019/06/14 08:07:48
Excerpt from Fokslog.0
K 4296867.786/190821144725UTC modprobe[5659] KsParseConfigFile: invalid AcfsMaxStaleFiles value 16384 detected - reset to 16384 (default)
F 4296867.786/190821144725UTC modprobe[5659] OfsInitIPPContext: Failed to initialize Encryption Library(0x14)
F 4296867.786/190821144725UTC modprobe[5659] DriverInit: OfsInitEncrLibContext Failed status(0xc0000001)
K 4296867.786/190821144725UTC modprobe[5659] Free stack space lows OKS:2048 ACFS:2048 ADVM:2048
F 4296867.786/190821144725UTC modprobe[5659] OfsInitIPPContext: Failed to initialize Encryption Library(0x14)
F 4296867.786/190821144725UTC modprobe[5659] DriverInit: OfsInitEncrLibContext Failed status(0xc0000001)
K 4296867.786/190821144725UTC modprobe[5659] Free stack space lows OKS:2048 ACFS:2048 ADVM:2048
Changes
Applying JULY 2019 RU
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |