Bacula-users

[Bacula-users] Backups not starting (network prob?)

2009-03-13 17:23:26
Subject: [Bacula-users] Backups not starting (network prob?)
From: Chris Cameron <chrisacameron AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 13 Mar 2009 16:12:01 -0500
Could someone help me troubleshoot this? I'm not able to get my first backup done yet... seems like network issues but... I've set each machine's hosts file up. Neither has a firewall running. They're both attached the same router (192.168.1.254)
Here's the error log from the daemon (daffy = bacula | mickey = winxp)
13-Mar 14:59 daffy-dir JobId 22: No prior Full backup Job record found.
13-Mar 14:59 daffy-dir JobId 22: No prior or suitable Full backup found in catalog.
Doing FULL backup.
13-Mar 14:59 daffy-dir JobId 22: Start Backup JobId 22, Job=MickeyBackup.2009-03-13_14.59.25
13-Mar 14:59 daffy-dir JobId 22: Using Device "File"
13-Mar 15:28 mickey-fd JobId 22: Fatal error: Failed to connect to Storage daemon:
daffy:9103
13-Mar 14:59 mickey-fd JobId 22: Warning: ../../lib/bsock.c:123 Could not connect
to Storage daemon on daffy:9103. ERR=The operation completed successfully.

Retrying ...
13-Mar 15:04 mickey-fd JobId 22: Warning: ../../lib/bsock.c:123 Could not connect
to Storage daemon on daffy:9103. ERR=The operation completed successfully.

Retrying ...
13-Mar 15:10 mickey-fd JobId 22: Warning: ../../lib/bsock.c:123 Could not connect
to Storage daemon on daffy:9103. ERR=The operation completed successfully.

Retrying ...
13-Mar 15:16 mickey-fd JobId 22: Warning: ../../lib/bsock.c:123 Could not connect
to Storage daemon on daffy:9103. ERR=The operation completed successfully.

Retrying ...
13-Mar 15:21 mickey-fd JobId 22: Warning: ../../lib/bsock.c:123 Could not connect
to Storage daemon on daffy:9103. ERR=The operation completed successfully.

Retrying ...
13-Mar 15:27 mickey-fd JobId 22: Warning: ../../lib/bsock.c:123 Could not connect
to Storage daemon on daffy:9103. ERR=The operation completed successfully.

Retrying ...
13-Mar 15:28 mickey-fd JobId 22: Fatal error: ../../lib/bsock.c:129 Unable to connect
to Storage daemon on daffy:9103. ERR=The operation completed successfully.

13-Mar 15:29 daffy-dir JobId 22: Fatal error: Socket error on Storage command: ERR=No
data available
13-Mar 15:29 daffy-dir JobId 22: Error: Bacula daffy-dir 2.4.2 (26Jul08): 13-Mar-2009
15:29:07
Build OS: i486-pc-linux-gnu debian lenny/sid
JobId: 22
Job: MickeyBackup.2009-03-13_14.59.25
Backup Level: Full (upgraded from Incremental)
Client: "mickey-fd" 2.4.4 (28Dec08) Linux,Cross-compile,Win32
FileSet: "WinxpFull" 2009-03-12 23:05:00
Pool: "Default" (From Job resource)
Storage: "File" (From Job resource)
Scheduled time: 13-Mar-2009 14:59:01
Start time: 13-Mar-2009 14:59:05
End time: 13-Mar-2009 15:29:07
Elapsed time: 30 mins 2 secs
Priority: 10
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Storage Encryption: no
Volume name(s):
Volume Session Id: 3
Volume Session Time: 1236968981
Last Volume Bytes: 567 (567 B)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status:
SD termination status: Waiting on FD
Termination: *** Backup Error ***
Here's my conf files on daffy:

<snip dir>
#

Director { # define myself
Name = daffy-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 = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console password
Messages = Daemon
DirAddress = daffy

# Definition of file storage device
Storage {
Name = File
# Do not use "localhost" here
Address = daffy
SDPort = 9103
Password = Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj
Device = File
Media Type = File

Client {
Name = mickey-fd
Password = m1ck3y
Address = mickey
FDPort = 9102
Catalog = MyCatalog
File Retention = 30 days
Job Retention = 6 months
}
FileSet {
Name = WinxpFull
Enable VSS = "yes"
Include {
File = C:/
Options {
signature = SHA1
compression = GZIP
ignore case = "yes"
}
Options {
wilddir= "*Temporary Internet Files*"
wilddir = C:/Windows/Temp*
wilddir = C:/Temp*
wilddir = "C:/Program Files/Steam*"
wildfile = "*pagefile.sys"
wildfile = "*.log"
exclude = "yes"
}
}
}
Job {
Name = MickeyBackup
JobDefs = DefaultJob
Type = Backup
Client = mickey-fd
FileSet = WinxpFull
Schedule = WeeklyCycle
Storage = File
Pool = Default
Messages = Standard
Client Run Before Job = "ntbackup backup systemstate /F c:\systemstate.bkf"

}
}
}

</snip dir>
<snip fd>
FileDaemon {                          # this is me
Name = daffy-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
FDAddress = daffy
}

</snip fd>
<snip sd>
Storage {                             # definition of myself
Name = daffy-sd
SDport = 9103
WorkingDirectory = /var/lib/bacula
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = daffy
}
Device {
Name = File
Media Type = File
Archive Device = /storage/machinebackups
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}

</snip sd>

conf on mickey:
<snip bacula-fd>

FileDaemon {                            # this is me
  Name = mickey-fd
  FDport = 9102                # where we listen for the director
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work"
  Pid Directory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 2
}
Director {
  Name = daffy-dir
  Password = "m1ck3y"
}
</snip>

<snip bconsole>
Director {
  Name = daffy-dir
  DIRport = 9101
  address = daffy
  Password = "@director_password@"
}
</snip>

Thanks very much for looking.
-------------------------------------------------------
Chris Cameron

Sent from: Houston TX United States.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users