Am 26.02.2016 um 10:12 schrieb Marcin Krzyżanowski:
> done some sniffing and this is the problem:
>
> ...$Hello Director bananapi-dir calling
> ...Wauthenticate.c:101 Connection from unknown Director bananapi-dir at
> 10.8.0.6 rejected.
this happens, when the director bananapi-dir is not defined in the fd.
However your config files look sane.
You can start the filedaemon in debug mode. Maybe this reveals something:
as root:
bareos-fd -f -d 100
Output will go to stdout.
> ....1999 Authorization failed.
> ....2999 Authentication failed.
>
> as I understand well the files mapping are:
> dir.conf -> fd.conf
>
> Director section - field Name --> Director section - field Name (should it
> be resolveable in dns, existent name and resolveable in dns or only internal
> purpose of bareos)
>
> Director section - field Password <-- not needed in fd.conf
>
> Client section - field Name <-- only used in dir.coonf
> Client section - field Password --> Director section - field Password
>
> dir.conf:Director:Name = fd.conf:Director:Name
> dir.conf:Client:Password = fd.conf:Director:Password
>
> are there any other important settings? Should dir.conf:Client:Address field
> should be fqdn or better IP address?
>
> again configs after reinstall:
> bareos-dir.conf:
> Director { # define myself
> Name = bananapi-dir
> QueryFile = "/usr/lib/bareos/scripts/query.sql"
> Maximum Concurrent Jobs = 30
> Password = "OZNehq+hxKUqUTGjRtl28+mWqd2uYRPjbKWtAXUb6r2M" # Console
> password
> Messages = Daemon
> Auditing = yes
> }
>
> Client {
> Name = vps193835-fd
> Address = vps193835
> Password = "abcabc"
> File Retention = 30 days
> Job Retention = 6 months
> AutoPrune = no
> }
>
>
> vps193835-fd:
>
> FileDaemon { # definition of myself
> Name = "vps193835-fd" # XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX-fd
> Maximum Concurrent Jobs = 20
> }
> #
> # List Directors who are permitted to contact this File daemon
> #
> Director {
> Name = "bananapi-dir" #XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX-dir
> Password = "abcabc" #"XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX"
> }
> #
> # Restricted Director, used by tray-monitor to get the
> # status of the file daemon
> #
> #Director {
> # Name = vps193835-mon #XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX-mon
> # Password = "password" #"XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX"
> # Monitor = yes
> #}
> # Send all messages except skipped files back to Director
>
> Messages {
>
> Name = Standard
> director = vps193835 = all, !skipped, !restored
> #XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX-dir = all, !skipped, !restored
> }
>
--
Jörg Steffens [email protected]
Bareos GmbH & Co. KG Phone: +49 221 630693-91
http://www.bareos.com Fax: +49 221 630693-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer:
S. Dühr, M. Außendorf, Jörg Steffens, P. Storz, M. v. Wieringen
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.