在linux as4上做asm時出現"Unable to load module oracleasm"問題的處理

rainbowbridg發表於2007-07-13

# /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 [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 -----&gt SELINUX=disabled

也可以:

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

然後重啟系統,問題就會解決

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7916042/viewspace-926439/,如需轉載,請註明出處,否則將追究法律責任。

相關文章