避免Initializing the Oracle ASMLib driver: [FAILED]的方法


 目前知道可能导致这个错误的原因有两个:


[root@rac01 ~]# /etc/init.d/oracleasm configure
Configuring 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 without typing an
answer will keep that current value.  Ctrl-C will abort.

Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
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]


1.oracle asmlib内核和linux系统内核不符,修正方法,到oracle网站下载内核版本符合的asmlib,重新安装。
[root@rac01 etc]# uname -r[
2.6.18-308.el5
[root@rhelone andrew]# rpm- -qa|grep oracle
oracleasm-2.6.18-308.el5-2.0.5-1.el5
oracleasm-support-2.1.8-1.el5
oracleasmlib-2.0.4-1.el5

2.linux的selinux没有设置为disable
# vi /etc/selinux/config (把SELINUX置为disabled)
 SELINUX=disabled


请使用浏览器的分享功能分享到微信等