`
哇哈哈852
  • 浏览: 86995 次
文章分类
社区版块
存档分类
最新评论

安装Oracle asm lib包报错问题

阅读更多


今天装好ASM的RPM包后,运行/etc/init.d/Oracleasm configure时configure最后一步总是失败:
http://cuug.com.cn/html/activity_283_283.html?wnbk

[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 <ENTER> 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这个包一定要与内核版本一致。
  • 大小: 31.8 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics