[Root @ rac1 ~] #/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
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [FAILED]
View the background log cat/var/log/messages. The message is as follows:
Dec 18 21:52:08 rac1 modprobe: FATAL: Module oracleasm not found.
Dec 18 21:52:08 rac1 oracleasm: Unable failed
It is said that the kernel version is wrong with the installed oracleasm version.
Check the version
[Root @ rac1 ~] # Rpm-qa | grep oracleasm
Oracleasm-support-2.1.7-1.el4
Oracleasm-2.6.9-42.EL-2.0.3-1
Oracleasmlib-2.0.4-1.el4
[Root @ rac1 ~] # Uname-r
2.6.9-89.EL
[Root @ rac1 ~] #
Obviously, the oracleasm version is incorrect.
Download it from the official website. Each version has the corresponding oracleasm version.
Http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel4-092650.html
After the download, reinstall oracleasm and run/etc/init. d/oracleasm configure.