虚拟化容器,大数据,DBA,中间件,监控。

Oracle ASM 配置错误--Initializing the Oracle ASMLib driver: [FAILED]

29 10月
作者:admin|分类:DBA运维

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.  The following questions will determinewhether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]').  Hitting<ENTER> without typing an
answer will keep that current value.  Ctrl-C willabort.

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)
 SELINUX=disabled

浏览1726 评论0
返回
目录
返回
首页
oracle ASM错误Initializing the Oracle ASMLib driver:[FAILED] failed to upgrade oracle cluster registry configuration