Home › Forums › HAast (High Availability for Asterisk) › Configuration & Optimization › MySQL sync job failing › Reply To: MySQL sync job failing
The codes you see in the HAast event log mean:
Result code 0 – This means the sync job was started successfully
Error code 5 – This means the sync job concluded normally, but not successfully – see exit code for more details
Exit code 3 – This means the sync task(s) failed due to a configuration issue (often credentials, sometimes environment, etc)
The next step would be to enable debug logging for this job to capture more details. Please add/change the following line in the syncjob configuration file for FreePBX-MySQL:
freepbx-mysql/debug=on
Then restart HAast and send us the debug log for this syncjob, located in the /var/tmp/haast folder. (If you don’t see this folder, it’s because you are using an older version of HAast. We try to follow the FHS standard for debug log location, which has evolved over time).