Re: [Bacula-users] Authentication Problem
2009-01-19 12:17:00
Subject: |
Re: [Bacula-users] Authentication Problem |
From: |
Bruno Friedmann <bruno AT ioda-net DOT ch> |
Date: |
Mon, 19 Jan 2009 18:13:49 +0100 |
Saur, Achim wrote:
>
> -----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
>
>
what give a status dir, status storage and status client ?
The only reasonable thing I'm thinking could be a trouble with special char in
password line
could you double check them ( All of us are human and human are perfectible :-)
and verfiy your password are double quoted
like this
Password = "eh1GppX/9gVGjmY+mYwTUX6e+Ldl/CilaFeaJajLEVEz"
--
Bruno Friedmann
Ioda-Net Sàrl
2830 Vellerat - Switzerland
Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
www.ioda-net.ch
Centre de Formation et de Coaching En Ligne
www.cfcel.com
------------------------------------------------------------------------------
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
|
|
|