安装Oracle asm lib包报错问题

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

今天装好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官网上去:。

发现已经没有: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这个包一定要与内核版本一致。

linux

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。

发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/1907756.html

(0)
上一篇 2025年2月22日 16:18:46
下一篇 2025年2月22日 16:20:04

AD推荐 黄金广告位招租... 更多推荐

相关推荐

发表回复

登录后才能评论