Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4862350
  • 博文数量: 983
  • 博客积分: 8199
  • 博客等级: 中将
  • 技术积分: 12857
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 20:19
个人简介

脚踏实地、勇往直前!

文章分类

全部博文(983)

文章存档

2019年(73)

2018年(208)

2017年(81)

2016年(49)

2015年(50)

2014年(170)

2013年(52)

2012年(177)

2011年(93)

2010年(30)

分类: Oracle

2014-06-05 21:42:41


系统内核
[root@node3 oracleasm]# uname -a
Linux node3 2.6.9-42.0.0.0.1.EL #1 Sun Oct 15 13:58:55 PDT 2006 i686 athlon i386 GNU/Linux

安装ASM三个包:
[root@node1 asmlib]# rpm -ivh oracleasm-support-2.1.7-1.el4.i386.rpm
[root@node1 asmlib]# rpm -ivh oracleasm-2.6.9-42.0.2.EL-2.0.3-1.i686.rpm
[root@node1 asmlib]# rpm -ivh oracleasmlib-2.0.4-1.el4.i386.rpm


安装完成之后,进行配置
[root@node3 asm4]#  /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]:
Default group to own the driver interface [dba]:
Start Oracle ASM library driver on boot (y/n) [y]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [FAILED]

发生了错误。


看一下日志:
[root@node3 oracleasm]# cat /var/log/oracleasm
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
Unable to load module "oracleasm"

加载oracleasm这个 module 失败.

[root@node3 oracleasm]#  ls -l /lib/modules/
total 36
drwxr-xr-x  3 root root 4096 Sep 13 02:50 2.6.9-42.0.0.0.1.EL
drwxr-xr-x  2 root root 4096 Sep 13 02:50 2.6.9-42.0.0.0.1.ELhugemem
drwxr-xr-x  2 root root 4096 Sep 13 02:50 2.6.9-42.0.0.0.1.ELsmp
drwxr-xr-x  3 root root 4096 Sep 20 02:34 2.6.9-42.0.2.EL
drwxr-xr-x  2 root root 4096 Oct 16  2006 kabi-4.0-0

[root@node3 /]# find -name oracleasm.ko
./lib/modules/2.6.9-42.0.2.EL/kernel/drivers/addon/oracleasm/oracleasm.ko

表明:module oracleasm.ko 确实存在!
但是系统不能调用到:
[root@node3 /]# cd /lib/modules/2.6.9-42.0.2.EL/kernel/drivers/addon/oracleasm
[root@node3 oracleasm]# /sbin/insmod oracleasm.ko
[root@node3 oracleasm]# echo $?
0
[root@node3 oracleasm]# /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]:
Default group to own the driver interface [dba]:
Start Oracle ASM library driver on boot (y/n) [y]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [  OK  ]
Scanning the system for Oracle ASMLib disks: [  OK  ]

-- The End --

阅读(3513) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~
评论热议
请登录后评论。

登录 注册