小弟我从oracle官方找到了一篇安装oracle 10g rac的中文文档。他的环境是Oracle Enterprise Linux 4 update 4,我从官方下载了这个文件,没想到下载两次都发现第一个iso文件不完整,无奈,我下载了Oracle Enterprise Linux 4 update 5.安装到asm时,出现了一个问题一直没有解决:
[root@rac1 ~]# /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]: 
Default user to own the driver interface [oracle]: 
Default group to own the driver interface [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]
我的linux版本是:Linux rac1 2.6.9-55.0.0.0.2.ELsmp #1 SMP Wed May 2 14:59:56 PDT 2007 i686 i686 i386 GNU/Linux随后,我又在root用户下依次重新安装了两个包:oracleasmlib-2.0.4-1.el4.i386.rpm、 oracleasm-2.6.9-55.ELsmp-2.0.3-1.i686.rpm那么,我总共安装了如下包:
rac1-> rpm -qa |grep oracleasm
oracleasm-support-2.0.3-2
oracleasm-2.6.9-55.ELsmp-2.0.3-1
oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2
oracleasmlib-2.0.4-1.el4
我执行/etc/init.d/oracleasm configure命令,结果还出现Loading module "oracleasm": Unable to load module "oracleasm"
[FAILED]
!!!!!!!到底是什么原因?多谢!!

解决方案 »

  1.   

    oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2  
    你把包删除掉看看,应该没有多大的问题
      

  2.   

    你的uname是
    2.6.9-55.0.0.0.2.ELsmp这两个安装包的版本不对
    oracleasm-2.6.9-55.ELsmp-2.0.3-1
    oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2看看有没有
    oracleasm-2.6.9-55.0.0.0.2.ELsmp-2.0.3-2的安装包,把上面两个包-e掉,然后用上面这个包安装
      

  3.   


    这里是configure出错,可能和磁盘设备还没有太大关系
      

  4.   

    现在搞RAC很多了。欢迎大家多多交流RAC的问题,不断提高实战能力
      

  5.   

    注意包的版本和安装顺序:
    [root@harry ~]# uname -a
    Linux harry 2.6.9-55.EL #1 Wed May 2 13:52:16 EDT 2007 i686 athlon i386 GNU/Linux
    [root@harry ~]# rz
    rz waiting to receive.
    Starting zmodem transfer.  Press Ctrl+C to cancel.
    Transferring oracleasm-2.6.9-55.EL-2.0.3-1.i686.rpm...
      100%     124 KB  124 KB/s 00:00:01       0 Errors
    Transferring oracleasmlib-2.0.4-1.el4.i386.rpm...
      100%      12 KB   12 KB/s 00:00:01       0 Errors
    Transferring oracleasm-support-2.1.3-1.el4.i386.rpm...
      100%      80 KB   80 KB/s 00:00:01       0 Errors奫root@harry ~]# rpm -vih oracleasm-support-2.1.3-1.el4.i386.rpm 
    warning: oracleasm-support-2.1.3-1.el4.i386.rpm: V3 DSA signature: NOKEY, key ID b38a8516
    Preparing...                ########################################### [100%]
       1:oracleasm-support      ########################################### [100%]
    [root@harry ~]# rpm -vih oracleasmlib-2.0.4-1.el4.i386.rpm 
    warning: oracleasmlib-2.0.4-1.el4.i386.rpm: V3 DSA signature: NOKEY, key ID b38a8516
    error: Failed dependencies:
            oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el4.i386
    [root@harry ~]# rpm -vih oracleasm-2.6.9-55.EL-2.0.3-1.i686.rpm 
    Preparing...                ########################################### [100%]
       1:oracleasm-2.6.9-55.EL  ########################################### [100%]
      

  6.   

    依次安装这几个包:
    rpm -vih oracleasm-support-2.1.3-1.el4.i386.rpm 
    rpm -vih oracleasm-2.6.9-55.EL-2.0.3-1.i686.rpm 
    rpm -vih oracleasmlib-2.0.4-1.el4.i386.rpm 

      

  7.   

    上面错了,应该依次安装这几个包:
    rpm -vih oracleasm-support-2.1.3-1.el4.i386.rpm
    rpm -vih oracleasm-2.6.9-55.ELsmp-2.0.3-1.i686.rpm
    rpm -vih oracleasmlib-2.0.4-1.el4.i386.rpm