Am 24.11.2015 um 14:57 schrieb [email protected]:
> Catalog {
>   Name = MyCatalog
>   # Uncomment the following lines if you want the dbi driver
>   # dbdriver = "dbi:postgresql"; dbaddress = 127.0.0.1; dbport =
>   #dbdriver = "postgresql"
>   dbdriver = "postgresql"
>   dbname = "bareos"
>   dbuser = "bareos"
>   dbpassword = ""
> }
> 
> The password is blank, but it should be logging in without one if its trusted?

yes

> [root@vm-backups1]# cat /etc/redhat-release
> CentOS release 6.7 (Final)
> 
> Updates to the DB were run with these two commands...
> su postgres -c /usr/lib/bareos/scripts/update_bareos_tables 
> su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges
> 
> The first one initially failed because of a permission issue, which I fixed, 
> and then ran successfully.
> The error message was along the lines of "couldn't read file bareos config. 
> Permission denied".
> 
> My solution was to add the postgres user to the bareos group with read 
> permissions. After that the update was successful.

Looks good so far.
The warning "couldn't read file bareos config. Permission denied" is
normal and could be ignored, as long as you stick to the default
settings. But adding postgres to the bareos group prevents this warning
(and would allow you to use none standard settings).

In
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#CatalogDatabase

is a description about how to check your database. In essence:

# su to bareos to have the same database permissions as the bareos-director

root@linux:~# su − bareos −s /bin/sh

# connect to the database
bareos@linux:~# psql

# manually check the database, e.g.
bareos=> select * from Version;


Please try this.

Jörg

-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz, M. v. Wieringen

-- 
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