Thank you everyone for helping me get Bacula 9.6.5 to compile without
error or warning on Debian 10.

It has been a many-week long game of "whack-a-mole", starting with
version 9.6.3 on Ubuntu, struggling with the S3 module, then
reinstalling my system with Debian 10 to make it work and it not
compiling without errors or warnings, then moving to Bacula 9.6.5 and
finally getting Bacula to compile without error on Debian 10.   In the
process I had the ./configure file incorrect, so I kept wiping out my
O/S with 'make install', and had to reinstall the O/S several times.  

NOTE:  I discovered the scripts directory that was in 9.6.3 is no longer
in 9.6.5, and all the scripts in 9.6.5 get put into the etc directory. 
At least that is what happened when I deleted the entire /opt/bacula
directory and re-ran 'make install'.

But now that Bacula 9.6.5 compiled without errors, it will not run. 
Note: 9.6.3 ran right out of 'make install' with postgres, but no S3
capability.

./bconsole tries to connect to the director on port 9101.   But it hangs
for a while, and the director daemon process then dies.

I ran the scripts to create the postgres directory, tables and set
permissions.  But no configuration of director, with or without
passwords for the postgres account, will make it work.  Even with the
identical setup that did work with Bacula 9.6.3.

I tried configuring the director with what the manual says on page 399,
and that does not work.

Can anyone help?

The log says:

======

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

======


Al


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

Reply via email to