Bacula-users

Re: [Bacula-users] Unable to connect to Storage daemon

2009-02-11 15:43:01
Subject: Re: [Bacula-users] Unable to connect to Storage daemon
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Wed, 11 Feb 2009 12:37:11 -0800
Did you mean to have three storage daemons in the first place? It is 
perfectly legit, but seems rather unusual.

If you did: you only posted the bacula-sd.conf from your main machine. 
Since you defined SDs on LAB1Storage and LAB3Storage, you need to post 
their corresponding bacula-sd.conf files, as well. For that matter, 
first make sure that the Storage Daemons are running on these two machines.

Oh - and change the passwords, now that you posted them for all to see ;-)

François Mehault wrote:
>
> Hi All
>
> I installed bacula-dir, -sd, -fd on a FreeBSD 7 LaboBE2 (10.96.18.10). 
> I installed also bacula-fd on another FreeBSD 7 LaboBE1 (10.96.18.4) 
> and on a Windows Server 2003 LaboBE3 (10.96.18.11) to backup.
>
> I created some jobs, pool, schedule, fileset, client … my goal is to 
> test Bacula, to understand his behaviour.
>
> Then I tried to launch my jobs and problem :s
>
> *messages
>
> 11-Feb 16:40 labobe2-dir JobId 0: Fatal error: bsock.c:129 Unable to 
> connect to Storage daemon on 10.96.18.4:9103. ERR=Connection refused
>
> 11-Feb 16:40 labobe2-dir JobId 0: Fatal error: bsock.c:129 Unable to 
> connect to Storage daemon on 10.96.18.11:9103. ERR=Connection refused
>
> I didn’t see where comes from the PB. If someone have an idea ?
>
> Bacula-dir:
>
> Director { # define myself
>
> Name = labobe2-dir
>
> DIRport = 9101 # where we listen for UA connections
>
> QueryFile = "/usr/local/share/bacula/query.sql"
>
> WorkingDirectory = "/var/db/bacula"
>
> PidDirectory = "/var/run"
>
> Maximum Concurrent Jobs = 1
>
> Password = "iqoMlrq682zFIGj9UKkqGdoJv0ZB/Yasc+UjvpVN5M8H" # Console 
> password
>
> Messages = Daemon
>
> }
>
> # Definition of file storage device
>
> Storage {
>
> Name = LAB2Storage
>
> # Do not use "localhost" here
>
> Address = localhost # N.B. Use a fully qualified name here
>
> SDPort = 9103
>
> Password = "R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo"
>
> Device = FileStorage
>
> Media Type = File
>
> }
>
> Storage {
>
> Name = LAB1Storage
>
> Address = 10.96.18.4
>
> SDPort = 9103
>
> Password = "R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo"
>
> Device = LAB1Storage
>
> Media Type = File
>
> }
>
> Storage {
>
> Name = LAB3Storage
>
> Address = 10.96.18.11
>
> SDPort = 9103
>
> Password = "R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo"
>
> Device = LAB3Storage
>
> Media Type = File
>
> }
>
> Bacula-sd :
>
> Storage { # definition of myself
>
> Name = labobe2-sd
>
> SDPort = 9103 # Director's port
>
> WorkingDirectory = "/var/db/bacula"
>
> Pid Directory = "/var/run"
>
> Maximum Concurrent Jobs = 20
>
> }
>
> #
>
> # List Directors who are permitted to contact Storage daemon
>
> #
>
> Director {
>
> Name = labobe2-dir
>
> Password = "R6Pg6oibaVZUWd5PdVgHj084eENgkFcrB9aFMW0JRlRo"
>
> }
>
> #
>
> # Devices supported by this Storage daemon
>
> # To connect, the Director's bacula-dir.conf must have the
>
> # same Name and MediaType.
>
> #
>
> Device {
>
> Name = LAB2Storage
>
> Media Type = File
>
> Archive Device = "/tmp/LaboBE2/bacula"
>
> LabelMedia = yes;
>
> Random Access = yes;
>
> AutomaticMount = yes;
>
> RemovableMedia = no;
>
> AlwaysOpen = no;
>
> }
>
> Device {
>
> Name = LAB1Storage
>
> Media Type = File
>
> Archive Device = "/tmp/LaboBE1/bacula"
>
> LabelMedia = yes; # lets Bacula label unlabeled media
>
> Random Access = Yes;
>
> AutomaticMount = yes; # when device opened, read it
>
> RemovableMedia = no;
>
> AlwaysOpen = no;
>
> }
>
> Device {
>
> Name = LAB3Storage
>
> Media Type = File
>
> Archive Device = "/tmp/LaboBE3/bacula"
>
> LabelMedia = yes;
>
> Random Access = yes;
>
> AutomaticMount = yes;
>
> RemovableMedia = no;
>
> AlwaysOpen = no;
>
> }
>
> In bconsole :
>
> *status all
>
> labobe2-dir Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 
> freebsd 7.0-RELEASE
>
> Daemon started 11-Feb-09 16:25, 0 Jobs run since started.
>
> Heap: heap=0 smbytes=40,629 max_bytes=41,893 bufs=287 max_bufs=297
>
> Scheduled Jobs:
>
> Level Type Pri Scheduled Name Volume
>
> ===================================================================================
>
> Incremental Backup 10 11-Feb-09 23:05 labobe2BackupJob *unknown*
>
> Incremental Backup 10 11-Feb-09 23:05 labobe3BackupJob *unknown*
>
> Incremental Backup 10 11-Feb-09 23:05 labobe1BackupJob *unknown*
>
> Full Backup 11 11-Feb-09 23:10 BackupCatalog *unknown*
>
> ====
>
> Running Jobs:
>
> No Jobs running.
>
> ====
>
> Terminated Jobs:
>
> JobId Level Files Bytes Status Finished Name
>
> ====================================================================
>
> 4 Full 0 0 Error 11-Feb-09 16:16 labobe1BackupJob.2009-02-11_15
>
> ====
>
> Connecting to Storage daemon LAB2Storage at localhost:9103
>
> labobe2-sd Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 
> freebsd 7.0-RELEASE
>
> Daemon started 11-Feb-09 16:25, 0 Jobs run since started.
>
> Heap: heap=0 smbytes=16,840 max_bytes=80,707 bufs=65 max_bufs=67
>
> Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8
>
> Running Jobs:
>
> No Jobs running.
>
> ====
>
> Jobs waiting to reserve a drive:
>
> ====
>
> Terminated Jobs:
>
> ====
>
> Device status:
>
> Device "LAB2Storage" (/tmp/LaboBE2/bacula) is not open.
>
> Device "LAB1Storage" (/tmp/LaboBE1/bacula) is not open.
>
> Device "LAB3Storage" (/tmp/LaboBE3/bacula) is not open.
>
> Used Volume status:
>
> ====
>
> ====
>
> Connecting to Storage daemon LAB1Storage at 10.96.18.4:9103
>
> Failed to connect to Storage daemon LAB1Storage.
>
> ====
>
> Connecting to Storage daemon LAB3Storage at 10.96.18.11:9103
>
> Failed to connect to Storage daemon LAB3Storage.
>
> ====
>
> Connecting to Client labobe2-fd at localhost:9102
>
> labobe2-fd Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 
> freebsd 7.0-RELEASE
>
> Daemon started 11-Feb-09 16:25, 0 Jobs run since started.
>
> Heap: heap=0 smbytes=7,589 max_bytes=7,711 bufs=45 max_bufs=46
>
> Sizeof: boffset_t=8 size_t=4 debug=0 trace=0
>
> Running Jobs:
>
> Director connected at: 11-Feb-09 16:40
>
> No Jobs running.
>
> ====
>
> Terminated Jobs:
>
> ====
>
> Connecting to Client labobe1 at 10.96.18.4:9102
>
> labobe1-fd Version: 2.4.4 (28 December 2008) i386-portbld-freebsd7.0 
> freebsd 7.0-RELEASE
>
> Daemon started 11-Feb-09 16:24, 0 Jobs run since started.
>
> Heap: heap=0 smbytes=7,339 max_bytes=7,461 bufs=42 max_bufs=43
>
> Sizeof: boffset_t=8 size_t=4 debug=0 trace=0
>
> Running Jobs:
>
> Director connected at: 11-Feb-09 16:39
>
> No Jobs running.
>
> ====
>
> Terminated Jobs:
>
> ====
>
> Connecting to Client labobe3 at 10.96.18.11:9102
>
> labobe3-fd Version: 2.4.4 (28 December 2008) VSS Linux Cross-compile Win32
>
> Daemon started 11-Feb-09 16:22, 0 Jobs run since started.
>
> Heap: heap=0 smbytes=12,638 max_bytes=12,760 bufs=52 max_bufs=53
>
> Sizeof: boffset_t=8 size_t=4 debug=0 trace=1
>
> Running Jobs:
>
> Director connected at: 11-Feb-09 16:40
>
> No Jobs running.
>
> ====
>
> Terminated Jobs:
>
> ====
>
> You have messages.
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>   


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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>