Thursday 27 February 2020

oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.12-1.el7.x86_64 -- in CentOS

i downloaded oracleasm-support-2.1.11-2.el7.x86_64.rpm and oracleasmlib-2.0.12-1.el7.x86_64.rpm from oracle , you can download from here for rhel7
i successfully installed oracleasm-support-2.1.11-2.el7.x86_64.rpm, but when i tried to install asmlib in CentOS i go below error.

[root@testhost software]# rpm -ivh oracleasmlib-2.0.12-1.el7.x86_64.rpm
warning: oracleasmlib-2.0.12-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
        oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.12-1.el7.x86_64

for oracle ASM we need three rpms, ie  oracleasm-support, oracleasmlib and also kmod-oracleasm required.
you need to install in order 
1- oracleasm-support
2- kmod-oracleasm 
3 - oracleasmlib

you can check rpms as below.

[root@testhost software]# rpm -qa | grep oracleasm
oracleasm-support-2.1.11-2.el7.x86_64

in my case kmod-oracleasm was missing, i installed it with yum install kmod-oracleasm as root user. after i could install oracleasmlib successfully.

if still you are not able to install, you can force install it as below.

rpm -Uvh --nodeps --force oracleasmlib-2.0.12-1.el7.x86_64.rpm


find grid configuration in linux here

No comments:

Post a Comment