Oracle ASM 配置错误--Initializing the Oracle ASMLib driver: [FAILED]
Oracle ASM 配置错误--Initializing the Oracle ASMLib driver: [FAILED]
其实有些错误如果你注意按照oracle的要求去做的话,是可以避免的,最近又看到了这个错误两次,所以记录一下。
[root@rac01 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASMlibrary
driver.
loaded on boot and what permissions it will have.
will be shown in brackets ('[]').
answer will keep that current value.
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.oracleasmlib内核和linux系统内核不符,修正方法,到oracle网站下载内核版本符合的asmlib,从新安装。
[root@rac01 etc]# uname -r
2.6.18-194.el5
[root@rac01 oracle]# rpm -qa|grep oracleasm
oracleasmlib-2.0.4-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-2.6.18-194.el5-2.0.5-1.el5
2.linux的selinux没有设置为disable
# vi /etc/selinux/config (把SELINUX置为disabled)
目录 返回
首页