Informix

 View Only
  • 1.  One comment about linux installation

    IBM Champion
    Posted Sun May 02, 2021 02:59 PM

    I can't find that in installation guide but - when installing you can't have these mount flags on /tmp:
    nosuid,nodev,noexec

    Even if you try to "move" tmp with IATEMPDIR env variable, installation is still using /tmp, i.e.:
    Native API library will be stored as '/tmp/ismp006/libnativeAPI.so'.
    resulting in:
    Error: Linux System Util Service Initialization Failed. Turn on the System property 'EnableLinuxPPKLogger' for more stack trace details
    Error: Linux File Service Initialization Failed. Turn on the System property 'EnableLinuxPPKLogger' for more stack trace details
    Execute Custom Code
    class com.ibm.informix.install.ia.FixVariables.install() Unexpected Fatal Error:
    java.lang.UnsatisfiedLinkError: /tmp/ismp006/libnativeAPI.so (/tmp/ismp006/libnativeAPI.so: failed to map segment from shared object: Operation not permitted)

    Keep calm and install informix
    Hrvoje



    ------------------------------
    Hrvoje Zokovic
    ------------------------------

    #Informix


  • 2.  RE: One comment about linux installation

    Posted Tue May 04, 2021 03:19 AM

    Hi.

    I logged several APARs recently ...

    IT36316 INSTALLATION DOCUMENTATION SHOULD INCLUDE THE REQUIREMENT FOR BOTH /TMP AND IATEMPDIR TO NOT HAVE NOEXEC FOR THE FILESYSTEM

    IT36318 DOCUMENTATION DOES NOT DETAIL ALL LOG FILES GENERATED DURING INSTALLATION WHICH SHOULD BE REVIEWED ON ANY FAILURE

    IT36317 DOCUMENTATION SHOULD INCLUDE RESOLVING SHARED LIBRARY REQUIREMENTS FOR INSTALLING INFORMIX ON LATER OS RELEASES


    JJ



    ------------------------------
    Jon Ritson
    ------------------------------



  • 3.  RE: One comment about linux installation

    Posted Tue May 04, 2021 03:21 AM
    ...

    Basically, IATEMPDIR does not relocate that critical Java shared library (libnativeAPI.so) from /tmp to IATEMPDIR and so it still goes to /tmp and you get that message.

    ------------------------------
    Jon Ritson
    ------------------------------



  • 4.  RE: One comment about linux installation

    IBM Champion
    Posted Tue May 04, 2021 04:25 AM
    Yes JJ, I found that. Also, installation debugging is hard work :)
    Maybe documentation can mention
    export LAX_DEBUG=1
    as well :)
    Regards
    Hrvoje

    ------------------------------
    Hrvoje Zokovic
    ------------------------------



  • 5.  RE: One comment about linux installation

    Posted Tue August 20, 2024 04:50 AM

    A bit disappointing that, now after several years, with for instance Client SDK 4.50.FC11, it still doesn't work to try to relocate the temporary installation folder to somewhere else. And there is still no mention of this in the README-file. 
    I believe it is quite common to disallow exec flag on /tmp in contemporary setups, so this is somewhat annoying. To me it looks like a simple fix, at least to put some information in the README file, and if the location can't be relocated (which also seems a bit strange to me), check it in the installer and put out a plain error message about this



    ------------------------------
    Øyvind Gjerstad
    Developer/Architect
    PostNord AS
    ------------------------------