Tuesday, July 6, 2021

Webmin Bacula Module error solution


Failed to connect to the Bacula database : Failed to login to the database bacula : FATAL: Peer authentication failed for user "bacula". Maybe it is not set up, or the module configuration is incorrect


Change folowing line in pg_hba.conf
My pg_hba.conf was located at /etc/postgresql/version number/main


from

#    TYPE    DATABASE    USER    ADDRESS    METHOD
        local        all                    all                                peer

to

#    TYPE    DATABASE    USER    ADDRESS    METHOD
       local         all                    all                                md5

No comments:

Blog Archive