Showing posts with label Bacula. Show all posts
Showing posts with label Bacula. Show all posts

Nov 9, 2013

Install bacula client 5.2.x by yum

This will install Bacula client 5.2.12 from dassit repo

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:/dassit:/bacula/CentOS_CentOS-6/home:dassit:bacula.repo
yum install bacula-client

Adapted from http://www.dass-it.de/download/bacula, but run yum install bacula does not install the bacula client.

ERROR in authenticate.c:303 UA Hello from client:x.x.x.x:9101 is invalid. Len=-4

In Bacula bconsole, if you ever encounter an annoying message which repeats itself endlessly, here's the solution.

Issue
bacula-dir: ERROR in authenticate.c:303 UA Hello from client:10.1.0.151:9101 is invalid. Len=-4

Cause
Unknown. I got this error when I tried to run a backup from a remote client via haproxy. I used haproxy to publish port range 9101-9103.

Have tried 
  • Restart bacula services (dir, sd, fd)
  • Restart bacula server 
but none of them helped.

Solution
In Bacula working folder (/var/lib/bacula, or /opt/bacula/working, or your custom build folder), delete or move these files to another folder:
  • bacula-dir, bacula-dir.9101.state, bacula-dir.conmsg
then restart bacula service
bacula restart