This content has been marked as final. Show 8 replies
You need other RPM, Which Oracle does not have, I had same problem and Oracle support couldn't help it. I had to wait almost 2 months still was not able to get help. Luckily after some googling, I was able to download the new RPM which works. Download the RPM from http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/Install10gR2RACOnCentOS41/oracleasm-2.6.9-220.127.116.11.3.ELsmp-2.0.0-1.i686.rpm
and You can downloaded the Support and other RPM's from Oracle site.
Don't know whether you got your solution , but u can refer to this thread..
Loading module "oracleasm": Unable to load module "oracleasm"
I will also try that too but if that still fail then i will go ahead to upgrade my kernel..or burn an new ISO on that..latest linx..:)
I've also found out that the "default" oracleasm download simply puts the module in an incorrect directory.
Simple research showed that all "my" kernel modules where in:
whereas the oracle rpm put the oracleasm module in:
Just an update for this thread for future searches...
This is because the oracleasm RPM package you have does not exactly match the kernel you are using.
The correct oracleasm kernel driver can always be found in the:
assuming you have an Oracle ULN subscription. If not, you will need to download
# /usr/sbin/up2date oracleasm-$(uname -r) # /bin/rpm -q oracleasm-$(uname -r)
the RPM of that name from the official
distribution page. As you have probably found already, compiling it yourself is
tricky and will not be supported by Oracle anyway.
I checked the following link, and there is no exact oracle asm kernel driver for your running kernel 2.6.9-5.EL. the lowest RHEL4 ASM kernel driver is for 2.6.9-5.0.5.EL.
Thus, there are two ways to fix your problem:
1. Upgrade kernel
the easy way is to upgrade the kernel to higer verion, and then you may download matched asm kernel driver.
2. Use oracleasm_debug_link tool
oracleasm_debug_link tool allows you to reuse the ASMLib kernel module from a similar kernel version. here is an example:
# /usr/lib/oracleasm/oracleasm_debug_link 2.6.9-5.0.5.EL $(uname -r)
This will create a symbolic link between the file installed by the RPM /lib/modules/2.6.9-5.0.5.EL/kernel/drivers/addon/oracleasm/oracleasm.ko and the directory tree for the currently-running kernel /lib/modules/$(uname -r)/kernel/drivers/addon/oracleasm/oracleasm.ko location. and then try to configure& start oracleasm
# /etc/init.d/oracleasm configure