Enable Stargate debug logging in Protection Engine 9.0 and later on Linux.
search cancel

Enable Stargate debug logging in Protection Engine 9.0 and later on Linux.

book

Article ID: 388960

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

Stargate debug logging is sometimes required for advanced investigations on active support cases, therefore it should be utilized only in case of necessity by request of a Symantec Support Engineer.

Resolution

Enable Stargate debug logging

  1. Stop the SPE service
/etc/init.d/symcscan stop
  1. Make a backup of the current symcscan.sh script
cd /<SPE_INSTALL_FOLDER>/bin
cp -p symcscan.sh symcscan.sh.bak
  1. Open symcscan.sh
vi symcscan.sh
  1. Press "i" to enter insert mode
  2. Insert the following lines right after the commented lines near the top
export STARGATE_DEBUG_LEVEL=5
  1. Save the file by pressing ESC, :wq, and then pressing <ENTER>
  2. Restart symcscan
/etc/init.d/symcscan start
  1. Verify there are .etl files being created in <SPE_INSTALL_FOLDER>/definitions/Stargate/logs
ls -lah <SPE_INSTALL_FOLDER>/definitions/Stargate/logs
  1. After reproducing the issue, collect all of the files in <SPE_INSTALL_FOLDER>/definitions/Stargate/logs

Disabling stargate debug logging

  1. Stop the SPE Service
/etc/init.d/symcscan stop
  1. Comment out the lines inserted in step 5 above or replace with the original script.
  2. Restart symcscan
/etc/init.d/symcscan start