Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
635

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:

prashanthrajaravi_0-1728051722896.png

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

prashanthrajaravi_1-1728052388770.png

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

prashanthrajaravi_2-1728052820678.png