Thursday, May 30, 2013

Loading module "oracleasm": failed Unable to load module "oracleasm"

If you've downloaded Oracle ASMLib rpms for an older RHEL5 kernel and try to load them over a newer RHEL5 kernel, you'll see this issue:

Loading module "oracleasm": failed
Unable to load module "oracleasm"

Here's what you need to do:

[root@chirac1 ~]# /usr/lib/oracleasm/oracleasm_debug_link 2.6.18-164.el5 2.6.18-274.el5
[root@chirac1 ~]#
Where, 2.6.18-164.el5 is the ASMLib already installed on the machine (which belongs to an older kernel) &  2.6.18-274.el5 is the Kernel running on the machine.

[root@chirac1 ~]# oracleasm init
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm

Post this you should be able to proceed normally with creation of Disks. 

Labels: , , ,

4 Comments:

At February 3, 2014 at 1:28 PM , Blogger Unknown said...

I liked this. It helped me on my centos machine. Thanks for sharing. Following is my output if it helps someone further.

[root@centos02 usr]# uname -a
Linux centoschi02 2.6.18-371.el5 #1 SMP Tue Oct 1 08:35:08 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@centosi02 usr]# rpm -qa | grep oracleasm
oracleasm-2.6.18-371.3.1.el5-2.0.5-1.el5
oracleasm-support-2.1.8-1.el5
oracleasmlib-2.0.4-1.el5
[root@centos02 usr]# /usr/lib/oracleasm/oracleasm_debug_link 2.6.18-371.3.1.el5 2.6.18-371.el5
[root@centoschi02 usr]# oracleasm init
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm

 
At January 7, 2015 at 2:02 PM , Blogger Unknown said...

This solution helped me as well. Thank you!

 
At March 3, 2017 at 4:45 AM , Blogger Paramesh said...

oracleasm_debug_link : no original driver specified

 
At March 3, 2017 at 4:52 AM , Blogger Paramesh said...

uname -r is 2.6.32-358.23.2.el6.x86_64
uname -a is Linux localhost.localdomain 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 11:16:45 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

kmod-oracleasm-2.0.8-13.0.1.el6_8.x86_64
oracleasm-support-2.1.8-1.el6.x86_64
oracleasmlib-2.0.4-1.el6.x86_64

kernel-headers-2.6.32-358.23.2.el6.x86_64
kernel-devel-2.6.32-358.23.2.el6.x86_64

[root@localhost Desktop]# /etc/init.d/oracleasm start
Initializing the Oracle ASMLib driver: [FAILED]
[root@localhost Desktop]# /etc/init.d/oracleasm configure -i
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]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [FAILED]

Please provide me the solution.

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home