Bacula-users

[Bacula-users] Bad Hello command from Director at client

2009-08-11 16:12:04
Subject: [Bacula-users] Bad Hello command from Director at client
From: David Touzeau <david AT touzeau DOT eu>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 11 Aug 2009 21:55:47 +0200
Dear

I have compiled latest bacula version with the following tokens 

./configure --config-cache --prefix=/usr --sysconfdir=/etc/bacula
--with-scriptdir=/etc/bacula/scripts --sharedstatedir=/var/lib/bacula
--localstatedir=/var/lib/bacula --with-pid-dir=/var/run/bacula
--with-smtp-host=localhost --with-working-dir=/var/lib/bacula
--with-subsys-dir=/var/lock
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
--enable-smartalloc --with-tcp-wrappers
--with-libiconv-prefix=/usr/include --with-readline=yes';
--with-libintl-prefix=/usr/include --without-x
--with-readline=yes --with-mysql --without-postgresql --without-sqlite3
--enable-bwx-console --without-sqlite 

when i'm connecting trough bconsole :

root@PC-DTOUZEAU:~# bconsole -d 500
bconsole: lex.c:186-0 Open config file: /etc/bacula/bconsole.conf
bconsole: lex.c:186-0 Open config file: /etc/bacula/bconsole.conf
Connexion au Director PC-DTOUZEAU:9103
bconsole: bsock.c:221-0 Current host[ipv4:127.0.0.1:9103] All
host[ipv4:127.0.0.1:9103] host[ipv4:127.0.1.1:65535]
host[ipv4:127.0.0.1:65535] 
bconsole: bsock.c:155-0 who=Director daemon host=PC-DTOUZEAU port=9103
bconsole: cram-md5.c:133-0 cram-get received: authenticate.c:81 Bad
Hello command from Director at client: Hello *UserAgent* calling

bconsole: cram-md5.c:138-0 Cannot scan challenge: authenticate.c:81 Bad
Hello command from Director at client: Hello *UserAgent* calling

Director authorization problem.
Most likely the passwords do not agree.
If you are using TLS, there may have been a certificate validation error
during the TLS handshake.
Please see
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000
 for help.

What's wrong ?

I have read the documentation page, but nothing appears wrong in my
configuration 

console config
------------------------------------------------------------------

Director {
  Name = PC-DTOUZEAU-dir
  DIRport = 9103
  address = PC-DTOUZEAU
  Password = "jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu"
}


 director config (bacula-dir.conf)
------------------------------------------------------------------

Director {                            # define myself
Name = PC-DTOUZEAU-dir
DIRport = 9103                # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu" # Console
password
Messages = Daemon
}

Client {
  Name = PC-DTOUZEAU-fd
  Address = PC-DTOUZEAU
  FDPort = 9102
  Catalog = MyCatalog
  Password = "jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu"          #
password for FileDaemon
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

File directives (bacula-fd.conf)
------------------------------------------------------------------
Director {
  Name = PC-DTOUZEAU-dir
  Password = "jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu"
}


Storage directives (bacula-sd.conf)
------------------------------------------------------------------

Storage {                             # definition of myself
  Name = PC-DTOUZEAU-sd
  SDPort = 9103
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
}

Director {
  Name = PC-DTOUZEAU-dir
  Password = "jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu" 
}





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>