Changing the user to bareos resolved the issue

On Wed, Nov 7, 2018 at 2:54 PM Eero Volotinen <[email protected]> wrote:

> How about following instructions:
>
> su postgres -c /usr/lib/bareos/scripts/create_bareos_database
> su postgres -c /usr/lib/bareos/scripts/make_bareos_tables
> su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges
>
> If you don't know password of postgres user just first sudo -i and then 
> follow documentation?
>
> Eero
>
> On 7 Nov 2018, at 20.43, Raymond Norton <[email protected]> wrote:
>
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to