I cannot run IBM Guardium Key lifecycle management preinstall check scripts on RHEL 9.3
When I run
./preReqCheck.sh
-bash: ./preReqCheck.sh: /bin/sh^M: bad interpreter: No such file or directory
Bash is installed
# which bash
/usr/bin/bash
Any idea?
@paramar2500 This usually happens when the script was created or edited on a Windows system before being transferred to Linux.
Try sudo dnf install dos2unix -y; dos2unix preReqCheck.sh
or
sed -i 's/\r$//' preReqCheck.sh
And re-run the script, hope it helps.
Did not work. Is this not some kind of Java error? in the logs I see all Passed.
[root@localhost disk1]# dos2unix launchpad.sh
dos2unix: converting file launchpad.sh to Unix format...
[root@localhost disk1]# sudo ./launchpad.sh
Choose the locale for Installation Manager.
1. English
2. French
3. German
4. Spanish
5. Italian
6. Japanese
7. Korean
8. Simplified Chinese
9. Traditional Chinese
Enter the number that is corresponding to the locale you want to use for the installation (English is selected by default) :
1
Locale Selected is English.
Starting IBM Guardium Key Lifecycle Manager.
No preinstalled IBM Installation Manager found on the system.
Installing IBM Guardium Key Lifecycle Manager v5.0.0.0
Fri Feb 28 07:09:32 AM EST 2025 - SKLM Prerequisite check started.
Db2 pre-requisite check - PASSED.
Checking required shell - PASSED
Checking executable permissions - PASSED
Checking required umask - PASSED
Checking minimum required space - PASSED
Checking RAM - PASSED
Checking kernel parameters - PASSED
Checking SELinux - PASSED
Checking CPU speed - PASSED
Fri Feb 28 07:09:33 AM EST 2025 - SKLM Prerequisite check - PASSED .
check /tmp/SKLMPrereqCheck.log for more details.
Install: Cannot open display:
Install:
JVM terminated. Exit code=13
/home/admin/Downloads/disk1/im//jre_8.0.8030.20240821_1049/jre/bin/java
-Xms40m
-Xmx1024m
-Xquickstart
-Xgcpolicy:gencon
-Dcom.ibm.tools.attach.enable=no
-jar /home/admin/Downloads/disk1/im/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/admin/Downloads/disk1/im/install
-name Install
--launcher.library /home/admin/Downloads/disk1/im/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v 20161122-1740/eclipse_1618.so
-startup /home/admin/Downloads/disk1/im/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.appendVmargs
-exitdata 8
-toolId install
-accessRights admin input @osgi.install.area/install.xml
-nl en
-vm /home/admin/Downloads/disk1/im//jre_8.0.8030.20240821_1049/jre/bin/java
-vmargs
-Xms40m
-Xmx1024m
-Xquickstart
-Xgcpolicy:gencon
-Dcom.ibm.tools.attach.enable=no
-jar /home/admin/Downloads/disk1/im/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
[root@localhost disk1]#
The problem appears to be that I intially downloaded the 2 IBM Guardian Lifecycle Mangement files to Windows. Windows extracted both into 1 folder disk1. That messes up something.
I now downloaded it directly on the linux box but now it will not extract into 1 folder. The installer now launches but cannot find disk2 and I do not have the option to tell it where disk2 is.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.