IMPORTANT
- This procedure requires symcscan service to restart twice.
- CSAPI logging should be turned on/off as requested by Symantec's support Engineer, and should be enabled within a reasonablly short period.
How to enable CSAPI debug logging
- Log in to SPE host with root privilege.
- Stop SPE.
# /etc/init.d/symcscan stop
- Set the following shell variables. Note that no spaces are allowed before and after the equal sign.
# export CSAPI_DEBUG_LOG=/var/log/csapi.log
# export CSAPI_DEBUG_LEVEL=5
# export CSAPI_DEBUG_FILE_SIZE_LIMIT=104857600
- Start symcscan.
# /etc/init.d/symcscan start (Note: In some deployments, such as SPE in AWS, the previous command sometimes doesn't cause the settings to take effect. Instead try /opt/SYMCScan/bin/symcscan.sh restart )
- See if the log is generated.
IMPORTANT: DO NOT close this shell window until the logging is disabled.
# tail -f /var/log/csapi.log
How to disable CSAPI debug logging
- On the previous shell window, stop SPE
# /etc/init.d/symcscan stop
- Remove shell varilables
# unset CSAPI_DEBUG_LOG
# unset CSAPI_DEBUG_LEVEL
# unset CSAPI_DEBUG_FILE_SIZE_LIMIT
- Start SPE
# /etc/init.d/symcscan start
- Submit the resulting CSAPI log (/var/log/csapi.log) to Symantec Support Engineer.