Bacula-users

Re: [Bacula-users] Storage daemons dies on restore

2008-07-17 12:51:55
Subject: Re: [Bacula-users] Storage daemons dies on restore
From: Frank Sweetser <fs AT WPI DOT EDU>
To: Andrea Venturoli <ml AT netfence DOT it>
Date: Thu, 17 Jul 2008 12:51:38 -0400
Andrea Venturoli wrote:
> Hello.
> I'm using Bacula on FreeBSD 6.3.
> 
> Since I upgraded to 2.4.1, when I try a restore, the storage daemon dies
> at the end of the first tape.
> 
> 
> 17-Jul 17:15 xxxxx-sd JobId 5471: End of file 30 on device "DDS-5"
> (/dev/nsa0), Volume "Ext81"
> 17-Jul 17:15 xxxxx-sd JobId 5471: End of Volume at file 30 on device
> "DDS-5" (/dev/nsa0), Volume "Ext81"
> 17-Jul 17:17 xxxxx-fd JobId 5471: Error: attribs.c:421 File size of
> restored file /usr/local/zzzzzzz not correct. Original 151917907,
> restored 56754176.
> 17-Jul 17:25 yyyyy-dir JobId 0: Warning: bsock.c:123 Could not connect
> to Storage daemon on xxxxx.kkkkkk.it:9103. ERR=Connection refused
> Retrying ...
> 17-Jul 17:31 yyyyy-dir JobId 0: Warning: bsock.c:123 Could not connect
> to Storage daemon on xxxxx.kkkkkk.it:9103. ERR=Connection refused
> Retrying ...
> 
> 
> The storage daemon has died without leaving anything in the logs or a
> core dump or anything.
> 
> Any hint on how to start debugging this?

I would suggest starting it up manually in a terminal with debug output
enabled.  The -f option will keep it in the foreground, and -d100 will set the
debug level to 100 (a good start).  Using the script command will make it easy
to capture all of the output to a file as well.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
    GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users