Bacula-users

Re: [Bacula-users] Catalog Backup failing

2011-11-08 21:53:32
Subject: Re: [Bacula-users] Catalog Backup failing
From: ganiuszka <ganiuszka AT gmail DOT com>
To: "Kenney, William P. (Information Technology Services)" <KenneyW AT easternct DOT edu>
Date: Wed, 9 Nov 2011 03:50:33 +0100
2011/11/8 Kenney, William P. (Information Technology Services)
<KenneyW AT easternct DOT edu>:
> Hello All,
>
>
>
> Have been running Bacula 5.0.3 without any major problems, but the
> BackupCatalog job is failing.
>
> Bacula-director is running.
>
> MySql is up and I can log in from the console with no problem.
>

Hi,

Did you look into "/etc/bacula/scripts/make_catalog_backup.pl" script?
Could you confirm that variable $dir_conf at the begining of the
script contains a correct localization "dbcheck" script?

For example:
my $dir_conf='/usr/local/bacula/sbin/dbcheck -B -c
/usr/local/bacula/etc/bacula-dir.conf';

If it does not point to correct localization then you can correct it.
You can also run command included in the $dir_conf variable with -C
'MyCatalog' option at the end of command.

Regards,
gani

>
>
> The error message follows:
>
> ***************************************************************************************
>
> 08-Nov 16:40 ecsu-bk3-dir JobId 970: shell command: run BeforeJob
> "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
>
> 08-Nov 16:40 ecsu-bk3-dir JobId 970: BeforeJob: Can't find your catalog
> (MyCatalog) in director configuration
>
> 08-Nov 16:40 ecsu-bk3-dir JobId 970: Error: Runscript: BeforeJob returned
> non-zero status=1. ERR=Child exited with code 1
>
> 08-Nov 16:40 ecsu-bk3-dir JobId 970: Error: Bacula ecsu-bk3-dir 5.0.2
> (28Apr10): 08-Nov-2011 16:40:39
>
>   Build OS:               x86_64-pc-linux-gnu ubuntu 10.10
>
>   JobId:                  970
>
>   Job:                    BackupCatalog.2011-11-08_16.40.37_03
>
>   Backup Level:           Full
>
>   Client:                 "ecsu-bk3-fd" 5.0.2 (28Apr10)
> x86_64-pc-linux-gnu,ubuntu,10.10
>
>   FileSet:                "Catalog" 2011-05-06 23:10:00
>
>   Pool:                   "File" (From Job resource)
>
>   Catalog:                "MyCatalog" (From Client resource)
>
>   Storage:                "File1" (From Job resource)
>
>   Scheduled time:         08-Nov-2011 16:40:34
>
>   Start time:             08-Nov-2011 16:40:39
>
>   End time:               08-Nov-2011 16:40:39
>
>   Elapsed time:           0 secs
>
>   Priority:               11
>
>   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
>
>   Encryption:             no
>
>   Accurate:               no
>
>   Volume name(s):
>
>   Volume Session Id:      0
>
>   Volume Session Time:    0
>
>   Last Volume Bytes:      0 (0 B)
>
>   Non-fatal FD errors:    1
>
>   SD Errors:              0
>
>   FD termination status:
>
>   SD termination status:
>
>   Termination:            *** Backup Error ***
>
> *************************************************************************************
>
> Any help will be appreciated.
>
>
>
> Bill
>
>
>
> William P. Kenney
>
> Unix Systems Administrator
>
> (860) 465-4688
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>



-- 
"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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>