User Tools
Writing /app/www/public/data/meta/onboarding/reportingmanager/troubleshooting_-_report_error_tmp_sql.meta failed
onboarding:reportingmanager:troubleshooting_-_report_error_tmp_sql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| onboarding:reportingmanager:troubleshooting_-_report_error_tmp_sql [2017/05/18 10:15] – mmcc | onboarding:reportingmanager:troubleshooting_-_report_error_tmp_sql [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Troubleshooting - Report error /tmp/sql ====== | ||
| + | |||
| + | Author: Michelle McCausland | ||
| + | |||
| + | ===== Example Customer Request ===== | ||
| + | |||
| + | < | ||
| + | </ | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Steps to find the solution ===== | ||
| + | |||
| + | //Support ticket created was ESR-994263 - Investigate Error when running Active Alarms Report on QA.// | ||
| + | |||
| + | **1. Attempt to recreate the error** | ||
| + | |||
| + | At first when I ran the report with the default variables I couldn' | ||
| + | |||
| + | **2. Review the logs for clues** | ||
| + | |||
| + | I then went back to the logs from the 1st February to get the variables that Steve used to run the report. | ||
| + | |||
| + | The only difference was that the Start Date was 2016/01/01 and the End Date was 2016/ | ||
| + | |||
| + | The first time running the report with these variables it seemed to hang for ages, even the logs just hung. | ||
| + | |||
| + | I stopped the report and ran it again with this same variables and this time I got the error. | ||
| + | |||
| + | I checked the stack trace and it didn't give an awful lot of info other than it was something that SQL didn't like: | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | **3. Review the codebase** | ||
| + | |||
| + | I also took a look at the reporting manager codebase but couldn' | ||
| + | |||
| + | **4. Use Google** | ||
| + | |||
| + | So I turned to google. | ||
| + | |||
| + | The Incorrect key file for table '/ | ||
| + | |||
| + | The error can be resolved in a few ways, either by optimising the query or giving more disk space to the /tmp folder. | ||