Guest User

Untitled

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