[Bacula-users] Can't find your catalog (MyCatalog)
2010-06-22 12:24:59
Hello ... I am having a issue with the catalog backups failing.
We are running 5.03 on Ubuntu server 10.04 LTS 32 bit. Loaded from Rep The failure message is:
22-Jun 05:48 server JobId 11: shell command: run BeforeJob "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
22-Jun 05:48 server JobId 11: BeforeJob: Can't find your catalog (MyCatalog) in director configuration 22-Jun 05:48 server 11: Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1
Other jobs are running
My bacula-dir.conf does have the following
# Generic catalog service
Catalog { Name = MyCatalog dbname = bacula; dbuser = "bacula"; dbpassword = "password";DB Address = 127.0.0.1
Netstat -tulpn shows
roto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 3501/mysqld tcp 0 0 10.0.2.16:9101 0.0.0.0:* LISTEN 1782/bacula-dir
tcp 0 0 10.0.2.16:9102 0.0.0.0:* LISTEN 13030/bacula-fd tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1282/dovecot
tcp 0 0 10.0.2.16:9103 0.0.0.0:* LISTEN 13006/bacula-sd tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1282/dovecot
tcp 0 0 0.0.0.0:33839 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 702/portmap
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 1573/perl tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1482/apache2
[REMAINDER TRUNCATED]
I am able to log in to mysql using the command line and pull the schema
mysql -u root -p bacula -e "show tables;"
+------------------+ | Tables_in_bacula | +------------------+
| BaseFiles | | CDImages | | Client | | Counters | | Device | | File | | FileSet | | Filename | | Job | | JobHisto |
| JobMedia | | Location | | LocationLog | | Log | | Media | | MediaType | | Path | | PathHierarchy | | PathVisibility | | Pool |
| Status | | Storage | | UnsavedFiles | | Version | +------------------+
If the command is run manually it does indeed work (permission issue maybe)
I have no good ideas on this one
Thanks
Dave
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo _______________________________________________
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>
|
- [Bacula-users] Can't find your catalog (MyCatalog),
Dave Buchanan <=
- Message not available
|
|
|