Results 1 to 2 of 2

Thread: bacula - install issue (Can't find your catalog (MyCatalog) in director configuration)

  1. #1

    Thumbs up bacula - install issue (Can't find your catalog (MyCatalog) in director configuration)

    Under opensuse 11.4, I had this error message
    Code:
    build20-dir shell command: run BeforeJob "/usr/lib/bacula/make_catalog_backup.pl MyCatalog"
    build20-dir BeforeJob: Can't find your catalog (MyCatalog) in director configuration
    First, I had to solve this problem :
    bacula - install issue ( service bacula-dir start give " Exec format error " )

    After soft-linking "bacula-dir" with "bacula-dir.mysql", I had this second problem with "MyCatalog".
    This problem is about "dbcheck". Again, to solve it, you must delete "dbcheck" binary and make a soft link of dbcheck.mysql.
    Code:
    cd /usr/sbin
    rm dbcheck
    ln -s dbcheck.mysql dbcheck
    After that, MyCatalog's problem is solved.

    Quote Originally Posted by Censo View Post
    Same trouble on OpenSuse 11.3 It looks like bacula installation packages are completely damaged, all these files should be soft or hard links to their MySQL equivalents, but they are just zero sized, and if copied manually, they are erased on each package upgrade... It sucks...
    Breaks backups completely.

    Code:
    /usr/sbin # ls -l -1 bacula* bcopy* bscan* dbcheck* 
    -rwxr-xr-x 1 root root   1636 2011-01-21 04:55 bacula
    -rwxr-xr-x 1 root root      0 2011-01-21 04:55 bacula-dir
    -rwxr-xr-x 1 root root 861588 2011-01-21 04:55 bacula-dir.mysql
    -rwxr-xr-x 1 root root 429228 2011-01-21 04:55 bacula-fd
    -rwxr-xr-x 1 root root 595948 2011-01-21 04:55 bacula-sd
    -rwxr-xr-x 1 root root      0 2011-01-21 04:55 bcopy
    -rwxr-xr-x 1 root root 498608 2011-01-21 04:55 bcopy.mysql
    -rwxr-xr-x 1 root root      0 2011-01-21 04:55 bscan
    -rwxr-xr-x 1 root root 605552 2011-01-21 04:55 bscan.mysql
    -rwxr-xr-x 1 root root      0 2011-01-21 04:55 dbcheck
    -rwxr-xr-x 1 root root 397932 2011-01-21 04:55 dbcheck.mysql
    It is the same for opensuse 11.4, so it is necessary to soft link all 0 sized binaries, with .mysql version.

    Is it a package error ?

  2. #2

    Default Re: bacula - install issue (Can't find your catalog (MyCatalog) in director configuration)

    I too received the same problem and struggling from past two days. But unable to fix it.

    Today, I've gone through the script and understood that "/usr/lib64/bacula/make_catalog_backup.pl" script is "bacula.sql" in /var/lib/bacula.

    Looks like this file is temporary and needs to be generated during the backup and should get deleted after the catalog backup. I found that this file was not deleted previously.

    I deleted this file manually and run the backup which got finished successfully.

    This may help someone.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •