Debian 13 bacula install failed on dbconfig
Gary Dale <[email protected]>
| Newsgroups | gmane.comp.bacula.user |
|---|---|
| Message-ID | <[email protected]> |
Sorry, I started doing this yesterday but couldn't finish, I did the usual apt install on bacula and failed multiple times during dbconfig. I don't remember the various errors. At one point I did a reboot then had to leave. The bacula log is filled with repeats of these messages coming every minute or two: 9-Aug 20:28 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula". 29-Aug 20:28 bacula-dir JobId 0: Fatal error: postgresql.c:435 Unable to connect to PostgreSQL server. Database=bacula User=bacula Possible causes: SQL server not running; password incorrect; max_connections exceeded. 29-Aug 20:28 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf # ps aux | grep sql mysql 1257 0.0 0.1 1835576 53452 ? Ssl Aug21 2:20 /usr/sbin/mariadbd postgres 363420 0.0 0.0 218012 29200 ? Ss Aug28 0:01 /usr/lib/postgresql/17/bin/postgres -D /var/lib/postgresql/17/main -c config_file=/etc/postgresql/17/main/postgresql.conf root 439433 0.0 0.0 6528 2204 pts/0 S+ 20:42 0:00 grep sql I'm also running mariadb for nextcloud but thought it would be better to stick with the default postgesql for now. Not sure if bacula can use mariadb but if it can, that would be a later tuning adjustment (that could go either way - if nextcloud can use postgesql). Anyway, I can't log into the database using an ssh connection to the server with the command: psql -d <bacula db name> -U <bacula user name> psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user <bacula user name> I'm guessing I have to uninstall/purge and go back and try again, but I don't want to keep hitting the same error. Does anyone have any experience with bacula on Debian 13 and/or dbconfig errors that might help me complete the install properly? Thanks. _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users