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

lovestanford發表於2014-01-23


 目前知道可能導致這個錯誤的原因有兩個:


[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-[K -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


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1074667/,如需轉載,請註明出處,否則將追究法律責任。

相關文章