Cognos Analytics

 View Only
Expand all | Collapse all

Cognos Analytics 11.1.4 on RHEL Linux 8.0 - Fix for ZLIB issue

  • 1.  Cognos Analytics 11.1.4 on RHEL Linux 8.0 - Fix for ZLIB issue

    IBM Champion
    Posted Fri November 15, 2019 04:40 PM
      |   view attached
    I have two publications describing the installation of Cognos 11.1.4 in step-by-step detail:

    URLs to the documents below:

    https://doi.org/10.13140/RG.2.2.11774.13129
    IBM Cognos Analytics 11.1.4 Installation and Configuration On Windows 10 and RHEL 8.0

    https://doi.org/10.13140/RG.2.2.27286.50240
    IBM Cognos Analytics 11.1.4 Installation - Linux Appendix for Fix for Zlib and Configuration for RHEL 8.0

    Within the second document I have described an issue and a fix for the installation on RHEL 8.0 Linux as follows:

    Initial cogconfig.sh Cognos Configuration failure

    initially starting the cognos configuration on RHEL 8.0 Linux gave:

    [root@ECMUKDEMO6 bin64]# cd /opt/ibm/cognos/analytics114/bin64

    [root@ECMUKDEMO6 bin64]# export JAVA_HOME=/opt/ibm/cognos/analytics114/jre

    [root@ECMUKDEMO6 bin64]# export JRE_HOME=/opt/ibm/cognos/analytics114/jre

    [root@ECMUKDEMO6 bin64]# export LD_LIBRARY_PATH=/opt/ibm/cognos/analytics114/bin64:.:/usr/bin/:/opt/ibm/cognos/analytics114/bin64

    [root@ECMUKDEMO6 bin64]#./cogconfig.sh

    Came back immediately with no screen load of the GUI interface.

    In the log file:

    vi /opt/ibm/cognos/analytics114/logs/cogconfig.log

    12/11/2019,02:10:03,Info,========== Cognos Configuration =========

    12/11/2019,02:10:04,Err,java.lang.UnsatisfiedLinkError: /opt/ibm/cognos/analytics114/jre/lib/amd64/libawt_xawt.so (/lib64/libpng16.so.16: symbol inflateValidate version ZLIB_1.2.9 not defined in file libz.so.1 with link time reference),

    FIX as follows:

    The source of the ZLIB_1.2.9 libz.so.1.2.9 missing shared object library was recompiled and a symbolic link set up in the cognos bin64 directory, source was downloaded from URL as follows on a windows server and copied to the VMware RHEL 8.0 Linux machine:

    https://sourceforge.net/projects/libpng/files/zlib/1.2.9/zlib-1.2.9.tar.gz/download

    [root@ECMUKDEMO6 analytics114]# mkdir ZLIB129

    [root@ECMUKDEMO6 analytics114]# cd ZLIB129/

    [root@ECMUKDEMO6 ZLIB129]# cp /mnt/hgfs/Installs/Cognos11/zlib-1.2.9.tar.gz .

    [root@ECMUKDEMO6 ZLIB129]# ls

    zlib-1.2.9.tar.gz

    [root@ECMUKDEMO6 ZLIB129]# tar -zxvf zlib-1.2.9.tar.gz

    [root@ECMUKDEMO6 ZLIB129]# cd zlib-1.2.9/

    [root@ECMUKDEMO6 zlib-1.2.9]# ./configure; make; make install

    Create a Symbolic Link for the ZLIB 1.2.9 library

    cd /opt/ibm/cognos/analytics114/bin64

    ln -s -f /usr/local/lib/libz.so.1.2.9 libz.so.1


    I can now create a Datasource to IBM FileNet Case Analyser OLAP Database, CASTORE1 :





    ------------------------------
    Alan S Bluck
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Cognos Analytics 11.1.4 on RHEL Linux 8.0 - Fix for ZLIB issue

    Posted Fri November 15, 2019 10:47 PM
    Its good to note that IBM has replaced the cogconfig.sh -s command with startup.sh.

    but they missed the typo during the repository selection process on page 25 and 32 for "choose want you want to install"