Errors / warnings after sync

Installing HAAst, prerequisites, getting HAAst started, and troubleshooting performance and technical issues. As well, upgrades to HAAst and any underlying software.
Post Reply
User avatar
CRM User
Posts: 174
Joined: Sun Nov 27, 2016 3:41 pm

Errors / warnings after sync

Post by CRM User » Wed May 08, 2019 10:55 pm

I have setup sync of type 'file' but I'm getting warnings and errors in the haast log file like this:

Code: Select all

Result code '0'. Error code '5'. Exit code '10'.  Enable debug for further details.
Result code '0'. Error code '5'. Exit code '5'.  Enable debug for further details.
I've been playing with the settings and I thought I was close but am stuck on the second error message now.
Account for questions transferred from CRM system
User avatar
Telium Support
Posts: 234
Joined: Sun Nov 27, 2016 3:27 pm

Re: Errors / warnings after sync

Post by Telium Support » Wed May 08, 2019 10:58 pm

The first error means that the rsync process is not running. Please ensure rsync is installed, running, enabled, and configured as per the HAAst detailed installation guide.

I suspect that you actually solved the first error, since the second error means that rsync is running! But, the second error means that the rsync.haast.secret file has the wrong permissions. Please modify the permissions of this file as follows:
chmod 600 /etc/ rsync.haast.secret
After that your sync should work.
User avatar
Telium Support
Posts: 234
Joined: Sun Nov 27, 2016 3:27 pm

Re: Errors / warnings after sync

Post by Telium Support » Thu May 23, 2019 1:25 pm

A summary of common exit codes and their causes:
  • 255 - Likely a connection problem to the remote host. You should be able to resolve this by checking the IP address / fqdn of the remote host.
  • 107 - Protocol error or unexpected response. You may have to work with Telium support to trace the cause (if this is intermittent then diagnosing can require many steps)
  • 23 - Error during transfer. You should be able to resolve this by checking the file/directory being synced really exists on the source.
  • 10 - RSync server unreachable. You should check the ensure the RSync service is running on the remote host, and that the remote host is reachable.
  • 5 - RSync file permissions error. You should check to ensure rsync config files holding passwords are mode 600.
The HAAst installation guide provides guidance on how to enable debugging to capture more information. The specific settings, and location of log files, varies by HAAst version. If you need further help capturing and understanding debug information please contact Telium support (you will need an active maintenance agreement for the support team to assist you)
Post Reply