How to gather logs from SSIM 4.6.x, 4.7.x, 4.8.x if you cannot access the WebUI
search cancel

How to gather logs from SSIM 4.6.x, 4.7.x, 4.8.x if you cannot access the WebUI

book

Article ID: 152969

calendar_today

Updated On:

Products

Security Information Manager

Issue/Introduction

You cannot access the SSIM Web UI and need to gather logs for troubleshooting

Resolution

There are two scripts attached to this document

NOTE:  The attached script CollectLogsModified.sh must be used for SSIM 4.7.x and SSIM 4.8.x, for SSIM 4.7.3 and earlier versions please use CollectLogs.sh
 

  • Download the one of the attached scripts
  • Using WinSCP or another tool copy the script in Binary format to the /tmp folder on SSIM
  • Using a tool such as putty.exe or a remote access card log into SSIM and su to root
  • Change directories 'cd' into the /tmp folder
  • Execute below command to make sure that its in unix format:

#  dos2unix CollectLogs.sh 
or
# dos2unix CollectLogsModified.sh

  • Execute script with root privileges using the following command:

# sh CollectLogs.sh 
or
# CollectLogsModified.sh

  • The script will gather the logs and zip them up in  /tmp/<hostname>.zip

You will see the following lines returned on the screen:

Capturing outputs of important commands ...
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device

   Finished capturing outputs of important commands.

   Collecting SSIM logs ...

   Finished collecting SSIM logs.

   Creating zip file of collected logs ...

   Zipped logs are at /tmp/compli-ssim02.zip

   Log collection is completed.

Using WinSCP or a similiar tool copy the <hostname>.zip file and deliver it to support.

Note:  Do not edit or change this script file as we cannot guarantee it will gather the log files correctly.


 

 

 

 

Attachments

CollectLogsModified.sh get_app
CollectLogs.sh get_app