Bacula-users

[Bacula-users] ERROR in authenticate.c

2008-05-22 23:47:46
Subject: [Bacula-users] ERROR in authenticate.c
From: "Reynier Perez Mira" <rperezm AT uci DOT cu>
To: <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 22 May 2008 23:47:14 -0400
Hi,
I have Bacula configured but maybe I not understand yet how to add a new 
Client. I configured a new one and all is fine (aparently). I run then bconsole 
and see the output:

#bconsole
Connecting to Director 10.128.50.155:9101
1000 OK: DTServer-Director Version: 2.2.8 (26 January 2008)
Enter a period to cancel a command.
*status client
The defined Client resources are:
     1: DTServer-FileDaemon
     2: salvaip1-fd
Select Client (File daemon) resource (1-2): 2
Connecting to Client salvaip1-fd at 10.128.50.169:9102

salvaip1-fd Version: 2.2.9-b6 (06 April 2008)  VSS Linux Cross-compile Win32
Daemon started 22-May-08 20:36, 0 Jobs run since started.
 Heap: heap=0 smbytes=12,661 max_bytes=12,780 bufs=52 max_bufs=53
 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1

Running Jobs:
Director connected at: 22-May-08 20:36
No Jobs running.
====

Terminated Jobs:
====
You have messages.
*messages
22-May 23:28 DTServer-Director: ERROR in authenticate.c:380 Unable to 
authenticate console "*UserAgent*" at client:10.128.50.169:36131.
22-May 23:29 DTServer-Director: ERROR in authenticate.c:380 Unable to 
authenticate console "*UserAgent*" at client:10.128.50.169:36131.
22-May 23:33 DTServer-Director: ERROR in authenticate.c:380 Unable to 
authenticate console "*UserAgent*" at client:10.128.50.169:36131.
*quit

When I try to connect contrarily, I mean from Win32 Client to Director Server 
using bwx-console program I get this error:

Welcome to bacula bwx-console 2.2.9-b6 (06 April 2008)!
Using this configuration file: C:\Documents and Settings\All Users\Application 
Data\Bacula\bwx-console.conf
Connecting...
Connected
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/rel-manual/faq.html#AuthorizationErrors for 
help.
ERR=1999 Authorization failed.
#

Seems to be the same error but I can't find where I fail. This is the 
bacula-dir.conf (Linux Server) file and bacula-fd.conf (Client Windows) file .

bacula-dir.conf
====================
Director {                            # define myself
  Name = DTServer-Director
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/var/bacula/scriptdir/query.sql"
  WorkingDirectory = "/var/bacula/working/"
  PidDirectory = "/var/bacula/piddir"
  Maximum Concurrent Jobs = 1
  Password = "d95c5efa79b03a5c9a77f24bd17bd8f6"         # Console password
  Messages = Daemon
  DirAddress = 10.128.50.155
}

JobDefs {
  Name = "DefSalvaIP1"
  Type = Backup
  Level = Incremental
  Client = salvaip1-fd
  FileSet = "FileSetSalvaIP"
  Schedule = "IPBackupCycle"
  Storage = FileServer
  Messages = Standard
  Pool = Default
  Priority = 10
}

Job {
  Name = "SalvaIP1"
  JobDefs = "DefSalvaIP1"
  Write Bootstrap = "/var/bacula/working//SalvaIP1.bsr"
}

FileSet {
  Name = "FileSetSalvaIP"       # Only for ERP for now, until this is a 
authorized Procedure
  Include {
     Options {
        compression = GZIP
        signature = SHA1
        Exclude = yes
        checkfilechanges=yes
        IgnoreCase = yes

        # Temporary directories & files
        WildDir = "[A-Z]:/temp"
        WildFile = "*Thumb.db*"
        WildFile = "*.tmp"
        
        # Recycle bins
        WildDir = "[A-Z]:/RECYCLER"

        # Swap files
        WildFile = "[A-Z]:/pagefile.sys"

     }
     File = E:/BECAME SAFETY/ERP
  }
}

Schedule {
  Name = "IPBackupCycle"
  #Run Schedule Every 10 minutes
  Run = Level=Incremental hourly at 0:05
  Run = Level=Incremental hourly at 0:15
  Run = Level=Incremental hourly at 0:25
  Run = Level=Incremental hourly at 0:35
  Run = Level=Incremental hourly at 0:45
  Run = Level=Incremental hourly at 0:55
  #Run a Full Backup every Sunday at 03:00 am
  Run = Level=Full sun at 03:00
  #Run a Incremental Backup every day except Sunday at 03:00 am
  Run = Level=Incremental mon-sat at 03:00
}

Client {
  Name = salvaip1-fd                                            
  Address = 10.128.50.169                                       
  FDPort = 9102                                                 
  Catalog = MyCatalog                                           
  Password = "2c881ad5b17ff0b6cc5da8bb6fa41c4d"                 
  File Retention = 356 days                                     
  Job Retention = 12 months                                     
  AutoPrune = yes                                               
}

Storage {
  Name = DTServer
  Address = 10.128.50.155                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "2c881ad5b17ff0b6cc5da8bb6fa41c4d"
  Device = DTFileStorage
  Media Type = File
}

bacula-fd.conf (Win2003 Server Client)
------------------------------------------------------
FileDaemon {                            # this is me
  Name = salvaip1-fd
  FDport = 9102                
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application 
Data\\Bacula\\Work"
  Pid Directory = "C:\\Documents and Settings\\All Users\\Application 
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 5
}

Director {
  Name = DTServer-Director
  Password = "2c881ad5b17ff0b6cc5da8bb6fa41c4d"
}

Director {
  Name = salvaip1-mon
  Password = "VZR/inV0ebJuxGLwUCCb6BEvttd3w1Z3TrKFyFcR825F"
  Monitor = yes
}

Can any help me?
Ing. Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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>
  • [Bacula-users] ERROR in authenticate.c, Reynier Perez Mira <=