Error while testing SNMP TRAP from Solution Manager: “can’t exec external program (2)” and “Exter

Estimated read time 2 min read

Introduction

Integrating SAP Solution Manager with ServiceNow via SNMP traps is a common practice to automate incident management and streamline IT operations. While testing SNMP traps, you might encounter the error messages “can’t exec external program (2)” and “External program terminated with exit code 1.”

Error Screenshot:

Troubleshooting Steps:

Make sure trapsend binary is in the $DIR_EXE directory of the instance and the <sidadm> user can start it

set the environment variable NLSUI_7BIT_FALLBACK to run the program

Execute the command ./trapsend -V

From the above screenshot we could understand the the Program is compiled with ICU version 65.1 of libicuu* library files. Current exe directory does not have the required version of the library files.

Solution:

Download the latest kernel file SAP KERNEL 7.93 64-BIT UNICODE PL 101 and copy the required libicuu* library files and place in the $DIR_EXE directory of the instance.

Required result:

Connection established

 

 

 

 

​ IntroductionIntegrating SAP Solution Manager with ServiceNow via SNMP traps is a common practice to automate incident management and streamline IT operations. While testing SNMP traps, you might encounter the error messages “can’t exec external program (2)” and “External program terminated with exit code 1.”Error Screenshot:Troubleshooting Steps:Make sure trapsend binary is in the $DIR_EXE directory of the instance and the <sidadm> user can start itset the environment variable NLSUI_7BIT_FALLBACK to run the programExecute the command ./trapsend -VFrom the above screenshot we could understand the the Program is compiled with ICU version 65.1 of libicuu* library files. Current exe directory does not have the required version of the library files.Solution:Download the latest kernel file SAP KERNEL 7.93 64-BIT UNICODE PL 101 and copy the required libicuu* library files and place in the $DIR_EXE directory of the instance.Required result:Connection established      Read More Technology Blogs by Members articles 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author