时间:2021-07-01 10:21:17 帮助过:28人阅读
[Oracle RAC安装]配置 Oracle 自动存储管理 失败
[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
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) [n]: 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]
查看后台日志 cat /var/log/messages,提示信息如下
Dec 18 21:52:08 rac1 modprobe: FATAL: Module oracleasm not found.
Dec 18 21:52:08 rac1 oracleasm: Unable failed
在网上查了据说,是内核版本与安装的oracleasm版本不对
查一下版本
[root@rac1 ~]# rpm -qa | grep oracleasm
oracleasm-support-2.1.7-1.el4
oracleasm-2.6.9-42.EL-2.0.3-1
oracleasmlib-2.0.4-1.el4
[root@rac1 ~]# uname -r
2.6.9-89.EL
[root@rac1 ~]#
明显地,oracleasm版本不对
到官网下载,每个版本都有相应的oracleasm版本
下载后,重新安装oracleasm,,再执行 /etc/init.d/oracleasm configure 搞定
,