Wednesday, 22 January 2014

oracleasm-kmp-default issue installing

Receantly I had to prepare server for Oracle ASM and I came across silly stupid problem.

OS is SLES11.3 x64.

First package you need to install is oracleasm-kmp-default. So I coppied rpm from one of my recently instaled SLES servers that is already running ORACLE 11g with ASM.

So I started instalation ....

 rpm -ivh --test oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64.rpm
error: Failed dependencies:
        kernel(default:fs_inode) = adf94420712fa702 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_seq_file) = ef2713f4cd2441f5 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:kernel_mutex) = a661ac933270637f is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_dcache) = 5bbc6cd5324a8152 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_dcache) = 939ee359cbd31c00 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_file_table) = 8d604723f20adb43 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_super) = b49484b3e1d7542e is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:vmlinux) = 78ddd7e8714ce712 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:vmlinux) = d85b26d970125f4f is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_libfs) = f0b1c210f265c4b8 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:kernel_printk) = 9cc1b39ddf89e9f5 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_bio) = 32807287bde6ab16 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_proc_proc) = f609e7bc25995ef9 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_block_dev) = 209e524c89967167 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:arch_x86_kernel_cpu_common) = f95ddd6e1fd9a3a9 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_namespace) = 50b9876663f73f84 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_namespace) = d29aeb749fa615ba is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:kernel_module) = 1a1be7ca7e424d61 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:kernel_time_timekeeping) = 80d2df62da4c5dfe is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:arch_x86_kernel_paravirt) = e18b6d3e391bb3a7 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_filesystems) = bf13cfd30476c852 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:kernel_sched) = 99b9b2cee8d5c184 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:mm_page_alloc) = c5519693898c1b7d is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:fs_partitions_check) = 20c04aea4dc7bb4b is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64
        kernel(default:block_blk-core) = e9a9063f3758a611 is needed by oracleasm-kmp-default-2.0.5_3.0.38_0.5-7.26.3.x86_64

First thing I think of is that I am missing some dependencies so I started to search on google for similiar problem and solution for it. It seems that no one is having this issue.

After couple hours of browsing, dependenies searching and comparing server configuration, DB admin told me that oracleasm-kmp-default rpm is not on Oracle web site when you want to download oracleasmlib. I search on instalation DVD SLES11.3 and find oracleasm-kmp-default rpm package. So I try to install it with zypper

# zypper install oracleasm-kmp-default
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  oracleasm-kmp-default

1 new package to install.
Overall download size: 31.0 KiB. After the operation, additional 108.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package oracleasm-kmp-default-2.0.5_3.0.76_0.11-7.37.3.x86_64 (1/1), 31.0 KiB (108.0 KiB unpacked)
Installing: oracleasm-kmp-default-2.0.5_3.0.76_0.11-7.37.3 [done]


So issue was this:
oracleasm-kmp-default from SLES11.2 CANNOT be installed on SLES11.3. Always use packages from instalation DVD.

I hope that this help someone!






No comments: