Overview
You are trying to generate a report but nothing has been generated for quite some time. There are also numerous log messages related to generating PDF reports or Sysdumps being generated as well.
The following is an example of multiple log messages showing the PDF Generation script being launched multiple times in a short period of time:
Mar 25 09:26:25 EXINDA-APPLIANCE mgmtd[2298]: [mgmtd.NOTICE]: Configuration saved to database '2021-02-26'
Mar 25 09:26:27 EXINDA-APPLIANCE mgmtd[2298]: [mgmtd.NOTICE]: Launching PDF generation script.
Mar 25 09:26:27 EXINDA-APPLIANCE wsmd[2590]: [wsmd.NOTICE]: User admin (System Administrator) logged into Web UI from localhost
Mar 25 09:27:19 EXINDA-APPLIANCE mgmtd[2298]: [mgmtd.NOTICE]: Launching PDF generation script.
Mar 25 09:27:19 EXINDA-APPLIANCE wsmd[2590]: [wsmd.NOTICE]: User admin (System Administrator) logged into Web UI from localhost
Mar 25 09:27:19 EXINDA-APPLIANCE mgmtd[2298]: [mgmtd.NOTICE]: Launching PDF generation script.
Mar 25 09:27:19 EXINDA-APPLIANCE wsmd[2590]: [wsmd.NOTICE]: User admin (System Administrator) logged into Web UI from localhost
Mar 25 09:27:31 EXINDA-APPLIANCE mgmtd[2298]: [mgmtd.NOTICE]: Launching PDF generation script.
The following is an example of Script Time Out Errors in the log which that the generation of a PDF Report or Sysdump was not able to complete before the script timed out:
Mar 25 10:44:01 EXINDA-APPLIANCE httpd[317]: [Thu Mar 25 10:44:01 2021] [warn] [client 10.1.1.2] Timeout waiting for output from CGI script /opt/tms/lib/web/cgi-bin/launch, referer: https://10.1.1.1/admin/launch?script=rh&template=report-config
Mar 25 10:44:01 EXINDA-APPLIANCE httpd[317]: [Thu Mar 25 10:44:01 2021] [error] [client 10.1.1.2] Script timed out before returning headers: launch, referer: https://10.1.1.1/admin/launch?script=rh&template=report-config
The following are log messages of reports with criteria (like a large date range) that would generate a very large data set:
report pdf ReportExinda custom end "2021/03/25 01"
report pdf Report_Exinda_Traffic custom end "2021/02/25 23"
report pdf ReporteExinda custom start "2020/03/25 00"
report pdf Reporte_Exinda_Traffic custom start "2020/02/25 00"
Solution
- When generating a PDF report or sysdumps, click generate once. Clicking generate more than once can result in the multiple report processes competing for system resources to generate a PDF report or sysdump.
- Wait on the page for the generation to complete, if the PDF Report Generation is extremely slow please refer to the PDF Report Generation Extremely Slow article to resolve an issue with High Memory Utilization impacting PDF Reprot Generation.
- If generation is taking longer than the session logout time, you can simply increase the webUI session timeout temporarily. Please see the article Changing default Logout timeout for inactive user sessions
Testing
Confirm that the report or sysdump is has generated successfully.