昨天裝RAC時遇到的一個錯誤Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]

bomei發表於2007-10-06

昨天花了半天時間準備在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. 下載的asmlinux核心不一致,這時候需要下載相應的asm來安裝,也可以升級linux核心

2. 查詢/lib/modules/2.6.9-22.ELsmp/kernel/drivers/addon/oracleasm下是否有oracleasm.ko,如果有,還出現這個問題需要修改/etc/SElinux/config檔案裡面的:

SELINUX=enforcing -----&gt 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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章