昨天花了半天时间准备在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 without typing an
answer will keep that current value. Ctrl-C will abort.
[@more@]
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. 下载的asm和linux内核不一致,这时候需要下载相应的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 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 ]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7272495/viewspace-974854/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7272495/viewspace-974854/