Bacula-users

Re: [Bacula-users] Could not connect to server Director daemon ....

2015-06-29 04:03:25
Subject: Re: [Bacula-users] Could not connect to server Director daemon ....
From: olx69 <ope-linux AT gmx DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 29 Jun 2015 10:01:30 +0200
Hello Ana,

> Have you checked if this address/port (tux64.home.lan:9101) is not being
> used by another process? Your original bacula-dir.conf (the last post)
> was configured to use locahost and not tux64.home.lan as your are trying
> now.
this comes up from time to time - I see only one mail every two? days, 
bacula it self (regardless the problem with the traymon) works. Anyway, 
I will check it again.

Thanks you,
Olaf

> Best regards,
> Ana
>
> On Sat, Jun 27, 2015 at 4:38 AM, olx69 <ope-linux AT gmx DOT de
> <mailto:ope-linux AT gmx DOT de>> wrote:
>
>     Hello Ana,
>
>     > I´m not sure about this, but I noticed something about the names for
>     > your storage:
>     >
>     > -------bacula-traymon.conf------
>     > Storage {
>     >     Name = bacula-tux64-sd
>     > ...
>     > }
>     >
>     > ----bacula-dir-full.conf----
>     > Storage {
>     >     Name = File
>     >    ...
>     > }
>     >
>     > ----bacula-sd-full.conf-----
>     >
>     > Storage {                             # definition of myself
>     >    Name = bacula-tux64-sd
>     >    ...
>     > }
>     >
>     > ​Could you try "Name = bacula-tux64-sd"​ in your bacula-dir-full.conf or
>     > "Name = File" in your bacula-traymon.conf for the storage definition?
>
>     If I change this but 'bat' doesn't work any more (probably bconsole too
>     - not tested). Also it doesn't change the behaviour of traymonitor.
>
>     I had a look at the original bacula-dir.conf, e.g.
>
>     # Definition of a second file Virtual Autochanger device
>     #   Possibly pointing to a different disk drive
>     Storage {
>         Name = File2
>     # Do not use "localhost" here
>         Address = localhost                # N.B. Use a fully qualified
>     name here
>         SDPort = 9103
>         Password = "@@SD_PASSWORD@@"
>         Device = FileChgr2
>         Media Type = File2
>         Maximum Concurrent Jobs = 10        # run up to 10 jobs a the
>     same time
>     }
>
>     so this seems to be correct.
>
>     Also I notice a warning:
>     26-Jun 19:36 bacula-tux64-dir: Warning: Cannot bind port 9101: ERR=Die
>     angeforderte Adresse kann nicht zugewiesen werden: Retrying ...
>
>     english: Can't assign requested address. Retrying ...
>
>     Maybe it's relevant.
>
>     This configuration did work with bacula 5.x, I was not aware of thise
>     changes in 7.x. Maybe v5.x was more sloppy with config files ...
>
>
>     Thank you,
>     Olaf
>
>     >
>     > Best regards,
>     > Ana
>     >
>     > On Fri, Jun 26, 2015 at 2:36 AM, olx69 <ope-linux AT gmx DOT de 
> <mailto:ope-linux AT gmx DOT de>
>     > <mailto:ope-linux AT gmx DOT de <mailto:ope-linux AT gmx DOT de>>> 
> wrote:
>     >
>     >     Hello Ane,
>     >
>     >     > Sorry I was out a few days.... Have you tested your Bacula with 
> these
>     >     > "fake passwords"? Or you have just changed them for posting here? 
> I
>     >     > found no errors in your passwords configurations, but I'm not 
> sure if
>     >     > you are using these ones posted here. In the case you're not, 
> could you
>     >     > verify your director to storage daemon password configuration 
> (not the
>     >     > one for communicating with monitor)? The error message points to a
>     >     > mismatch here.
>     >
>     >
>     >     No, these are my real passwords! I trust in my secure LAN ;-)
>     >
>     >     Thank you,
>     >     Olaf
>     >
>     >
>     >     > On Tue, Jun 23, 2015 at 11:04 AM, olx69 <ope-linux AT gmx DOT de 
> <mailto:ope-linux AT gmx DOT de> <mailto:ope-linux AT gmx DOT de
>     <mailto:ope-linux AT gmx DOT de>>
>      >      > <mailto:ope-linux AT gmx DOT de <mailto:ope-linux AT gmx DOT de>
>     <mailto:ope-linux AT gmx DOT de <mailto:ope-linux AT gmx DOT de>>>> wrote:
>      >      >
>      >      >     Am 18.06.2015 um 16:13 schrieb olx69:
>      >      >      > Hello Ana,
>      >      >      >
>      >      >      >> Sorry I'm late in this post.
>      >      >      >> It seems there is still some password mismatching
>     problems.
>      >      >     Could you
>      >      >      >> post your resources definitions for monitor (in
>      >     bacula-dir.conf,
>      >      >      >> bacula-fd.conf and bacula-sd.conf) and your
>      >     tray-monitor.conf?
>      >      >      >
>      >      >      > thank you for investigating! attached the files,
>      >      >
>      >      >     no idea? Here the reduced password related part. Imo
>     all is
>      >     correct,
>      >      >     isn't it?
>      >      >
>      >      >
>      >      >     -------bacula-traymon.conf------
>      >      >     Monitor {
>      >      >         Name = bacula-tux64-mon
>      >      >         Password = "MON_DIR_PASSWORD"         # password
>     for the
>      >     Directors
>      >      >         RefreshInterval = 3 seconds
>      >      >     }
>      >      >     Client {
>      >      >         Name = bacula-tux64-fd
>      >      >         Address = tux64.home.lan
>      >      >         Password = "MON_FD_PASSWORD"          # password for
>      >     FileDaemon
>      >      >     }
>      >      >     Storage {
>      >      >         Name = bacula-tux64-sd
>      >      >         Address = tux64.home.lan
>      >      >         Password = "MON_SD_PASSWORD"          # password for
>      >     StorageDaemon
>      >      >     }
>      >      >     Director {
>      >      >         Name = bacula-tux64-dir
>      >      >         Address = tux64.home.lan
>      >      >     }
>      >      >     ----bacula-dir-full.conf----
>      >      >     Director {
>      >      >         Name = bacula-tux64-dir
>      >      >         Password = "DIR_PASSWORD"    # BConsole password
>      >      >     ....
>      >      >     }
>      >      >     Console {
>      >      >         Name = bacula-tux64-mon
>      >      >         Password = "MON_DIR_PASSWORD"
>      >      >     ...
>      >      >     }
>      >      >     Client {
>      >      >         Name = bacula-tux64-fd
>      >      >         Password = "FD_PASSWORD"            # password for
>     FileDaemon
>      >      >     ...
>      >      >     }
>      >      >     -----bacula-fd-full.conf-----
>      >      >     Director {
>      >      >         Name = bacula-tux64-dir
>      >      >         Password = "FD_PASSWORD"
>      >      >     }
>      >      >     Director {
>      >      >         Name = bacula-tux64-mon
>      >      >         Password = "MON_FD_PASSWORD"
>      >      >     }
>      >      >     ----bacula-sd-full.conf-----
>      >      >     Director {
>      >      >         Name = bacula-tux64-dir
>      >      >         Password = "SD_PASSWORD"
>      >      >     }
>      >      >     Director {
>      >      >         Name = bacula-tux64-mon
>      >      >         Password = "MON_SD_PASSWORD"
>      >      >     ...
>      >      >     }
>      >      >
>      >      >
>      >
>       
> ------------------------------------------------------------------------------
>      >      >     Monitor 25 network devices or servers for free with
>     OpManager!
>      >      >     OpManager is web-based network management software
>     that monitors
>      >      >     network devices and physical & virtual servers, alerts via
>      >     email & sms
>      >      >     for fault. Monitor 25 devices for free with no
>     restriction.
>      >     Download now
>      >      > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>      >      >     _______________________________________________
>      >      >     Bacula-users mailing list
>      >      > Bacula-users AT lists.sourceforge DOT net
>     <mailto:Bacula-users AT lists.sourceforge DOT net>
>      >     <mailto:Bacula-users AT lists.sourceforge DOT net
>     <mailto:Bacula-users AT lists.sourceforge DOT net>>
>      >      >     <mailto:Bacula-users AT lists.sourceforge DOT net
>     <mailto:Bacula-users AT lists.sourceforge DOT net>
>      >     <mailto:Bacula-users AT lists.sourceforge DOT net
>     <mailto:Bacula-users AT lists.sourceforge DOT net>>>
>      >      > https://lists.sourceforge.net/lists/listinfo/bacula-users
>      >      >
>      >      >
>      >
>      >
>      >
>       
> ------------------------------------------------------------------------------
>      >     Monitor 25 network devices or servers for free with OpManager!
>      >     OpManager is web-based network management software that monitors
>      >     network devices and physical & virtual servers, alerts via
>     email & sms
>      >     for fault. Monitor 25 devices for free with no restriction.
>     Download now
>      > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>      >     _______________________________________________
>      >     Bacula-users mailing list
>      > Bacula-users AT lists.sourceforge DOT net
>     <mailto:Bacula-users AT lists.sourceforge DOT net>
>      >     <mailto:Bacula-users AT lists.sourceforge DOT net
>     <mailto:Bacula-users AT lists.sourceforge DOT net>>
>      > https://lists.sourceforge.net/lists/listinfo/bacula-users
>      >
>      >
>
>
>     
> ------------------------------------------------------------------------------
>     Monitor 25 network devices or servers for free with OpManager!
>     OpManager is web-based network management software that monitors
>     network devices and physical & virtual servers, alerts via email & sms
>     for fault. Monitor 25 devices for free with no restriction. Download now
>     http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>     _______________________________________________
>     Bacula-users mailing list
>     Bacula-users AT lists.sourceforge DOT net
>     <mailto:Bacula-users AT lists.sourceforge DOT net>
>     https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users