Hello,

sob., 20 cze 2020 o 06:24 r0...@nxlplyx.com <r0...@nxlplyx.com> napisał(a):

> 20-Jun 00:05 bacula-dir JobId 0: Fatal error: Could not open Catalog
> "MyCatalog", database "bacula".
>
> 20-Jun 00:05 bacula-dir JobId 0: Fatal error: postgresql.c:332 Unable to
> connect to PostgreSQL server. Database=bacula User=bacula
> Possible causes: SQL server not running; password incorrect;
> max_connections exceeded.
> 20-Jun 00:05 bacula-dir ERROR TERMINATION
> Please correct configuration file: /opt/bacula/etc/bacula-dir.conf
>
First examine the Catalog resource:

Catalog {
  Name = MyCatalog
  dbname = "bacula"; dbuser = "bacula"; dbpassword = "bacula"; dbaddress =
"127.0.0.1"
}

You should execute the following command to verify if your connection is
working:

$ psql -h <value_from_dbaddress> -U <value_from_dbuser> -W
<value_from_dbname>
Password for user bacula:

then enter a password from the "dbpassword" parameter above.

It is basically the same procedure which Bacula is using, so you should get
the exact error information why it has problems to connect.

When the above procedure starts working then your Bacula Director starts
working too.
I hope it helps.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to