Some hints for Ubuntu 24.04 (is not in the official compatibility list, but works, most of the things apply to Ubuntu 22.04 as well)
The 15.0.0 edition does not really behave differently than 14.10 in Ubuntu environment
Packages to install: libncurses6, openjdk-17-jre
libaio should be installed already (libaio1t64 package).
Don't know why xerces is a requirement, but the package name would be libxerces-c3.2t64.
Startup might fail with a SHM error (error=13, could not open shm file)
Symptomatic fix: sysctl.conf should have fs.protected_regular=0
(sysctl -p after entering the value)
The actual error occurs, because Informix creates a file with root user in /INFORMIXTMP (this has a t flag),
then switches to informix user and tries to overwrite the file. This is failing because of fs.protected_regular
prevents overwriting a file in a temporary folder by a different user.
libaio
Informix is looking for libaio.so.1
In Ubuntu 24.04 at least, the file is called libaio.so
(Package libaio1t64)
The file is located in /usr/lib/x64_64-linux-gnu, make a symlink to libaio.so.1 and ids should find the aio lib.
Edition installer (issue is documented, occurs with "newer" ( > version 8) java versions, probably in every OS)
Use -Djdk.util.zip.disableZip64ExtraFieldValidation=true
Direct_IO not possible with cooked files in initialization (oninit -i)
When initializing a new chunk in a cooked file (including a rootdbs), AIO will fail intially, but will be active after a restart.
The underlying reason is opening a zero sized file which is then expanded cannot be opened with O_DIRECT.
When the cooked file is expanded, and initial databases are initialized, a bounce should be done if you want to have direct IO (KIO).
If you are starting with a pre-existing file of size > 0 (just populate it with dd if=/dev/zero of=chunk-file count=50, this error does not occur.
Hope this is helpful.
Original Message:
Sent: 11/21/2024 3:44:00 PM
From: Art Kagel
Subject: Problem installing IDS v15.0.0.0 on Ubuntu 24.04
Base Developer Edition installer run in console mode as root. Java v11.0.25 installed. Lots of added fonts.
Here is the tail end of the install output:
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------Invocation of this Java Application has caused an InvocationTargetException. This app
lication will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
at java.desktop/java.awt.Component.<clinit>(Component.java:621)
at com.zerog.ia.installer.actions.InstallUninstaller.cp(Unknown Source)
at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.actions.InstallDirectory.install(Unknown Source)
at com.zerog.ia.installer.actions.InstallDirectory.install(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.Installer.install(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
------------------------------