oracle10g rac安装出现Unable to load module "oracleasm"的问题!

xieyunchao 2010-01-01 04:47:39
小弟我从oracle官方找到了一篇安装oracle 10g rac的中文文档。他的环境是Oracle Enterprise Linux 4 update 4,我从官方下载了这个文件,没想到下载两次都发现第一个iso文件不完整,无奈,我下载了Oracle Enterprise Linux 4 update 5.

安装到asm时,出现了一个问题一直没有解决:
[root@rac1 ~]# /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]:
Default user to own the driver interface [oracle]:
Default group to own the driver interface [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]


我的linux版本是:Linux rac1 2.6.9-55.0.0.0.2.ELsmp #1 SMP Wed May 2 14:59:56 PDT 2007 i686 i686 i386 GNU/Linux

随后,我又在root用户下依次重新安装了两个包:oracleasmlib-2.0.4-1.el4.i386.rpm、 oracleasm-2.6.9-55.ELsmp-2.0.3-1.i686.rpm

那么,我总共安装了如下包:
rac1-> rpm -qa |grep oracleasm
oracleasm-support-2.0.3-2
oracleasm-2.6.9-55.ELsmp-2.0.3-1
oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2
oracleasmlib-2.0.4-1.el4


我执行/etc/init.d/oracleasm configure命令,结果还出现Loading module "oracleasm": Unable to load module "oracleasm"
[FAILED]
!!!!!!!

到底是什么原因?多谢!!
...全文
600 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
xieyunchao 2010-01-10
  • 打赏
  • 举报
回复
依次安装这几个包:
rpm -vih oracleasm-support-2.1.3-1.el4.i386.rpm
rpm -vih oracleasm-2.6.9-55.EL-2.0.3-1.i686.rpm
rpm -vih oracleasmlib-2.0.4-1.el4.i386.rpm


xieyunchao 2010-01-10
  • 打赏
  • 举报
回复
注意包的版本和安装顺序:
[root@harry ~]# uname -a
Linux harry 2.6.9-55.EL #1 Wed May 2 13:52:16 EDT 2007 i686 athlon i386 GNU/Linux
[root@harry ~]# rz
rz waiting to receive.
Starting zmodem transfer. Press Ctrl+C to cancel.
Transferring oracleasm-2.6.9-55.EL-2.0.3-1.i686.rpm...
100% 124 KB 124 KB/s 00:00:01 0 Errors
Transferring oracleasmlib-2.0.4-1.el4.i386.rpm...
100% 12 KB 12 KB/s 00:00:01 0 Errors
Transferring oracleasm-support-2.1.3-1.el4.i386.rpm...
100% 80 KB 80 KB/s 00:00:01 0 Errors

奫root@harry ~]# rpm -vih oracleasm-support-2.1.3-1.el4.i386.rpm
warning: oracleasm-support-2.1.3-1.el4.i386.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [100%]
[root@harry ~]# rpm -vih oracleasmlib-2.0.4-1.el4.i386.rpm
warning: oracleasmlib-2.0.4-1.el4.i386.rpm: V3 DSA signature: NOKEY, key ID b38a8516
error: Failed dependencies:
oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el4.i386
[root@harry ~]# rpm -vih oracleasm-2.6.9-55.EL-2.0.3-1.i686.rpm
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-55.EL ########################################### [100%]

xieyunchao 2010-01-10
  • 打赏
  • 举报
回复
上面错了,应该依次安装这几个包:
rpm -vih oracleasm-support-2.1.3-1.el4.i386.rpm
rpm -vih oracleasm-2.6.9-55.ELsmp-2.0.3-1.i686.rpm
rpm -vih oracleasmlib-2.0.4-1.el4.i386.rpm
inthirties 2010-01-06
  • 打赏
  • 举报
回复
现在搞RAC很多了。欢迎大家多多交流RAC的问题,不断提高实战能力
Comer 2010-01-06
  • 打赏
  • 举报
回复
关注学习中
liuyi8903 2010-01-05
  • 打赏
  • 举报
回复
哦,rpm版本不一致。
inthirties 2010-01-05
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 liuyi8903 的回复:]
重新fdisk一次再试试
[/Quote]

这里是configure出错,可能和磁盘设备还没有太大关系
inthirties 2010-01-05
  • 打赏
  • 举报
回复
你的uname是
2.6.9-55.0.0.0.2.ELsmp

这两个安装包的版本不对
oracleasm-2.6.9-55.ELsmp-2.0.3-1
oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2

看看有没有
oracleasm-2.6.9-55.0.0.0.2.ELsmp-2.0.3-2的安装包,

把上面两个包-e掉,然后用上面这个包安装
liuyi8903 2010-01-02
  • 打赏
  • 举报
回复
重新fdisk一次再试试
baobao219 2010-01-01
  • 打赏
  • 举报
回复
oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2
你把包删除掉看看,应该没有多大的问题

3,491

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 高级技术相关讨论专区
社区管理员
  • 高级技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧