root@srv:/etc/bacula# psql -h localhost -U bacula -d bacula -W
Password:
psql (11.9 (Debian 11.9-0+deb10u1))
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits:
256, compression: off)
Type "help" for help.
bacula=> list
bacula-> \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access
privileges
-----------+----------+-----------+-------------+-------------+-------------
----------
bacula | postgres | SQL_ASCII | en_US.UTF-8 | en_US.UTF-8 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
+
| | | | |
postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
+
| | | | |
postgres=CTc/postgres
(4 rows)
bacula-> q
but why are here now this
27-Dec 09:03 srvcar006-dir JobId 58: shell command: run BeforeJob
"/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v
cat1=CaragCatalog /etc/bacula/bacula-dir.conf"
27-Dec 09:03 srvcar006-dir JobId 58: BeforeJob: awk:
/etc/bacula/scripts/make_catalog_backup_awk: line 53: function gensub never
defined
Thanks
Von: [email protected] <[email protected]>
Gesendet: Sonntag, 27. Dezember 2020 15:11
An: [email protected]
Betreff: Re: [Bacula-users] catalog authentication error
Kindly ask for short help
Bacula dir
dbname = bacula; user = bacula; Password = "mypasswordarehere.now"
root@srv:/home/caragadm# psql -U bacula CaragCatalog -W
Password:
psql: FATAL: Peer authentication failed for user "bacula"
please why here receive any Autnetication failed?
Von: [email protected] <mailto:[email protected]> <[email protected]
<mailto:[email protected]> >
Gesendet: Sonntag, 27. Dezember 2020 09:06
An: [email protected]
<mailto:[email protected]>
Betreff: [Bacula-users] catalog authentication error
Please now Bacula 9.4.2 running fine, about creating the catalog appair now
the message "Peer authentication failed for user "bacula"
>pg_dump: [archiver (db)] connection to database "bacula" failed: FATAL:
Peer authentication failed for user "bacula
Editing
cat /etc/postgresql/11/main/pg_hba.conf
[snip]
host bacula bacula 127.0.0.1/32 trust
I was thinking this was here... baculadir
# Generic catalog service
Catalog {
Name = CaragCatalog
dbname = bacula; user = bacula; Password = "mypasswordarehere.now"
27-Dec 09:03 srvcar006-dir JobId 58: shell command: run BeforeJob
"/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v
cat1=CaragCatalog /etc/bacula/bacula-dir.conf"
27-Dec 09:03 srvcar006-dir JobId 58: BeforeJob: awk:
/etc/bacula/scripts/make_catalog_backup_awk: line 53: function gensub never
defined
27-Dec 09:03 srvcar006-dir JobId 58: BeforeJob: awk:
/etc/bacula/scripts/make_catalog_backup_awk: line 53: function gensub never
defined
27-Dec 09:03 srvcar006-dir JobId 58: BeforeJob: awk:
/etc/bacula/scripts/make_catalog_backup_awk: line 53: function gensub never
defined
27-Dec 09:03 srvcar006-dir JobId 58: BeforeJob: awk:
/etc/bacula/scripts/make_catalog_backup_awk: line 53: function gensub never
defined
27-Dec 09:03 srvcar006-dir JobId 58: BeforeJob: awk:
/etc/bacula/scripts/make_catalog_backup_awk: line 53: function gensub never
defined
27-Dec 09:03 srvcar006-dir JobId 58: Error: Runscript: BeforeJob returned
non-zero status=2. ERR=Child exited with code 2
27-Dec 09:03 srvcar006-dir JobId 58: Error: Bacula srvcar006-dir 9.4.2
(04Feb19):
but it's seems that this place are wrong...
thanks for any help
Regards
Mau
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users