How to generate debug traces for installation using the LSM command or installation of PIF,PKG,RPM SD Packages?

Document ID : KB000017388
Last Modified Date : 14/02/2018
Show Technical Document Details


If an error occurs during an installation using the lsm command or during the installation of a SD package of type PIF/RPM/PKG on a Unix/Linux machine, it could be useful to get debug/trace files in order to have more information about the error.

Example :
A RPM package has been created in ITCM :

Figure 1

When sending this package to a Linux machine, an error SMX occurs :

Figure 2

How to generate trace files in order to have more information about this error ?


Enabling LSM trace
On the Unix/Linux machine do the following:

  • Edit file /opt/CA/installer/conf/sma.cfg and set TRACE=1 in section [transaction] :
  • In the same Terminal execute the following commands :
    caf stop
    export LSM_TRACELEVEL=6
    caf start
    caf will be started with LSM_TRACELEVEL=6
  • Try the LSM installation again/send the PIF,PKG,RPM SD Package again to the machine.
  • sma_*.trc trace files are generated under /opt/CA/installer/trace containing trace logs of execution of lsm command.

Disable LSM Trace

In order to disable the trace edit the file /opt/CA/installer/conf/sma.cfg and set TRACE to 0 :