Unable to generate Support Tar-ball

Unable to generate Support Tar-ball

ISSUE

Unable to generate support tarball from SafeSquid Interface : Support Page > Support Tarball

Troubleshooting

If you are not able to generate support tarball from SafeSquid interface automatically follow below steps.
Go to this path (location of support_tarball.sh script)
root@sabproxy:~# cd /usr/local/safesquid/ui_root/cgi-bin/
root@sabproxy:/usr/local/safesquid/ui_root/cgi-bin# ll
total 80
drwxrwxr-- 2 ssquid root  4096 Mar 14 11:57 ./
drwxrwxr-- 8 ssquid root  4096 Mar 14 11:57 ../
-rwxrwxr-- 1 ssquid root  1602 Mar 19 16:54 app_template.sh*
-rwxrwxr-- 1 ssquid root   683 Mar 19 16:54 cronentry.sh*
-rwxrwxr-- 1 ssquid root  2542 Mar 19 16:54 kerberos.sh*
-rwxrwxr-- 1 ssquid root 17255 Mar 19 16:54 modify_plot.sh*
-rwxrwxr-- 1 ssquid root  2608 Mar 19 16:54 moniter.sh*
-rwxrwxr-- 1 ssquid root 16869 Mar 19 16:54 plot.sh*
-rwxrwxr-- 1 ssquid root     0 Mar 19 16:54 restart.sh*
-rwxrwxr-- 1 ssquid root   619 Mar 19 16:54 service.sh*
-rwxrwxr-- 1 ssquid root  6193 Mar 19 16:54 support_tarball.sh*
-rwxrwxr-- 1 ssquid root   518 Mar 19 16:54 update.sh*
Here you can see the support_tarball.sh script is available with appropriate permissions.
Once you confirm the availability of support_tarball.sh, move for your requirements.
To generate support tarball manually as below :
  1. Command: ./support_tarball.sh
Go to the below path and run above command
  1. root@swg:/usr/local/safesquid/ui_root/cgi-bin# ./support_tarball.sh
  2. 2018-06-18::18:06:24.437971402  Creating folder: safesquid-2018-06-18-18-06-24 to contain relevant files and information for support
  3. 2018-06-18::18:06:24.445054777  Copying last 5000 lines of /var/log/safesquid/native/safesquid.log to safesquid-2018-06-18-18-06-24/safesquid_logs/safesquid.log
  4. 2018-06-18::18:06:24.868917174  Copying last 5000 lines of /var/log/safesquid/extended/extended.log to safesquid-2018-06-18-18-06-24/safesquid_logs/extended.log
  5. 2018-06-18::18:06:24.884119250  Copying last 5000 lines of /var/log/safesquid/performance/performance.log to safesquid-2018-06-18-18-06-24/safesquid_logs/performance.log
  6. 2018-06-18::18:06:24.935809437  Copying last 5000 lines of /var/log/monit.log to safesquid-2018-06-18-18-06-24/system_logs/monit.log
  7. 2018-06-18::18:06:24.969476836  Getting sysctl information into safesquid-2018-06-18-18-06-24/sysctl.txt
  8. 2018-06-18::18:06:25.142134567  Getting the Information about Network Interfaces into safesquid-2018-06-18-18-06-24/network.txt
  9. 2018-06-18::18:06:25.159857810  Getting the Information about Network Routing Table into safesquid-2018-06-18-18-06-24/network.txt
  10. 2018-06-18::18:06:25.174699658  Getting the Network Statistics into safesquid-2018-06-18-18-06-24/network.txt
  11. 2018-06-18::18:06:25.193097377  Getting iptables NAT Configuration into safesquid-2018-06-18-18-06-24/iptables.txt
  12. 2018-06-18::18:06:25.535699750  Getting iptables MANGLE Configuration into safesquid-2018-06-18-18-06-24/iptables.txt
  13. 2018-06-18::18:06:25.542781878  Getting iptables FILTER Configuration into safesquid-2018-06-18-18-06-24/iptables.txt
  14. 2018-06-18::18:06:25.549963671  Getting Disk Partitions Information into safesquid-2018-06-18-18-06-24/filesystem.txt
  15. Disk /dev/mapper/swg--vg-root doesn't contain a valid partition table
  16. Disk /dev/mapper/swg--vg-swap_1 doesn't contain a valid partition table
  17. Disk /dev/mapper/swg--vg-opt+safesquid doesn't contain a valid partition table
  18. Disk /dev/mapper/swg--vg-var+lib+safesquid doesn't contain a valid partition table
  19. Disk /dev/mapper/swg--vg-usr+local+safesquid doesn't contain a valid partition table
  20. Disk /dev/mapper/swg--vg-var+lib doesn't contain a valid partition table
  21. Disk /dev/mapper/swg--vg-var+log doesn't contain a valid partition table
  22. Disk /dev/mapper/swg--vg-var+cache+safesquid doesn't contain a valid partition table
  23. Disk /dev/mapper/swg--vg-var+log+safesquid doesn't contain a valid partition table
  24. Disk /dev/mapper/swg--vg-var+db+safesquid doesn't contain a valid partition table
  25. 2018-06-18::18:06:25.597927995  Getting Disk Usage Information into safesquid-2018-06-18-18-06-24/filesystem.txt
  26. 2018-06-18::18:06:25.612231349  Getting Disk inode Usage Information into safesquid-2018-06-18-18-06-24/filesystem.txt
  27. 2018-06-18::18:06:25.616382197  Getting File System Mount Information into safesquid-2018-06-18-18-06-24/filesystem.txt
  28. 2018-06-18::18:06:25.756065687  Getting Kernel Information into safesquid-2018-06-18-18-06-24/systeminfo.txt
  29. 2018-06-18::18:06:25.760061018  Getting CPU information into safesquid-2018-06-18-18-06-24/systeminfo.txt
  30. 2018-06-18::18:06:25.774230478  Getting Memory Information into safesquid-2018-06-18-18-06-24/systeminfo.txt
  31. 2018-06-18::18:06:25.777545658  Getting ram memory into safesquid-2018-06-18-18-06-24/systeminfo.txt
  32. 2018-06-18::18:06:25.788885128  Creating the tar-ball for sending to SafeSquid Technical Support
  33. 2018-06-18::18:06:26.008801780  Extracted contents of the support tar-ball may be confirmed from safesquid-2018-06-18-18-06-24
The support tarball will generate at below path
  1. root@swg:/var/log/safesquid/support# ll
  2. total 636
  3. drwxrwxr-- 2 ssquid root   4096 Jun 18 18:06 ./
  4. drwxrwxr-- 9 ssquid root   4096 Jun 11 16:29 ../
  5. -rw-r--r-- 1 ssquid root 642727 Jun 18 18:06 safesquid-2018-06-18-18-06-24.tar.gz


    • Related Articles

    • Unable to generate Performance plot

      ISSUE Unable to generate performance plot from SafeSquid Interface: Support Page > Performance Plot Troubleshooting When you install SafeSquid Appliance Builder (SAB) to setup your secure web gateway, the required packages also installed ...
    • SSL certificate downloaded with zero size OR unable to download SSL certificate

      Issues SSL certificate downloaded with zero size Unable to download SSL certificate Note: If you generate new activation key from Self-Service Portal and activate SafeSquid using same activation key. And directly download SSL certificate from ...
    • Unable to upgrade to the latest version

      Issues Unable to upgrade to the latest SafeSquid version Prerequisites Monit service should be up. Solution When you are not able to upgrade latest version of SafeSquid from SafeSquid Interface follow the link How to Upgrade SafeSquid to A Newer ...
    • Unable to login to specific website

      Issues I can able to access https://www.facebook.com/ via proxy but not able to login on it I cannot able to login to specific website using Facebook and google+ credential for login via proxy. I can able to login on https://www.facebook.com/ but not ...
    • Standard Operating Procedure (SOP) for Troubleshooting Issues in your SafeSquid proxy server

      Purpose: To provide a consistent and effective approach to troubleshooting network connectivity and web server issues using key commands. Scope: This SOP applies to troubleshooting sessions involving DNS resolution, port connectivity, web server ...