Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Debian GNU/Linux 8 (jessie)
- Linux <servername> 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) x86_64 GNU/Linux
- # ./bareos-ctl-dir start
- Starting the Bareos Director daemon
- Checking Configuration and Database connection ...
- bareos-dir: dird.c:1161-0 Could not open Catalog "MyCatalog", database "bareos".
- bareos-dir: dird.c:1166-0 postgresql.c:253 Unable to connect to PostgreSQL server. Database=bareos User=bareos
- Possible causes: SQL server not running; password incorrect; max_connections exceeded.
- bareos-dir ERROR TERMINATION
- Please correct the configuration in /etc/bareos/bareos-dir.d/*/*.conf
- Catalog {
- Name = MyCatalog
- #dbdriver = "postgresql"
- dbdriver = postgresql
- dbname = bareos
- dbuser = bareos
- dbpassword = "<correctpassword>"
- }
- # psql -h localhost -d bareos -U bareos
- Password for user bareos: <correctpassword>
- psql (9.4.19)
- SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
- Type "help" for help.
- bareos=>
- # sudo -u postgres /etc/bareos/update_bareos_tables
- /etc/bareos/update_bareos_tables: 29: .: Can't open /etc/bareos/bareos-config-lib.sh
Add Comment
Please, Sign In to add comment