Michael Feng
===========================================================
昨天装RAC时遇到的一个错误Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]
===========================================================

昨天花了半天时间准备在redhat as4上安装10g RAC,结果在晚上十点遇到这个问题Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]

今天一上班就处理这个问题,结果如下:

# /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 <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.


Default user to own the driver interface [oracle]: oracle
Default group to own the driver interface [dba]: dba
Start Oracle ASM library driver on boot (y/n) [y]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]

出现这个问题可能有2方面的原因:

1. 下载的asmlinux内核不一致,这时候需要下载相应的asm来安装,也可以升级linux内核

2. 查询/lib/modules/2.6.9-22.ELsmp/kernel/drivers/addon/oracleasm下是否有oracleasm.ko,如果有,还出现这个问题需要修改/etc/SElinux/config文件里面的:

SELINUX=enforcing -----> SELINUX=disabled

或者:

Applications -> System Settings -> Security Level -> Security Level Configuration -> SELinux tab
and the unclick the 'Enabled' box.

重启系统,OK

[root@tx1001 ~]# /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 <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface [oratest]:
Default group to own the driver interface [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Scanning system for ASM disks: [ OK ]

bomei 发表于:2007.10.06 08:53 ::分类: ( Oracle RAC ) ::阅读:(318次) :: 评论 (0)

发表评论
标题

在此添加评论
表情符号: smile laughing tongue angry crying sad wassat wink

称呼

邮箱地址(可选)

个人主页(可选)

 authimage


自我介绍
切换风格
新闻聚合
博客日历
文章归档...
最新发表...
最新评论...
最多阅读文章...
最多评论文章...
博客统计...
网站链接...