Sunday, October 13, 2019

Oracle 19c (19.3.0) Installation on Oracle Enterprise Linux 8.0 (OEL 8.0)



Oracle 19c (19.3.0) Installation on Oracle Enterprise Linux 8.0

Error-1: 
==========

/u01/app/oracle/product/19.3.0/dbhome_1/perl/bin/perl: error while loading shared libraries: 
libnsl.so.1: cannot open shared object file: No such file or directory

Check the following
===================
[oracle@19c-19g-orcld ~]$ ldd /u01/app/oracle/product/19.3.0/dbhome_1/perl/bin/perl
        linux-vdso.so.1 (0x00007ffd0e9b1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f31d8706000)
        libnsl.so.1 => not found
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f31d82e9000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f31d7f67000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f31d7d3e000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f31d7b3a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f31d7776000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f31d755e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f31d8926000)
[oracle@19c-19g-orcld ~]$

Installed required RPMs for OEL 8.0
===================================
# New for OL8
dnf install -y libnsl
dnf install -y libnsl.i686
dnf install -y libnsl2
dnf install -y libnsl2.i686

[root@19c-19g-orclp ~]# # New for OL8
[root@19c-19g-orclp ~]# dnf install -y libnsl
Last metadata expiration check: 0:01:18 ago on Sun 13 Oct 2019 11:02:26 AM EDT.
Dependencies resolved.
====================================================================================================================================
 Package                        Arch                           Version               Repository                                 Size
====================================================================================================================================
Installing:
 libnsl                         x86_64                         2.28-42.0.1.el8_0.1   ol8_baseos_latest                          87 k

Transaction Summary
=====================================================================================================================================
Install  1 Package

Total download size: 87 k
Installed size: 147 k
Downloading Packages:
libnsl-2.28-42.0.1.el8_0.1.x86_64.rpm                                                                                          71 kB/s |  87 kB     00:01
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                          71 kB/s |  87 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                 1/1
  Installing       : libnsl-2.28-42.0.1.el8_0.1.x86_64                                                               1/1
  Running scriptlet: libnsl-2.28-42.0.1.el8_0.1.x86_64                                                               1/1
  Verifying        : libnsl-2.28-42.0.1.el8_0.1.x86_64                                                               1/1

Installed:
  libnsl-2.28-42.0.1.el8_0.1.x86_64

Complete!
[root@19c-19g-orclp ~]# dnf install -y libnsl.i686
Last metadata expiration check: 0:01:21 ago on Sun 13 Oct 2019 11:02:26 AM EDT.
Dependencies resolved.
=========================================================================================================================================
 Package                         Arch                          Version                   Repository                                  Size
=========================================================================================================================================
Installing:
 libnsl                          i686                          2.28-42.0.1.el8_0.1       ol8_baseos_latest                           91 k
Installing dependencies:
 glibc                           i686                          2.28-42.0.1.el8_0.1       ol8_baseos_latest                          3.6 M

Transaction Summary
==========================================================================================================================================
Install  2 Packages

Total download size: 3.6 M
Installed size: 14 M
Downloading Packages:
(1/2): libnsl-2.28-42.0.1.el8_0.1.i686.rpm                                               84 kB/s |  91 kB     00:01
(2/2): glibc-2.28-42.0.1.el8_0.1.i686.rpm                                                2.8 MB/s | 3.6 MB     00:01
-------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                    2.9 MB/s | 3.6 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                     1/1
  Running scriptlet: glibc-2.28-42.0.1.el8_0.1.i686                                      1/2
  Installing       : glibc-2.28-42.0.1.el8_0.1.i686                                      1/2
  Running scriptlet: glibc-2.28-42.0.1.el8_0.1.i686                                      1/2
  Installing       : libnsl-2.28-42.0.1.el8_0.1.i686                                     2/2
  Running scriptlet: libnsl-2.28-42.0.1.el8_0.1.i686                                     2/2
  Verifying        : libnsl-2.28-42.0.1.el8_0.1.i686                                     1/2
  Verifying        : glibc-2.28-42.0.1.el8_0.1.i686                                      2/2

Installed:
  libnsl-2.28-42.0.1.el8_0.1.i686                                                glibc-2.28-42.0.1.el8_0.1.i686

Complete!
[root@19c-19g-orclp ~]# dnf install -y libnsl2
Last metadata expiration check: 0:01:26 ago on Sun 13 Oct 2019 11:02:26 AM EDT.
Package libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@19c-19g-orclp ~]# dnf install -y libnsl2.i686
Last metadata expiration check: 0:02:28 ago on Sun 13 Oct 2019 11:02:26 AM EDT.
Dependencies resolved.
===========================================================================================================================================
 Package                           Arch                     Version                            Repository                             Size
===========================================================================================================================================
Installing:
 libnsl2                           i686                     1.2.0-2.20180605git4a062cf.el8     ol8_baseos_latest                      61 k
Installing dependencies:
 libsepol                          i686                     2.8-2.el8                          ol8_baseos_latest                     366 k
 libcom_err                        i686                     1.44.3-2.el8                       ol8_baseos_latest                      48 k
 pcre2                             i686                     10.32-1.el8                        ol8_baseos_latest                     246 k
 zlib                              i686                     1.2.11-10.el8                      ol8_baseos_latest                     103 k
 libverto                          i686                     0.3.0-5.el8                        ol8_baseos_latest                      25 k
 keyutils-libs                     i686                     1.5.10-6.el8                       ol8_baseos_latest                      34 k
 openssl-libs                      i686                     1:1.1.1-8.0.1.el8                  ol8_baseos_latest                     1.4 M
 krb5-libs                         i686                     1.16.1-22.el8                      ol8_baseos_latest                     906 k
 libselinux                        i686                     2.8-6.el8                          ol8_baseos_latest                     186 k
 libtirpc                          i686                     1.1.4-3.el8                        ol8_baseos_latest                     120 k

Transaction Summary
==========================================================================================================================================
Install  11 Packages

Total download size: 3.5 M
Installed size: 8.6 M
Downloading Packages:
(1/11): libcom_err-1.44.3-2.el8.i686.rpm                                                       42 kB/s |  48 kB     00:01
(2/11): libsepol-2.8-2.el8.i686.rpm                                                            312 kB/s | 366 kB     00:01
(3/11): pcre2-10.32-1.el8.i686.rpm                                                             205 kB/s | 246 kB     00:01
(4/11): libnsl2-1.2.0-2.20180605git4a062cf.el8.i686.rpm                                        839 kB/s |  61 kB     00:00
(5/11): zlib-1.2.11-10.el8.i686.rpm                                                            1.4 MB/s | 103 kB     00:00
(6/11): libverto-0.3.0-5.el8.i686.rpm                                                          300 kB/s |  25 kB     00:00
(7/11): keyutils-libs-1.5.10-6.el8.i686.rpm                                                    474 kB/s |  34 kB     00:00
(8/11): libselinux-2.8-6.el8.i686.rpm                                                          2.1 MB/s | 186 kB     00:00
(9/11): krb5-libs-1.16.1-22.el8.i686.rpm                                                       7.5 MB/s | 906 kB     00:00
(10/11): openssl-libs-1.1.1-8.0.1.el8.i686.rpm                                                 8.1 MB/s | 1.4 MB     00:00
(11/11): libtirpc-1.1.4-3.el8.i686.rpm                                                         2.3 MB/s | 120 kB     00:00
---------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                          2.4 MB/s | 3.5 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                           1/1
  Installing       : libcom_err-1.44.3-2.el8.i686                                              1/11
  Running scriptlet: libcom_err-1.44.3-2.el8.i686                                              1/11
  Installing       : keyutils-libs-1.5.10-6.el8.i686                                           2/11
  Installing       : libverto-0.3.0-5.el8.i686                                                 3/11
  Installing       : zlib-1.2.11-10.el8.i686                                                   4/11
  Installing       : openssl-libs-1:1.1.1-8.0.1.el8.i686                                       5/11
  Running scriptlet: openssl-libs-1:1.1.1-8.0.1.el8.i686                                       5/11
  Installing       : pcre2-10.32-1.el8.i686                                                    6/11
  Installing       : libsepol-2.8-2.el8.i686                                                   7/11
  Running scriptlet: libsepol-2.8-2.el8.i686                                                   7/11
  Installing       : libselinux-2.8-6.el8.i686                                                 8/11
  Running scriptlet: libselinux-2.8-6.el8.i686                                                 8/11
  Installing       : krb5-libs-1.16.1-22.el8.i686                                              9/11
  Installing       : libtirpc-1.1.4-3.el8.i686                                                 10/11
  Running scriptlet: libtirpc-1.1.4-3.el8.i686                                                 10/11
  Installing       : libnsl2-1.2.0-2.20180605git4a062cf.el8.i686                               11/11
  Running scriptlet: libnsl2-1.2.0-2.20180605git4a062cf.el8.i686                               11/11
  Verifying        : libsepol-2.8-2.el8.i686                                                   1/11
  Verifying        : libcom_err-1.44.3-2.el8.i686                                              2/11
  Verifying        : pcre2-10.32-1.el8.i686                                                    3/11
  Verifying        : libnsl2-1.2.0-2.20180605git4a062cf.el8.i686                               4/11
  Verifying        : zlib-1.2.11-10.el8.i686                                                   5/11
  Verifying        : libverto-0.3.0-5.el8.i686                                                 6/11
  Verifying        : keyutils-libs-1.5.10-6.el8.i686                                           7/11
  Verifying        : openssl-libs-1:1.1.1-8.0.1.el8.i686                                       8/11
  Verifying        : krb5-libs-1.16.1-22.el8.i686                                              9/11
  Verifying        : libselinux-2.8-6.el8.i686                                                 10/11
  Verifying        : libtirpc-1.1.4-3.el8.i686                                                 11/11

Installed:
  libnsl2-1.2.0-2.20180605git4a062cf.el8.i686     libsepol-2.8-2.el8.i686       libcom_err-1.44.3-2.el8.i686        pcre2-10.32-1.el8.i686
  zlib-1.2.11-10.el8.i686                         libverto-0.3.0-5.el8.i686     keyutils-libs-1.5.10-6.el8.i686     openssl-libs-1:1.1.1-8.0.1.el8.i686
  krb5-libs-1.16.1-22.el8.i686                    libselinux-2.8-6.el8.i686     libtirpc-1.1.4-3.el8.i686

Complete!
[root@19c-19g-orclp ~]#

Checked the following:
======================
[oracle@19c-19g-orcld ~]$ ldd /u01/app/oracle/product/19.3.0/dbhome_1/perl/bin/perl
        linux-vdso.so.1 (0x00007ffd0e9b1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f31d8706000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f31d84ed000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f31d82e9000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f31d7f67000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f31d7d3e000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f31d7b3a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f31d7776000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f31d755e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f31d8926000)
[oracle@19c-19g-orcld ~]$

Installed "xorg-x11-xauth" also 
==================================
[root@19c-19g-orclp ~]# dnf install -y xorg-x11-xauth
Oracle Linux 8 Application Stream (x86_64)                               2.7 kB/s | 2.9 kB     00:01
Oracle Linux 8 BaseOS Latest (x86_64)                                    2.5 kB/s | 2.7 kB     00:01
Package xorg-x11-xauth-1:1.0.9-12.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@19c-19g-orclp ~]#


Error-2: 
==========
[WARNING] [INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
   CAUSE: No additional information available.
   ACTION: Contact Oracle Support Services or refer to the software manual.
   SUMMARY:
       - java.lang.NullPointerException




Set the following: It works. Please let me know if any work around

[oracle@19c-19g-orcld dbhome_1]$ export CV_ASSUME_DISTID=RHEL7.6
[oracle@19c-19g-orcld dbhome_1]$ ./runInstaller &




Note: Got warnings but the still the Oracle 19c Installation proceeds...... Thank you 

Please let me know if any other workaround.........