How to execute SAP Debug script

How to execute SAP Debug script

1. Steps to execute troubleshooting script SAPDebug.bat/sh:
  1. Open command prompt/terminal with administrator privileges.
  2. Navigate to <AppManager_home>\bin\troubleshooting folder.
  3. Execute the script file SAPDebug.bat or SAPDebug.sh
Usage:
SAPDebug.bat  [HostName/IP] [System number] [Client] [Username] [Password]
Optional: [Language]
Optional: [Router string] - Language is mandatory, if Router String is needed.

[HostName/IP] - SAP Instance name
[System number] - Instance Number
[Client] - Logon Client Number
[Username] - SAP Logon User
[Password] - Password
[Language] - Language(Optional). Default 'EN' 
[Router string] - Router String. 
Note: The usage is same for SAPDebug.sh file as well.

                  New to ADSelfService Plus?

                    • Related Articles

                    • No Data in SAP Server monitor/ Unable to add SAP monitor

                      Problem:  In Appmanager_home/logs/nms/stdout.txt , the error message "SAPDataCollector : Host information not found for server" is found. Solution:  Add entry for IP Address and SAP Instance name in etc/hosts file of Applications Manager server and ...
                    • SAP Server - No Data for SAP OS Tab

                      Problem: SAP Server, OS Data is not collected. Troubleshooting Steps: Verify if SAP OS Collector (SAPOSCOL) is running. Connect to SAP Server using SAP Logon. Use TCODE RZ20 Expand 'SAP CCMS Monitor Templates' monitor set, select 'Operating System' ...
                    • Execute Program action - Enterprise Admin server behavior & Known limitation

                      Behavior in Enterprise Admin server In case of Enterprise Admin users, following is the behavior of Execute Program action: All Host in the selected Monitor Group option is not supported Auto Select Host option is partially supported. Since the host ...
                    • Troubleshoot - SAP Business One connectivity.

                      Ensure that the Integration framework for 'SAP Business One' is installed and accessible from the 'Applications Manager' server. To validate the connectivity please execute the following API request from the 'Applications Manager' server: POST URL: ...
                    • Script Monitor FAQs

                      Common queries, errors and troubleshooting: 1. To execute scripts other than .bat /.vbs  in Windows and .sh / .bash in Linux: It is better to execute the script in the form of a command. Eg. To execute python script, you can use command py ...