Hi Rad,

It did not work.  The only thing that occurs to me is what user should I
be launching things as?


Logging into Postgres from command line.

1. /etc$ psql -h 127.0.0.1 -U bacula -W bacula
Password:
psql (12.3 (Debian 12.3-1.pgdg100+1))
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits:
256, compression: off)
Type "help" for help.

bacula=> \q
could not save history to file "/opt/bacula/.psql_history": No such file
or directory
/etc$

2. Testing all four of the configuration files with a script:
"/opt/bacula/sbin/bacula-dir -t -c /opt/bacula/etc/bacula-dir.conf"...

/etc$ ./test_conf
=====================
Testing bacula-dir.conf
=====================
Testing bacula-fd.conf
=====================
Testing bacula-sd.conf
=====================
Testing bconsole.conf
=====================

(no output from any of them)


3. Starting Bacula

bacula@debian:~/etc$ ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon

4. Launching bconsole

bacula@debian:~/etc$ ./bconsole
Connecting to Director debian:9101
bacula@debian:~/etc$

5. bacula-dir process is now dead.


6. bacula.log

------------

23-Jun 15:11 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
23-Jun 15:11 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.
23-Jun 15:11 bacula-dir ERROR TERMINATION
Please correct configuration file: /opt/bacula/etc/bacula-dir.conf

-----------



Al

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to