关于“Initializing the Oracle ASMLib driver: [FAILED]”的解决办法
2017-09-05 16:14
591 查看
安装完ASM相应组件后,执行/etc/Init.d/oracleasm enable后显示失败。查看日志
[sql] view
plain copy
[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
在文件系统中查找
[sql] view
plain copy
[root@localhost log]# find / -name oracleasm.ko
/lib/modules/2.6.18-53.1.21.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
手工安装ASM组件
[sql] view
plain copy
[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执行成功。
[sql] view
plain copy
[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
在文件系统中查找
[sql] view
plain copy
[root@localhost log]# find / -name oracleasm.ko
/lib/modules/2.6.18-53.1.21.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
手工安装ASM组件
[sql] view
plain copy
[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]”的解决办法
- 关于“Initializing the Oracle ASMLib driver: [FAILED]”的解决办法
- 关于Initializing the Oracle ASMLib driver:[FAILED] 的问题
- ORACLE Initializing the Oracle ASMLib driver: [FAILED]
- Initializing the Oracle ASMLib driver: [FAILED]
- Initializing the Oracle ASMLib driver: [FAILED]
- Initializing the Oracle ASMLib driver: [FAILED]
- Yii “CDbConnection failed to open the DB connection: could not find driver"解决办法
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- Yii “CDbConnection failed to open the DB connection: could not find driver"解决办法
- yii框架:CDbConnection failed to open the DB connection: could not find driver的解决办法
- 关于Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005的解决办法
- 关于Wireshark "The NPF driver isn’t running……"解决办法
- 关于json-lib There is a cycle in the hierarchy!问题的3种解决办法
- 关于遇到“failed to load the jni shared library”的解决办法
- 关于Wireshark "The NPF driver isn’t running……"解决办法
- 关于dubbo调度时出现Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method insertTestTb in the service cn.cuibusi.core.service.TestTbService.的解决办法
- 关于ORACLE ORA-01846: not a valid day of the week 错误的解决办法
- 安装RHEL5 的ASM Lib 时出现 oracleasm >= 1.0.4 错误的解决办法