Showing posts with label Oracle RAC ASM. Show all posts
Showing posts with label Oracle RAC ASM. Show all posts

Monday, September 27, 2010

initializing oracle ASMLib driver : FAILED , Loading module "oracleasm": Unable to load module "oracleasm"

I came across this problem recently while installing Oracle RAC on one of the systems.

[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 without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface [oracle]: oracle
Default group to own the driver interface [dba]: 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]

The correct place to look for erorr was /var/log/messages.
here i found the error Module oracle ASM not found.

I did a rpm -qa | grep oracleasm on the system and found 3 asm packages installed.
oracleasm-2.6.9-89.EL-2.0.5-1.el4.i686.rpm,
oracleasmlib-2.0.4-1.el4.i386.rpm,
oracleasm-support-2.1.3-1.el4.i386.rpm


The following package was missing -->
oracleasm-2.6.9-89.ELsmp-2.0.5-1.el4.i686.rpm

I installed the above given package with -->

rpm -ivh oracleasm-2.6.9-89.ELsmp-2.0.5-1.el4.i686.rpm
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-89.ELsm########################################### [ 100%]

afterwards again tried to configure Oracle 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 without typing an
answer will keep that current value. Ctrl-C will aborts.

Default user to own the driver interface [oracle]: oracle
Default group to own the driver interface [dba]: 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 ]
Initializing the Oracle ASMLib driver [ OK ]
Scanning the system for Oracle ASMLib disks [OK]