asmlib无法加载 _MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 1425 | 回复: 0   主题: asmlib无法加载         下一篇 
xiaojiang
注册用户
等级:少尉
经验:345
发帖:77
精华:0
注册:2011-8-31
状态:离线
发送短消息息给xiaojiang 加好友    发送短消息息给xiaojiang 发消息
发表于: IP:您无权察看 2015-5-8 10:39:20 | [全部帖] [楼主帖] 楼主

系统内核

[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 <ENTER> 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 <ENTER> 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 --


--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论