Andreas Haase
2018-11-07 18:49:31 UTC
Hello,
try replacing username postgres by bareos. Postgres usually uses a mechanism, where accesses are granted in case the username matches the database name. If you are not able to use that mechanism, you should consult postgresql documentation to found out how to change pg_hba.conf to grant the necessary access rights.
Regards,
Andreas
Am 07.11.2018 19:43 schrieb Raymond Norton <***@gmail.com>:
I have used bacula for a number of years but want to move to Bareos. I am attempting my first server install but am getting authentication errors when attempting to run the following command (regardless of password used, or no password)
sudo -u postgres -c /usr/lib/bareos/scripts/create_bareos_database
I changed the postgres user password via psql but that did not help.
I am fine with reconfiguring the initial setup but am not clear on how to do that.
I am installing on a 16.04 Xubuntu server.
Any help is appreciated.
Raymond
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
try replacing username postgres by bareos. Postgres usually uses a mechanism, where accesses are granted in case the username matches the database name. If you are not able to use that mechanism, you should consult postgresql documentation to found out how to change pg_hba.conf to grant the necessary access rights.
Regards,
Andreas
Am 07.11.2018 19:43 schrieb Raymond Norton <***@gmail.com>:
I have used bacula for a number of years but want to move to Bareos. I am attempting my first server install but am getting authentication errors when attempting to run the following command (regardless of password used, or no password)
sudo -u postgres -c /usr/lib/bareos/scripts/create_bareos_database
I changed the postgres user password via psql but that did not help.
I am fine with reconfiguring the initial setup but am not clear on how to do that.
I am installing on a 16.04 Xubuntu server.
Any help is appreciated.
Raymond
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.