Hi@all,
have the problem that the director will not start. When I try to start it I get
the error:
------------------------------------------------------------------------
root@kvm01:/etc/bareos# service bareos-dir restart
* Restarting Bareos Director bareos-dir
Checking Configuration and Database connection ...
bareos-dir: dird.c:1020-0 Could not open Catalog "MyCatalog", database "bareos".
bareos-dir: dird.c:1025-0 Version error for database "bareos". Wanted 2003, got
2001
24-Mär 08:14 bareos-dir ERROR TERMINATION
Please correct configuration file: /etc/bareos/bareos-dir.conf
------------------------------------------------------------------------
The host is a ubuntu server 14.04.02 LTS 64bit and the following packages are
installed:
------------------------------------------------------------------------
root@kvm01:/etc/bareos# dpkg -l | grep bareos
ii bareos 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - metapackage
ii bareos-bconsole 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - text console
ii bareos-client 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - client metapackage
ii bareos-common 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - common files
ii bareos-database-common 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - common catalog files
ii bareos-database-postgresql 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - PostgreSQL backend
ii bareos-database-tools 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - database tools
ii bareos-director 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - director daemon
ii bareos-filedaemon 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - file daemon
ii bareos-storage 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - storage daemon
ii bareos-storage-tape 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - storage daemon tape
support
ii bareos-tools 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - common tools
ii bareos-traymonitor 14.2.2-46.1
amd64 Backup Archiving Recovery Open Sourced - tray monitor
------------------------------------------------------------------------
I found a note in this group and run:
su postgres -c /usr/lib/bareos/scripts/update_bareos_tables
Updating postgresql tables
Finished upgrading database to version 2003
When I try to run:
su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges
I get the error:
Granting postgresql tables
Error: database passwords containing # are not supported.
Error creating privileges.
Note: The role 'postgres' have a password ...
When I try to start the director I get the same error. How can I fix the
problem?
with best
sven
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.