Tag Archives: oracle technology

Solution to “initializing the Oracle asmlib driver: [failed]”

after installing the corresponding ASM component, execute /etc/init.d /oracleasm enable and display failure. View log

[SQL]
view plain
The copy

  1. [root @ localhost log] # more/var/log/oracleasm
  2. Cleaning any stale ASM disks…
  3. File “/ dev/” is not a block device
  4. “VOL1” Disk does not exist or is not instantiated
  5. Writing disk header: done
  6. No0 1 such file 3 or4 5 directory; Instantiating disk: oracleasm-instantiate disk: we are Unable to manager: No0 1 such file 3 or4 5 directory
  7. failed
  8. Clearing disk header: done
  9. “VOL1” Disk does not exist or is not instantiated
  10. Writing disk header: done
  11. No0 1 such file 3 or4 5 directory; Instantiating disk: oracleasm-instantiate disk: we are Unable to manager: No0 1 such file 3 or4 5 directory
  12. failed
  13. Clearing disk header: done
  14. Creating/dev/oracleasm mount point:/dev/oracleasm
  15. Loading module “oracleasm” : failed
  16. Unable to load module “oracleasm”

    the oracleasm component oracleasm. Ko

    cannot be found

    looks for

    in the file system

    [SQL]
    view plain
    The copy

    1. [root @ localhost log] # find/- name oracleasm. Ko
    2. /lib/modules/2.6.18-53.1.21. El5/kernel/drivers/addon/oracleasm/oracleasm ko

      manually install ASM components

      [SQL]
      view plain
      The copy

      1. [root @ localhost log] #/sbin/insmod/lib/modules/2.6.18-53.1.21. El5/kernel/drivers/addon/oracleasm/oracleasm ko

        re-execute

        /etc/init.d/oracleasm enable execute successfully.