One comment about linux installation
Answered: grey (solid confidence) — Tip/observation about the Linux installer failing when /tmp is mounted noexec, not a question; APARs were logged, and a 2024 comment says it is still not fixed.
Advisory only.
Posted in 2021
Hrvoje Zokovic reported the Informix Linux installer fails with an UnsatisfiedLinkError when /tmp is mounted noexec, even with IATEMPDIR set, because libnativeAPI.so still goes to /tmp. Jon Ritson said he had logged documentation APARs. Hrvoje suggested documenting LAX_DEBUG=1. Oyvind Gjerstad noted CSDK 4.50.FC11 still has the problem and README lacks a mention.
Topics: Installation, Setup & Upgrades, Error Codes & Troubleshooting, Platform-Specific Issues, Java & JDBC Development
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
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 ------------------------------
... 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 ------------------------------
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 ------------------------------
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 ------------------------------