Visit Counter

Thursday, March 5, 2015

Initializing the Oracle ASMLib driver: [FAILED] on RHEL5.1 asmlib



Error:

Initializing the Oracle ASMLib driver: [FAILED] on Oracle linux 5



[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 <ENTER> 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 [dbs]: dba
Start Oracle ASM library driver on boot (y/n) [y]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver:                     [FAILED]
[root@rac1 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.




Solution

# uname -r

2.6.18-8.el5xen

Download right drive according to above version of O/S.

http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html#oracleasm_rhel5_amd64

oracleasm-2.6.18-8.el5-2.0.4-1.el5.x86_64.rpm
oracleasmlib-2.0.4-1.el5.x86_64.rpm
oracleasm-support-2.1.8-1.el5.x86_64.rpm

# rpm -ivh oracleasm-2.6.18-8.el5-2.0.4-1.el5.x86_64.rpm
# rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm
# rpm -ivh oracleasm-support-2.1.8-1.el5.x86_64.rpm 


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 <ENTER> 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
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver:                     [  OK  ]
Scanning the system for Oracle ASMLib disks:               [  OK  ]
[root@rac1 ~]# pwd
/root
[root@rac1 ~]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
Marking disk "DISK1" as an ASM disk:                       [  OK  ]
[root@rac1 ~]# /etc/init.d/oracleasm createdisk DISK2 /dev/sdc1
Marking disk "DISK2" as an ASM disk:                       [  OK  ]
[root@rac1 ~]# /etc/init.d/oracleasm createdisk DISK3 /dev/sdd1
Marking disk "DISK3" as an ASM disk:                       [  OK  ]
[root@rac1 ~]# /etc/init.d/oracleasm createdisk DISK4 /dev/sde1
Marking disk "DISK4" as an ASM disk:                       [  OK  ]
[root@rac1 ~]# /etc/init.d/oracleasm listdisks
DISK1
DISK2
DISK3
DISK4
[root@rac1 ~]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: DISK1
                                                           [  OK  ]


2 comments:

  1. I did the above , yet the issue persists.

    [root@orarac1 oracle]# rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm
    warning: kernel-headers-2.6.32-431.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
    Preparing... ########################################### [100%]
    package kernel-headers-2.6.32-431.el6.x86_64 is already installed
    [root@orarac1 oracle]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
    Marking disk "DISK1" as an ASM disk: [FAILED]
    [root@orarac1 oracle]# /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]:
    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]
    [root@orarac1 oracle]# /etc/init.d/oracleasm disable
    Writing Oracle ASM library driver configuration: done
    Dropping Oracle ASMLib disks: [ OK ]
    Shutting down the Oracle ASMLib driver: [ OK ]
    [root@orarac1 oracle]# /etc/init.d/oracleasm enable
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [FAILED]
    [root@orarac1 oracle]#

    ReplyDelete
  2. Muhammad Asif: Initializing The Oracle Asmlib Driver: [Failed] On Rhel5.1 Asmlib >>>>> Download Now

    >>>>> Download Full

    Muhammad Asif: Initializing The Oracle Asmlib Driver: [Failed] On Rhel5.1 Asmlib >>>>> Download LINK

    >>>>> Download Now

    Muhammad Asif: Initializing The Oracle Asmlib Driver: [Failed] On Rhel5.1 Asmlib >>>>> Download Full

    >>>>> Download LINK 44

    ReplyDelete