关于“Initializing the Oracle ASMLib driver: [FAILED]”的解决办法

安装完ASM相应组件后,执行/etc/Init.d/oracleasm enable后显示失败。查看日志

[root@localhost log]# more /var/log/oracleasm 
Cleaning any stale ASM disks...
File "/dev/" is not a block device
Disk "VOL1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such file or directory
failed
Clearing disk header: done
Disk "VOL1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such file or directory
failed
Clearing disk header: done
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": failed
Unable to load module "oracleasm"

原来是找不到ASM组件oracleasm.ko

在文件系统中查找

[root@localhost log]# find / -name oracleasm.ko
/lib/modules/2.6.18-53.1.21.el5/kernel/drivers/addon/oracleasm/oracleasm.ko

手工安装ASM组件

[root@localhost log]# /sbin/insmod /lib/modules/2.6.18-53.1.21.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
重新执行

/etc/init.d/oracleasm enable执行成功。


你可能感兴趣的:(关于“Initializing the Oracle ASMLib driver: [FAILED]”的解决办法)