Installing 14.10.FC3
Posted in 2020
Greg Bunting could not install 14.10.FC3 on RHEL 7; the installer failed unzipping and the bundled java gave a libjli.so error. Others suggested SELinux permissive mode, an IATEMPDIR change, extra library links on RHEL 8, and noted /tmp mount options had caused Marc Demhartner's failure. Greg solved it by using an earlier download of the tar archive, so the first was bad.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades, Storage & Space Management, Stored Procedures & SPL, Platform-Specific Issues, Java & JDBC Development, Internationalization & Character Sets
Hi, Has anyone had any issues installing the 64-bit Linux version of 14.10.FC3? I've downloaded the archive ibm.ids.14.10.FC3.LNX.tar and when I try to install I get the following:- [root@odin informix1410]# ./ids_install No of blocks of size 8192 to extract for custom unix file : 1 Extracting locale bundle from ./ids_install to /opt/informix1410/custom_padded ... Extracting done, exit code = 0 Extracting locale bundle from /opt/informix1410/custom_padded to /opt/informix1410/custom ... Extracting done, exit code = 0 Preparing to install Checking for POSIX df. Found POSIX df. Checking tail options... Using tail -n 1. True location of the self extractor: /opt/informix1410/ids_install Creating installer data directory: /tmp/install.dir.1327 Creating installer data directory: /tmp/install.dir.1327/InstallerData Gathering free-space information... Space needed to complete the self-extraction: 2586110 blocks Available space: 10560880 blocks Available blocks: 10560880 Needed blocks: 2586110 (block = 512 bytes) Computed number of blocks to extract: 5420 Extracting the JRE from the installer archive... Extracting JRE from ./ids_install to /tmp/install.dir.1327/Linux/resource/jre_padded ... Extracting done, exit code = 0 Extracting JRE from /tmp/install.dir.1327/Linux/resource/jre_padded to /tmp/install.dir.1327/Linux/resource/vm.tar.Z ... Extracting done, exit code = 0 Unpacking the JRE... Unpacking the JRE... gzip is /usr/bin/gzip GZIP done. TAR done. Extracting the installation resources from the installer archive... Extracting install.zip from ./ids_install to /tmp/install.dir.1327/InstallerData/installer.padded ... Extracting to padded done, exit code = 0 Extracting from padded to zip done, exit code = 0 Creating disk1 data directory: /tmp/install.dir.1327/InstallerData/Disk1 Creating instdata data directory: /tmp/install.dir.1327/InstallerData/Disk1/InstData Extracting resources from ./ids_install to /tmp/install.dir.1327/InstallerData/Disk1/InstData/Resource1.zip ... Extracting done, exit code = 0 Configuring the installer for this system's environment... ========= Analyzing UNIX Environment ================================= Setting UNIX (linux) flavor specifics. Importing UNIX environment into LAX properties. Checking for POSIX awk. ========= Analyzing LAX ============================================== LAX found............................ OK. LAX properties read.................. OK. ========= Finding VM ================================================= Valid VM types.......................... 1.8+ Absolute LAX_VM path.................... /tmp/install.dir.1327/Linux/resource/jre/bin/java Expanded Valid VM types................. 1.8+ Unzipping of installer.zip failed. Using the Default JVM Search Searching without JVM specs * Using VM.....(lax.nl.current.vm)...... /tmp/install.dir.1327/Linux/resource/jre/bin/java ========= Virtual Machine Options ==================================== LAX properties incorporated............. OK. classpath............................... "/tmp/install.dir.1327/InstallerData:/tmp/install.dir.1327/InstallerData/installer.zip" main class.............................. "com.zerog.ia.installer.Main" .lax file path.......................... "/tmp/install.dir.1327/temp.lax" user directory.......................... "/tmp/install.dir.1327" stdout to............................... "console" sterr to................................ "console" install directory....................... "" JIT..................................... none option (verify)......................... off option (verbosity)...................... none option (garbage collection extent)...... none option (garbage collection thread)...... none option (native stack max size).......... none option (java stack max size)............ none option (java heap max size)............. 536870912 option (java heap initial size)......... 67108864 option (lax.nl.java.option.additional).. -d64 ========= Display settings =========================================== X display............................... local UI mode................................. console Launching installer... ========= VM Command Line ============================================ options: -Xmx536870912 -Xms67108864 -d64 CLASSPATH:/tmp/install.dir.1327/InstallerData:/tmp/install.dir.1327/InstallerData/installer.zip: ========= Forking JAVA ============================================= JRE libraries are missing or not compatible.... Exiting.... ========= JAVA Finished ============================================== Thanks, Greg ------------------------------ Greg Bunting ------------------------------ #Informix
Hi Greg, what exactly is "ibm.ids.14.10.FC3.LNX.tar"? Before suspecting "JRE libraries are missing" I'd first clarify "compatible". In other words: on what HW architecture (below your Linux) are you trying this? x86_64, Power, z ? is the installable you're trying the right one for this architecture? BR, Andreas ------------------------------ Andreas Legner ------------------------------
None at all – looks like a java issue
Hi Andreas, This is the x86_64 version I have downloaded from IBM and I can confirm this should be compatible with the Linux RedHat 7 system I am installing this on. For the record, I have installed the x86_64 version of 14.10.FC2 on the same server which was downloaded from the same source without any issues. I need to do a test install of FC3 as we are upgrading a clients IDS and have the WE java installer for 14.10.FC3 before I attempt this in a live environment. Regards, Greg ------------------------------ Greg Bunting ------------------------------
Hi Greg, well at least I can confirm that 'ibm.ids.14.10.FC3.LNX.tar' is the correct archive. I installed it without any problems on RHEL 7.7 64 bit Regards Rainer ------------------------------ Rainer von Bongartz ------------------------------
Hi Paul, I think it is more like this: Unzipping of installer.zip failed. is the cause as this is the section of the ids_install script that does this:- unzip_success=`$UNZIP_CMD -d $INSTALLER_DATA_DIR $INSTALL_ZIP jvmspecs* > /dev/null 2>&1` R_unzip=$? If I run this manually I get the following: [root@odin InstallerData]# /usr/bin/unzip -d /tmp/install.dir.31350/InstallerData /tmp/install.dir.31350/InstallerData/installer.zip jvmspecs* Archive: /tmp/install.dir.31350/InstallerData/installer.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /tmp/install.dir.31350/InstallerData/installer.zip or /tmp/install.dir.31350/InstallerData/installer.zip.zip, and cannot find /tmp/install.dir.31350/InstallerData/installer.zip.ZIP, period. Regards, Greg ------------------------------ Greg Bunting ------------------------------
Hello there, i have also huge issues with the 14.10FC3 installation under RHEL8.1 first it had to set manually some links in /lib64/tls "libc.so.6 libm.so.6" and then the installer needes the "/tmp2" workaround and now it crashed during the step "Service instance" 1- Yes - create a server instance 2- No - do not create a server instance ENTER THE NUMBER OF THE DESIRED CHOICE: 2 =============================================================================== An error occurred during pre-installation. ------------------------------ Can anyone help here? ------------------------------ Marc Demhartner ------------------------------ ------------------------------
Tried this in a test env here, and I indeed can run this unzip without errors. Have you tried re-downloading the installer? Also: have you tried running that java? E.g.: /tmp/install.dir.1327/Linux/resource/jre/bin/java -version ------------------------------ Andreas Legner ------------------------------
Okay, my problem was caused by some security setings as mount option for /tmp - tried without and it worked fine ------------------------------ Marc Demhartner ------------------------------
Hi Andreas, If I run from the temporary install directory I get: ./java -version ./java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory If I run the java in my path I get: java -version java version "1.8.0_211" Java(TM) SE Runtime Environment (build 8.0.5.37 - pxa6480sr5fp37-20190618_01(SR5 FP37)) IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20190617_419755 (JIT enabled, AOT enabled) OpenJ9 - 354b31d OMR - 0437c69 IBM - 4972efe) JCL - 20190606_01 based on Oracle jdk8u211-b25 Regards, Greg ------------------------------ Greg Bunting ------------------------------
Hi all For Mark and Greg : I have have installed 14.10 FC3 a good number of times on RedHat/Centos 7 and 8 RedHat 7 is straightforward as long as you install the required libraries (kaio, libterm etc) that you will see in the machnote. RedHat 8: you will need to do a couple(or 3) of symbolic links on some of those librairies: the principle is that IDS has been compiled on RedHat7, and those libraries are at version <libname>.so.5.1, and by default RedHat 8 has the same lib as <libname>.so.6.1: you 'll do run the following as root: ln -s /usr/lib64/<libname>.so.6.1 /usr/lib64/<libname>.so.5 and everything will be ok the problem at install may be due to the fact that you have many /tmp/installdir.NNN directories that may fill /tmp file system up to 100%. Try just deleting those directories and run again. Else you may have a download issue: I never had it
Here's what I'm getting when running this in my env, using the remnants of an interrupted 14.10.FC3 installation (on Linux):
$ cd /tmp/install.dir.17205/Linux/resource/jre/jre/bin
$ ./java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr7fp1-20140708_01(SR7 FP1))IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20140627_204598 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR7_20140627_0924_B204598
JIT - r11.b06_20140409_61252.04
GC - R26_Java726_SR7_20140627_0924_B204598_CMPRSS
J9CL - 20140627_204598)
JCL - 20140707_01 based on Oracle 7u65-b16
$ ldd ./java
linux-vdso.so.1 (0x00007ffd0cfaf000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6b87612000)
libjli.so
=> /tmp/install.dir.17205/Linux/resource/jre/jre/bin/./../lib/amd64/jli/libjli.so (0x00007f6b874f9000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f6b872f5000)
libdbgwrapper70.so => /tmp/install.dir.17205/Linux/resource/jre/jre/bin/./../lib/amd64/libdbgwrapper70.so (0x00007f6b871f1000)
libc.so.6 => /lib64/libc.so.6 (0x00007f6b86e4d000)
/lib64/ld-linux-x86-64.so.2 (0x000055cab2fed000)And as far as I can see libjli.so did not come unzipping installer.zip.
So it would appear you've already got two inconsistecies there, one in installer.zip, another one in that jre subdirectory.
I'd still suggest re-trying all steps, from initial download of 'ibm.ids.14.10.FC3.LNX.tar' via untarring this, finally running resulting ids_install - and byte/chksum/ls -l -comparing all intermediate results with what you're having.
------------------------------
Andreas Legner
------------------------------
libjli.so => /tmp/ install.dir.17205/Linux/resource/jre/jre/bin/./../lib/amd64/jli/libjli.so That's probably the reason for the failure. For security reasons process running as root may not want to load shared objects from arbitrary locations. SELINUX may have specific policy for this too. As a workaround - Informix installer temp directory can be pointed to other location - using IATEMPDIR environment variable. It's possible that setting SELINUX "permissive" mode for the install can allow it to succeed. ------------------------------ Vladimir Kolobrodov ------------------------------
Try with selinux permissive [setenforce 0] and also firewall disabled [systemctl stop firewalld]. I have dozen instalations over version 7 and 8 without problems. SP ------------------------------ Sergio Peres AIRC Coimbra ------------------------------
Hi Sergio, Thanks for the response. We have SELinux disabled. I stopped the firewall and it still failed to install. Regards, Greg ------------------------------ Greg Bunting ------------------------------
Hi Greg, What is the exact version you have? [cat /etc/redhat-release] Do you have installed OS java? Which version is running? [rpm -qa | grep java] [java -version] Do you have installed development tools? This is necessary What version of glibc? [rpm -qa | grep glibc] SP ------------------------------ Sergio Peres AIRC Coimbra ------------------------------
Thanks everyone for their input into this. I have managed to resolve the issue. The downloaded archive looks to have been the issue (ibm.ids.14.10.FC3.LNX.tar) - I found we had another 14.10.FC3 tar from an earlier download that I managed to successfully install. Regards, Greg ------------------------------ Greg Bunting ------------------------------