oracleasm lib failed to load with "Invalid module format" error
747406Jan 19 2010 — edited Jan 19 2010Hi,
I'm tring to install the oracleasm lib onto our hardened Redhat EL5 server
I've download the oracleasm rpm from this page http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html.
We're using Redhat 5 U 2
[root@PG673 modules]# uname -rm
2.6.18-92.el5 x86_64
[root@PG673 modules]#
The package I downloaded is an exact match with our kernel version
[root@PG673 modules]# rpm -qa | grep asm
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasmlib-2.0.4-1.el5
oracleasmlib-2.0.4-1.el5
[root@PG673 modules]#
RPM installation went well, but when we run the /etc/init.d/oracleasm configure command, we hit the following error
[root@PG673 other]# /etc/init.d/oracleasm configure
/etc/init.d/oracleasm: line 207: /usr/sbin/oracleasm: cannot execute binary file
Later we found out that the oracleasm module haven't been loaded, so we try to load it manually, but we hit the "Invalid module format" error.
[root@PG673 modules]# modprobe -l | grep asm
/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
[root@PG673 modules]# modprobe oracleasm
FATAL: Error inserting oracleasm (/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko): Invalid module format
[root@PG673 modules]#
As I know this error could happen if the driver version is not match with the system kernel version.
The problem is we're already using an exact match version of driver with our system, I can't think of what to do next in order to proceed the installation.
Really appreciate if someone could point me a direction.
Thanks
Mike