Troubleshooting
Problem
SAP recently released the SAP NetWeaver (NW) RFC SDK 7.50 PL18 libraries. However, when these new SAP NetWeaver (NW) RFC SDK 7.50 PL18 libraries are used with the ITCAM Agent for SAP Application,users may experience failures in the Non‑Windows TestConnection functionality.
This functionality works correctly with SAP NetWeaver (NW) RFC SDK 7.50 PL17 libraries, but fails with SAP NetWeaver (NW) RFC SDK 7.50 PL18 libraries.
Symptom
After upgrading to SAP NetWeaver (NW) RFC SDK 7.50 PL18 libraries, the ITCAM Agent for SAP Application users may encounter Failure during TestConnection on Linux/Unix systems.
Cause
SAP NetWeaver (NW) RFC SDK 7.50 PL18 libraries introduced changes that are incompatible with the SAP Agent’s TestConnection functionality.
Environment
Linux and Unix.
Resolving The Problem
To resolve this issue, you must follow the instructions below to replace the existing ksa_config.jar with the updated version.
- Take a backup of the existing ksa_config.jar file located in the SAP Agent installation classes directory, for example, "<AgentHome>/classes".
- Download and replace it with the new ksa_config.jar file from the Download_ksa_config.jar from Fix Central link.
- Assign 0777 permissions to the new ksa_config.jar.
- Run the TestConnection functionality again using any GUI environment (e.g., Xming or VNC).
Note: After replacing the file, the updated TestConnection functionality is not backward compatible. SAP NetWeaver (NW) RFC SDK 7.50 PL17 libraries will no longer work with this updated version.
If any user encounters the error "Unknown error occurred" while running the TestConnection functionality after replacing the new ksa_config.jar, please follow the resolution steps below:
- Execute the TestConnection functionality directly from the non‑Windows machine by using a PuTTY/SSH terminal.
Run the following command from the Agent installation directory, for example, "/opt/IBM/ITM".
AgentHome>/<Architecture>/bin/TestConnection appsrvmode <System_ID> <System_IP> <System_Number> <Client_Number> <User> <Password> E false 0 false false falseExample
/opt/IBM/ITM/lx8266/bin/TestConnection appsrvmode PS5 10.53.114.22 01 001 IBMMON_AGENT PASSWORD E false 0 false false false
Possible outputs
- The required library is missing.
SolutionRun the ldd command to identify which libraries are not found.
ldd /opt/IBM/ITM/lx8266/bin/TestConnectionThis command will list all required libraries.
- Download the libraries that show “not found”, and for the already downloaded ones, for example, "SAP NetWeaver (NW) RFC SDK 7.50 PL18 libraries", make sure the correct path is set in the environment variables.
On Linux systems, set the path using the LD_LIBRARY_PATH variable, and on UNIX systems, use the LIBPATH variable.
- Connection failed.
Solution- Verify that the SAP system connection parameters are correct.
- Also, ensure that bidirectional network access is enabled between the SAP system and the Agent machine.
- Connection is successful.
- Proceed to validate via GUI by running TestConnection functionality again (Xming or VNC) and confirm that no errors appear.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
23 February 2026
UID
ibm17261143