Page 1 of 1

Errors / warnings after sync

Posted: Wed May 08, 2019 10:55 pm
by CRM User
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.

Re: Errors / warnings after sync

Posted: Wed May 08, 2019 10:58 pm
by Telium Support
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.

Re: Errors / warnings after sync

Posted: Thu May 23, 2019 1:25 pm
by Telium Support
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)