安装oracle 包报错问题,安装Oracle asm lib包报错问题

今天装好ASM的RPM包后,运行/etc/init.d/Oracleasm configure时configure最后一步总是失败:

[root@localhost nick]# /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]:grid

Default group to own the driver interface [oracle]: asmadmin

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  ]

Loading module “oracleasm”: Unable to load module “oracleasm”

[FAILED]

查看/var/log/messages日志信息,给的信息是:

Sep 11 20:55:55 localhost modprobe: FATAL: Module oracleasm not found.

我的操作系统是:RedHat 5.4 32位

我的内核版本是:2.6.18-164.el5

安装的asm lib版本(lib包时别人给的)是:

oracleasm-support-2.1.3-1.el5.i386.rpm

oracleasm-2.6.18-92.el5-2.0.5-1.el5.i686.rpm

oracleasmlib-2.0.4-1.el5.i386.rpm

在网上搜索说asm lib版本和内核版本不一致会出现这个错误。

于是到Oracle官网上去:http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html。

发现已经没有:oracleasm-support-2.1.3-1.el5.i386.rpm 版本的包提供下载了。

已经被换成 oracleasm-support-2.1.7-1.el5.i386.rpm 了。

oracleasm-2.6.18-92.el5-2.0.5-1.el5.i686.rpm 和 oracleasmlib-2.0.4-1.el5.i386.rpm都可以找得到。

又找到了一个 oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm,这个包与内核版本完全相同。

于是删除之前的包 安装下面的包,再配置就成功了:

oracleasm-support-2.1.7-1.el5.i386.rpm

oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm

oracleasmlib-2.0.4-1.el5.i386.rpm

总结:oracleasm-support包,oracleasmlib包可能比内核版本新或者旧,都没有影响,oracleasm这个包一定要与内核版本一致。0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值