An error is reported when installing the Oracle asm lib package.

Source: Internet
Author: User

After installing the asm rpm package today, the last step of configure always fails when running/etc/init. d/Oracleasm configure:

[Root @ localhost nick] #/etc/init. d/oracleasm configure
Processing the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
Driver. The following questions will determine whether the driver is
Loaded on boot and what permissions it will have. The current values
Will be shown in brackets ('[]'). Hitting <ENTER> without typing
Answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface [oracle]: grid
Default group to own the driver interface [oracle]: asmadmin
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [OK]
Loading module "oracleasm": Unable to load module "oracleasm"
[FAILED]

View/var/log/messages log information, which is:

Sep 11 20:55:55 localhost modprobe: FATAL: Module oracleasm not found.

My operating system is: RedHat 5.4 32-bit


The kernel version is 2.6.18-164. el5.

The installed asm lib version (which is provided by others during the lib package) is:

Oracleasm-support-2.1.3-1.el5.i386.rpm
Oracleasm-2.6.18-92.el5-2.0.5-1.el5.i686.rpm
Oracleasmlib-2.0.4-1.el5.i386.rpm


This error occurs when the asm lib and kernel versions are inconsistent.

Go to the Oracle Official Website: http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html.

Found No: The oracleasm-support-2.1.3-1.el5.i386.rpm version of the package provides download.

Has been replaced with a oracleasm-support-2.1.7-1.el5.i386.rpm.

Oracleasm-2.6.18-92.el5-2.0.5-1.el5.i686.rpm and oracleasmlib-2.0.4-1.el5.i386.rpm can be found.


Again found a oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm, this package is exactly the same as the kernel version.

Then, delete the previous package and install the following package. Then the configuration is successful:

Oracleasm-support-2.1.7-1.el5.i386.rpm


Oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm


Oracleasmlib-2.0.4-1.el5.i386.rpm


Summary: The oracleasm-support package, oracleasmlib package, may be newer or older than the kernel version, does not affect it. The oracleasm package must be consistent with the kernel version.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.