Hello, during this days I'm using this playbooks to install an environment and while I was installed a multi node installation of Connections with the setup-connections-only.yml I run into a fail after connections install.
the os is Red Hat Enterprise Linux release 8.5 (Ootpa)
TASK [ibm-http-config-plgwct : Generate Response file /opt/IBM/Binaries/logs/config_plugin_wct.rsp] ********************************************************************************************************
ok: [connections.fqdn.com]
TASK [ibm-http-config-plgwct : Configure WebSphere Plugin /opt/IBM/WebSphere/Toolbox/WCT/wctcmd.sh -tool pct -createDefinition -defLocName westend -defLocPathname /opt/IBM/WebSphere/Plugins -response /opt/IBM/Binaries/logs/config_plugin_wct.rsp] ***
fatal: [connections.fqdn.com]: FAILED! => {"changed": false, "cmd": ["/opt/IBM/WebSphere/Toolbox/WCT/wctcmd.sh", "-tool", "pct", "-createDefinition", "-defLocName", "westend", "-defLocPathname", "/opt/IBM/WebSphere/Plugins", "-response", "/opt/IBM/Binaries/logs/config_plugin_wct.rsp"], "delta": "0:00:00.011498", "end": "2022-05-05 10:24:44.822719", "msg": "non-zero return code", "rc": 1, "start": "2022-05-05 10:24:44.811221", "stderr": "libjvm.so preloadLibrary(/opt/IBM/WebSphere/Toolbox/java/jre/lib/i386/libjava.so): libnsl.so.1: cannot open shared object file: No such file or directory\nCould not create the Java virtual machine.", "stderr_lines": ["libjvm.so preloadLibrary(/opt/IBM/WebSphere/Toolbox/java/jre/lib/i386/libjava.so): libnsl.so.1: cannot open shared object file: No such file or directory", "Could not create the Java virtual machine."], "stdout": "", "stdout_lines": []}
after some verification I saw the issue was into the java embedded to the WAS toolbox that wasn't running causing the failure
./versionInfo.sh
libjvm.so preloadLibrary(/opt/IBM/WebSphere/Toolbox/java/jre/lib/i386/libjava.so): libnsl.so.1: cannot open shared object file: No such file or directory
Could not create the Java virtual machine
I 've downloaded and installed the FP21 for Toolbox from IBM site
The install also upgrade the Tollbox jvm from 1.6 to 1.8
`./imcl install com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245 -repositories /root/wct/ -acceptLicense
[root@elpaso tools]# ./imcl install com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245 -repositories /root/wct-f21/ -acceptLicense
Updated to com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245 in the /opt/IBM/WebSphere/Toolbox directory.
WARNING:
The version of Java SE in the WAS_HOME/java directory was updated to Java SE 8
now both ./versionInfo.sh and java -version are running with the updated JVM 8
./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.50, dated 12/20/18
IBM WebSphere Product Installation Status Report
Report at date and time May 5, 2022 11:50:05 AM CEST
Name WebSphere Customization Toolbox
Version 8.5.5.21
ID WCT
Build Level cf212205.01
Build Date 2/2/22
Package com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245
Java SE Version 8
Architecture x86 (32 bit)
Installed Features Core runtime
Web Server Plug-ins Configuration Tool
End Installation Status Report
./java -version
java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 8.0.7.0 - pxi3280sr7-20211025_01(SR7))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux x86-32-Bit 20211022_15212 (JIT enabled, AOT enabled)
OpenJ9 - 6abb372
OMR - b898db9
IBM - 2f2c48b)
JCL - 20210930_01 based on Oracle jdk8u311-b11`
after this steps , the playbook was able to comes to the end, so you should consider to add this part to the authomation.
Hello, during this days I'm using this playbooks to install an environment and while I was installed a multi node installation of Connections with the setup-connections-only.yml I run into a fail after connections install.
the os is Red Hat Enterprise Linux release 8.5 (Ootpa)
after some verification I saw the issue was into the java embedded to the WAS toolbox that wasn't running causing the failure
./versionInfo.sh libjvm.so preloadLibrary(/opt/IBM/WebSphere/Toolbox/java/jre/lib/i386/libjava.so): libnsl.so.1: cannot open shared object file: No such file or directory Could not create the Java virtual machine
I 've downloaded and installed the FP21 for Toolbox from IBM site
8.5.5-WS-WCT-FP021-part1.zip 8.5.5-WS-WCT-FP021-part2.zip
The install also upgrade the Tollbox jvm from 1.6 to 1.8
`./imcl install com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245 -repositories /root/wct/ -acceptLicense [root@elpaso tools]# ./imcl install com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245 -repositories /root/wct-f21/ -acceptLicense Updated to com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245 in the /opt/IBM/WebSphere/Toolbox directory. WARNING: The version of Java SE in the WAS_HOME/java directory was updated to Java SE 8
now both ./versionInfo.sh and java -version are running with the updated JVM 8
./versionInfo.sh WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved. WVER0012I: VersionInfo reporter version 1.15.1.50, dated 12/20/18
IBM WebSphere Product Installation Status Report
Report at date and time May 5, 2022 11:50:05 AM CEST
Installation
Product Directory /opt/IBM/WebSphere/Toolbox Version Directory /opt/IBM/WebSphere/Toolbox/properties/version DTD Directory /opt/IBM/WebSphere/Toolbox/properties/version/dtd Log Directory /var/ibm/InstallationManager/logs
Product List
WCT installed
Installed Product
Name WebSphere Customization Toolbox Version 8.5.5.21 ID WCT Build Level cf212205.01 Build Date 2/2/22 Package com.ibm.websphere.WCT.v85_8.5.5021.20220202_1245 Java SE Version 8 Architecture x86 (32 bit) Installed Features Core runtime Web Server Plug-ins Configuration Tool
End Installation Status Report
./java -version java version "1.8.0_311" Java(TM) SE Runtime Environment (build 8.0.7.0 - pxi3280sr7-20211025_01(SR7)) IBM J9 VM (build 2.9, JRE 1.8.0 Linux x86-32-Bit 20211022_15212 (JIT enabled, AOT enabled) OpenJ9 - 6abb372 OMR - b898db9 IBM - 2f2c48b) JCL - 20210930_01 based on Oracle jdk8u311-b11`
after this steps , the playbook was able to comes to the end, so you should consider to add this part to the authomation.