Installation & Licensing Center
HOW TO - Gather Ansys Diagnostic Logs
Authored by Caleb Scharf
December 15th, 2022
10780 views
8 likes
KB956062
Description
Ansys diagnostic logs contain information that help SimuTech support troubleshoot technical Ansys issues. Logs can be gathered from the computer that the client software is installed on and from the computer that the license manager is installed on.
Solution
Step #1 - Gather Client Logs
Version 2021 R1 & Later (Windows)
- These steps must be performed from the computer that the Ansys client software is installed on.
- If feasible, please reproduce the error you are experiencing just prior to gathering the logs. This makes any errors easier to identify in the logs.
-
Windows Search > Search for and run Client Licensing Settings [Latest release installed]
- DO NOT right click and Run as Admin when opening these settings.
-
Alternatively, you can find this application in the following path - Modify "v222" according to your Ansys version.
"C:\Program Files\ANSYS Inc\v222\licensingclient\winx64\ClientSettings\ClientSettings.exe"
- On the left, select Gather Diagnostics > Select Generate > wait 1-2min for this process to complete.
- Navigate to the location displayed, where the logs files where saved.
- Send the zip file to SimuTech Support by replying to your existing case, or by opening a new case.
Version 2020 R2 & Prior (Windows)
- These steps must be performed from the computer that the Ansys client software is installed on.
- If feasible, please reproduce the error you are experiencing just prior to gathering the logs. This makes any errors easier to identify in the logs.
- Windows Search > Search for and choose “Client ANSLIC_ADMIN Utility [latest installed version]”
- Choose View Status/Diagnostic Options > Gather Client Diagnostic Information.
- Select Yes at the next two prompts.
- Create a new folder in a location of your choice > Create New Directory > click Ok when prompted
- For example: the root C-Drive will work and is easy to locate.
- For example: the root C-Drive will work and is easy to locate.
- When complete, browse to the folder where the logs were saved and Zip up the entire folder by right clicking the folder > Send to >Compressed Zip Folder.
- Send the zip file to SimuTech Support by replying to your existing case, or by opening a new case.
Version 2021 R1 & Later (Linux)
- These steps must be performed from the computer that the Ansys client software is installed on.
- If feasible, please reproduce the error you are experiencing just prior to gathering the logs. This makes any errors easier to identify in the logs.
- Run the Licensing Client Settings utility (replace v212 with your installed version):
./ansys_inc/v212/licensingclient/linx64/ClientSettings/ClientSettings
- On the left, select Gather Diagnostics > Select Generate > wait a few moments for this process to complete.
- Navigate to the output location displayed to find the compressed archive (.tgz) bundle.
- Send the .tgz file to SimuTech Support by replying to your existing case, or by opening a new case.
Step #2 - Gather License Server Logs
All Versions (Windows)
- If feasible, please reproduce the error you are experiencing just prior to gathering the logs. This makes any errors easier to identify in the logs.
- These step must be performed from the computer that the Ansys License Manager software is installed on.
- Windows Search > Search for ANSYS License Management Center > Right click and select Run as Administrator.
- Select “Gather Diagnostic Information > Save to File > wait a few moments for this process to complete.
- Once complete the diagnostic file will be downloaded as a zip file.
- Send the zip file to SimuTech Support by replying to your existing case, or by opening a new case.
All Versions (Linux via GUI)
- If feasible, please reproduce the error you are experiencing just prior to gathering the logs. This makes any errors easier to identify in the logs.
- These step must be performed from the computer that the Ansys License Manager software is installed on.
- Open the Ansys License Manager Server (./ansys_inc/shared_files/licensing/start_lmcenter)
-
Select “Gather Diagnostic Information" link in the Diagnostics section then click the "SAVE TO FILE" button:
- Once completed you will be prompted to save the compressed gzip archive file (.tar.gz):
- Send the .tar.gz file to SimuTech Support by replying to your existing case, or by opening a new case.
All Versions (Linux via CLI)
- If feasible, please reproduce the error you are experiencing just prior to gathering the logs. This makes any errors easier to identify in the logs.
- These step must be performed from the computer that the Ansys License Manager software is installed on.
- Open a Terminal session
- Run the gatherdiagnostics script:
./ansys_inc/shared_files/licensing/gatherdiagnostics
- Once completed the compressed gzip archive file (.tar.gz) will be written to the /tmp directory.
- Send the .tar.gz file to SimuTech Support by replying to your existing case, or by opening a new case.