zoukankan      html  css  js  c++  java
  • Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]

    Redhat AS4 Update 4上安装10gR2 ASM,遭遇
    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]

    由于yum对AS4.4的支持都没了,只有4.8了,怕升级麻烦就必须要下载安装相对应的包,当然也可以升级linux内核~~~~~~ 也可能是因为SELINUX=enforcing 修改成 SELINUX=disabled:Applications -> System Settings -> Security Level -> Security Level Configuration -> SELinux tab and the unclick the 'Enabled' box.

    江湖传言:mv oracleasm.o文件到正确的版本目录可以解决(但是我自己测试失败)
    http://www.itpub.net/thread-686167-1-1.html

     

    [root@rac1 ~]# uname -a
    Linux rac1.localdomain 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux

    查询/lib/modules/2.6.9-5.ELsmp/kernel/drivers/addon/oracleasm/oracleasm.ko 这个文件肯定没有。可能是oracleasm模块对应的os内核小版本号不一致,mv oracleasm.o文件到正确的版本目录,重启系统,可以解决.(但是我自己测试失败)

    最后懒得折腾了,直接安装CentOS 用yum找或者Enterprise Linux 第三章光盘里有对应的asm包

  • 相关阅读:
    [NOI Online #3 提高组]
    Luogu P3491 [POI2009]SLW-Words
    AtCoder Grand Contest 043
    Luogu P5607 [Ynoi2013]无力回天NOI2017
    AtCoder Grand Contest 041
    Luogu P5070 [Ynoi2015]即便看不到未来
    BZOJ 4367: [IOI2014]holiday假期
    BZOJ 3571: [Hnoi2014]画框
    BZOJ 4456: [Zjoi2016]旅行者
    BZOJ 1111: [POI2007]四进制的天平Wag
  • 原文地址:https://www.cnblogs.com/buro79xxd/p/1682588.html
Copyright © 2011-2022 走看看