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包

posted @   xxd  阅读(4134)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
点击右上角即可分享
微信分享提示