Trying to start bacula-dir:
==================================================================================
backupServer:/# bacula-dir -d 100 -c /etc/bacula/bacula-dir.conf
bacula-dir: dird.c:157-0 Debug level
= 100
bacula-dir: jcr.c:135-0
read_last_jobs seek to 188
bacula-dir: jcr.c:142-0 Read
num_items=0
bacula-dir: mysql.c:101-0 db_open
first time
bacula-dir: mysql.c:129-0 initdb
ref=1 connected=0 db=0
bacula-dir: mysql.c:165-0 mysql_init
done
backupServer:/#
.
. time
passes
.
bacula-dir: mysql.c:186-0
mysql_real_connect done
bacula-dir: mysql.c:188-0 db_user=bacula
db_name=bacula db_password=
bacula-dir: dird.c:878 Could not open
Catalog "MyCatalog", database "bacula".
bacula-dir: dird.c:883 mysql.c:194
Unable to connect to MySQL server.
Database=bacula User=bacula
MySQL connect failed either server not
running or your authorization is incorrect.
bacula-dir: mysql.c:227-0 closedb
ref=0 connected=0 db=0
22-Jul 07:44 bacula-dir ERROR
TERMINATION
Please correct configuration file:
/etc/bacula/bacula-dir.conf
==================================================================================
from /etc/bacula/bacula-dir.conf ...
----------------------------------------------------------------------------------
# Backup the catalog database (after
the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
# WARNING!!! Passing the password via the command line is
insecure.
# see comments in make_catalog_backup for details.
# Arguments to make_catalog_backup are:
#
make_catalog_backup <database-name> <user-name>
<password> <host>
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup
bacula bacula CrackerJack
192.168.48.3"
# This deletes the copy of the catalog
RunAfterJob =
"/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap =
"/var/lib/bacula/BackupCatalog.bsr"
Priority = 11
# run after main backup
}
-----------------------------------------------------------------------------------
I know it's not secure ... I'll worry
about that after I see it work.
===================================================================================
Using MySQL Administrator ...
screenshot "in-MySQL_Administrator root.png" attached.
===================================================================================
Using MySQL Browser ... screenshot
"in_MySQL_Browser.png" attached.
For this test, root and bacula have
the same password and that password is as specified in bacula-dir.conf.
===================================================================================
What did I miss, please?
Stan Berry