Informix 14.10 FC8 installation on Linux
Posted in 2022
Frank Yunyao Qu's ids_install for 14.10 FC8 on Linux failed with 'JRE libraries are missing' and a GLIBC_2.14 native API error. Markus Holzbauer listed packages to install and JAVA_HOME. Kirit Rana, Doug Lawry and Hedwig Fuchs pointed to noexec on /tmp and IATEMPDIR (APAR IT36316). Oyvind Gjerstad found setting both TMPDIR and IATEMPDIR worked for CSDK. Original outcome not stated.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades, Platform-Specific Issues
Hi, Any idea on the following errors ? Done this for 20 + years, first time got this:-) Thanks Frank 1) case 1 Root# ./ids_install Preparing to install Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... JRE libraries are missing or not compatible.... Exiting.... 2)case 2 Root# . ./ids_install Preparing to install Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... =============================================================================== (created with InstallAnywhere) ------------------------------------------------------------------------------- Preparing CONSOLE Mode Installation... =============================================================================== NativeAPI Failure ----------------- Error loading nativeAPI:/tmp/ismp001/ libnativeAPI.so Message: /tmp/ismp001/ libnativeAPI.so (/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/ismp001/ libnativeAPI.so )) PRESS <ENTER> TO ACCEPT THE FOLLOWING (Exit Installer): #Informix
Hi Frank,
that has worked for me:
# yum install -y libaio libgcc libstdc++ ncurses ncurses-compat-libs java-1.8.0-openjdk-devel ksh
# export JAVA_HOME=/usr/lib/jvm/jre-1.8.0
# ./ids_install
Cheers,Markus
------------------------------
Markus Holzbauer
------------------------------
Frank I recall from the dim and distant past on previous IDS versions that this can happen if you have enabled the -noexec file system attribute on your /tmp file system, assuming it has a mount point in its own right. Many companies do this for security reasons to prevent executables using /tmp as a launch pad for their sub-processes. Unfortunately, this is exactly what ids_install does. You could temporarily disable the -noexec attribute on /tmp; perform your IDS install then re-enable the -noexec attribute again. Caveat: I am not responsible if your Security department pulls you up for using this approach. ------------------------------ Kirit Rana ------------------------------
If that was the problem, you could set IATEMPDIR to another directory: https://www.ibm.com/docs/en/informix-servers/14.10?topic=installation-system-requirements ------------------------------ Doug Lawry Oninit Consulting ------------------------------
hi, are you sure you have the minimum requirements as described here : Informix Server System Requirements regards Ibm remove preview Informix Server System Requirements This document describes the operating system requirements for the current releases of IBM® Informix® server. View this on Ibm > ------------------------------ jack r ------------------------------
Doug I managed to dig up some notes I had taken at the time, whilst performing an in-line upgrade from 11.70.FC9 to 12.10.FC13 . [root@myDbServer /]$ ./ids_install Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... JRE libraries are missing or not compatible.... Exiting.... I found this on the web https://www.ibm.com/support/pages/jre-libraries-are-missing-or-not-compatible and tried it ensuring that... - The $ IATEMPDIR environment variable was set to /tmp2 did not have the noexec file system attribute . - Set the ISTEMP_HOME environment variable. I suspected this was the same as IATEMPDIR , so I set it as the same. - Ensured that the prompt was not overly complicated, so I used an absolute simple one. - Ensure the Java version was 1.6 or higher. ...but this yielded a different error... [root@myDbServer /]$ ./ids_install Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... =============================================================================== (created with InstallAnywhere) ------------------------------------------------------------------------------- Preparing CONSOLE Mode Installation... =============================================================================== Getting Started --------------- PRESS <ENTER> TO CONTINUE: =============================================================================== Missing license file LA_in Missing license file LI_in ... all to no avail. The Install Log created in /tmp2 , read... Install Log Detail: Check Disk Space: Status: SUCCESSFUL Additional Notes: NOTE - Required Disk Space: 691,266,990; Free Disk Space: 6,992,457,728 Custom Action: com.ibm.informix.install.ia.FixVariables Status: ERROR Additional Notes: ERROR - class com.ibm.informix.install.ia.FixVariables.install() Unexpected Fatal Error: Custom Action: com.ibm.informix.install.ia.SetUserInstallDir Status: SUCCESSFUL Software License Agreement : Status: FATAL ERROR Additional Notes: FATAL ERROR - The license agreement was not accepted. In the end I removed the noexec attribute from my original /tmp , which allowed the installation to complete. ------------------------------ Kirit Rana ------------------------------
It sort of looks like there is a response file that the installer is reading and that the license acceptance response is not there. I don't see the usual prompts in the output you posted. ------------------------------ Art S. Kagel, President and Principal Consultant ASK Database Management Corp. www.askdbmgt.com ------------------------------
Hi Art Yes, it was a bizarre one. The only way I found to work around it was to manipulate the /tmp file system attributes. All water under the bridge now. That particular customer will be upgrading to IDS 14.10 or migrating to OneDB 2.0.0.0 in the near future. Same difference I know. LOL ------------------------------ Kirit Rana ------------------------------
Hi, see IT36316: INSTALLATION DOCUMENTATION SHOULD INCLUDE THE REQUIREMENT FOR BOTH /TMP AND IATEMPDIR TO NOT HAVE NOEXEC FOR THE FILESYSTEM In my understanding Install Anywhere is still placing some libs in /tmp (even when other tempdir is specified for the installation) and therefore it is necessary not to have NOEXEC. Hedwig Fuchs ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
Yay! Thank you for that Hedwig. I did not know at the time, but you have confirmed that my conclusion and course of action taken were both correct. ------------------------------ Kirit Rana ------------------------------
Old thread, I know, but I ran into the same problem with installation of CSDK, and setting IATEMPDIR didn't help there either. But, then I tried setting both TMPDIR and IATEMPDIR to some other location, and that worked! This was CSDK 4.50.FC9, so fairly new, but might be something to test also for IDS installation. System admins don't like removing the noexec flag for /tmp ------------------------------ Øyvind Gjerstad Developer/Architect PostNord AS ------------------------------