Bacula-users

Re: [Bacula-users] Authentication Problem

2009-01-19 09:55:22
Subject: Re: [Bacula-users] Authentication Problem
From: "Saur, Achim" <achim.saur AT sp-online DOT de>
To: "Bruno Friedmann" <bruno AT ioda-net DOT ch>
Date: Mon, 19 Jan 2009 15:52:03 +0100

-----Ursprüngliche Nachricht-----
Von: Bruno Friedmann [mailto:bruno AT ioda-net DOT ch] 
Gesendet: Montag, 19. Januar 2009 15:04
Cc: bacula-users AT lists.sourceforge DOT net
Betreff: Re: [Bacula-users] Authentication Problem

Saur, Achim wrote:
>  
> 
> Hello,
> we have a problem with authentication between the various Daemons.
> 
> The strange thing is, that if I enter in the address field 127.0.0.1 I get no 
> error. And I can backup the Local Host.
> 
> If I put in the dir.conf , sd.conf and fd.conf an address which I can reach 
> from the LAN i.e. a private Address and nothing other change I
> 
> always get an error:
> JobId 0: Fatal error: authenticate.c:113 Director unable to authenticate with 
> Storage daemon at "10.85.118.31:9103". Possible causes:
> Passwords or names not the same or
> Maximum Concurrent Jobs exceeded on the SD or
> SD networking messed up (restart daemon).
> Restarting the daemon doesn't help.
> My System is ubuntu 8.04 LTS 
> 
> Bacula 2.2.8-5
> 
> Some configuration from my dir.conf:
> 
> Director {                                      # define myself
>   Name = CS-dir
>   DIRport = 9101                  # 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 = "MinD90as"                         # Console password
>   Messages = Daemon
>   DirAddress = 127.0.0.1
> }
> Snip
> 
> # Definition of file storage device
> 
> Storage {
>   Name = lokal
> # Do not use "localhost" here
>   Address = 10.85.118.31                      #127.0.0.1 all ok             
>   SDPort = 9103
>   Password = "lala"
>   Device = Local-Storage
>   Media Type = File
> }
> 
> Configuration of my sd.conf
> 
> Storage {                             # definition of myself
>   Name = CS-sd
>   SDPort = 9103                  # Director's port
>   WorkingDirectory = "/var/lib/bacula"
>   Pid Directory = "/var/run/bacula"
>   Maximum Concurrent Jobs = 20
>   SDAddress = 10.85.118.31                  #127.0.0.1 all ok
> }
> #
> # List Directors who are permitted to contact Storage daemon
> #
> Director {
>   Name = CS-dir
>   Password = "lala"
> }
> 
> If I turn off iptables the same problem
> 
> Hope someone can help me to find out the fault.
> 
> Mit freundlichen Grüßen / Best regards
> 
> Achim Saur
> 
>  
Hi Achim,

Be sure to put the correct address in dir, sd, fd. and check if you have any 
firewalling in place
check the 910x ports

When you restart with the lan address you could also check if you have the 
daemon up and waiting connexion with netstat


-- 

     Bruno Friedmann




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users




Hi Bruno,

the ports are open. I can telnet to the open Ports. The only thing is that 
always there is an error regarding that the password isn't correct, or the 
daemons are messed up. 

Strange thing is, that if I put everywhere in the Address Resource the 
127.0.0.1 I can backup my local system with no error but when I put in the 
private Address for my Network it doesn't work. Also if I put off my IPTABLES 
ruleset. I also tried a fqdn but that doesn't work either.



Achim Saur


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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>