On 2/21/2011 9:17 PM, RYAN vAN GINNEKEN wrote:
> Ok all i am having problems with a new install on ubuntu 10.04 LTS migrating 
> it from FreeBSD anyhow i am getting this error about my Catalog and cannot 
> for the life of me figure it out.  Read some post by Dru about some changes 
> in 5.0.0 and changed the owner of  my /usr/sbin/dbcheck command to 
> root:bacula to no avial
>
> Here is the error obviously i have a Catalog entry named catalog and have 
> included some relevant bit of the bacula-dir.conf file too
>
> 21-Feb 18:55 ns1.computerking.ca-dir JobId 20: shell command: run BeforeJob 
> "/etc/bacula/scripts/make_catalog_backup.pl catalog"
> 21-Feb 18:55 ns1.computerking.ca-dir JobId 20: BeforeJob: Can't find your 
> catalog (catalog) in director configuration

Have you googled and tried suggestions for that error?

http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg39535.html

> 21-Feb 18:55 ns1.computerking.ca-dir JobId 20: Error: Runscript: BeforeJob 
> returned non-zero status=1. ERR=Child exited with code 1
>
> Catalog {
>    Name = catalog
>    dbname = bacula; DB Address = ""; dbuser = "bacula"; dbpassword = 
> "secretpassword"
> }
>
> Job {
>    Name = "ns1.computerking.ca-local-cat-job"
>    Client = "ns1.computerking.ca-local-cat"
>    JobDefs = "default-job"
>    Level = full
>    FileSet="local-cat-fileset"
>    Schedule = "local-cat-backup"
>    Storage = "local-cat-sd"  #This is to connect to the storage dameon"
>    Pool = "local-cat-pool"
>    Priority = 15                   # run after main backup
> ########### FreeBSD
> # RunBeforeJob = "/usr/local/share/bacula/make_catalog_backup bacula bacula 
> secretpassword localhost"
> #  RunAfterJob  = "/usr/local/share/bacula/delete_catalog_backup bacula 
> bacula secretpassword localhost"
> #Write Bootstrap = "/var/db/bacula/BackupCatalog.bsr"
> ########### Linux
>    RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl catalog"
>    RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup bacula bacula 
> secretpassword localhost"
>    Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
> }

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to