Cognos Analytics

 View Only
Expand all | Collapse all

Jupyter Notebook install on RHEL

  • 1.  Jupyter Notebook install on RHEL

    Posted Mon June 05, 2023 02:03 PM
    Edited by Diego Campos Mon June 05, 2023 04:37 PM

    Hi, I am trying to install Cognos Jupyter Notebook 11.2.4 on Red Hat Linux 8.8.
    When I start the installer, it stays blank and I can't proceed.

    When I try to run the installer in Console mode but it gives me the following error

    Any ideas?
    Thank you.



    ------------------------------
    Diego Campos
    ------------------------------



  • 2.  RE: Jupyter Notebook install on RHEL

    Posted Tue June 06, 2023 09:47 AM

    Hello Diego,

    IBM doesn't support the console mode installer. They only document the GUI based install or silent installation. My initial thought regarding the blank GUI based installer is that there might be some missing prerequisites. Have you verified them from: https://www.ibm.com/support/pages/ibm-cognos-analytics-premises-112x-supported-software-environments?

    For instance, RedHat 8 says:

    Additional packages

    yum install libXtst
    yum install libX11.so.6
    yum install libnsl
    yum install nspr.i686 nspr.x86_64
    yum install nss.i686 nss.x86_64
    yum install motif.i686 motif.x86_64
    yum install libnsl.so.1
    yum install libstdc++.so.6

    After that I would also double check your soft limits as the defaults typically do not meet requirements: https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=settings-set-ulimit-values-unix-linux-operating-systems.



    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 3.  RE: Jupyter Notebook install on RHEL

    Posted Tue June 06, 2023 05:49 PM

    Hello Roberto
    Thanks for the reply.

    I'll investigate the links and then I'll let you know.

    Regards.



    ------------------------------
    Diego Campos
    ------------------------------



  • 4.  RE: Jupyter Notebook install on RHEL

    Posted Tue June 06, 2023 06:58 PM

    Hi.

    I just installed the library dependencies but the error continues.
    Now it doesn't start the installer window.

    Tomorrow I will try to generate a response file to test the silent installation

    Regards.



    ------------------------------
    Diego Campos
    ------------------------------



  • 5.  RE: Jupyter Notebook install on RHEL

    Posted Wed June 07, 2023 09:44 AM

    Invalid magic cookie means that your X authority isn't set up correctly. Curious that didn't appear in your previous screen captures. That likely means xauth is already installed but you might make sure with yum install xauth. If you are in a situation where you have to switch user then you need to transfer your Xauthority over to the target user: https://blog.mobatek.net/post/how-to-keep-X11-display-after-su-or-sudo/. What that boils down to is you need to echo $DISPLAY and capture the display value then xauth list and capture the authority that matches that display value under your initial log in and then once you switch user you need to export DISPLAY='display value' and xauth add 'xauth value'. In a multi-user environment the tail -1 approach from the link may not always work.



    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 6.  RE: Jupyter Notebook install on RHEL

    Posted Wed June 07, 2023 08:43 AM

    Hi.
    Does anyone have an installation Response file as an example, for linux environment?



    ------------------------------
    Diego Campos
    ------------------------------



  • 7.  RE: Jupyter Notebook install on RHEL

    Posted Wed June 07, 2023 10:06 AM

    Templates are provided in the documentation: https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=configuration-use-response-file-template. Other than the install path being in UNIX format they really aren't different from a Windows one so you could generate a file from a working environment by running the installer from the command line with -r myresponse.properties as depicted in the documentation: https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=configuration-use-silent-installation.



    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 8.  RE: Jupyter Notebook install on RHEL

    IBM Champion
    Posted Thu June 08, 2023 07:00 AM

    I have written a book which covers this, which you might find helpful:

    https://bpbonline.com/en-gb/products/installation-upgradation-and-configuration-of-ibm-cognos-analytics



    ------------------------------
    Alan S Bluck
    Director
    ASB Software Development Limited
    Ringwood, Hampshire, England
    0044 7710612479
    ------------------------------



  • 9.  RE: Jupyter Notebook install on RHEL

    Posted Thu September 07, 2023 06:16 PM
      |   view attached