Well. is the postgres server up and running? Error sounds like that. Fix issue and try again?
You could also try command strace -f -s -o logfile current_command la 20. lokak. 2018 klo 19.56 Sven Gehr <[email protected]> kirjoitti: > My second porolem is that I can not connect to the database. I use an > UCS-Server (4,3). > > bconsole, selftest and webui works .... but empty. > > the connection paramter are in > /etc/bareos/bareos-dir.d/catalog/MyCatalog.conf: > > Catalog { > Name = MyCatalog > #dbdriver = "postgresql" > dbdriver = postgresql > dbname = bareos > dbuser = bareos > dbpassword = secret > } > > the volume-files are in: > > /backup/bareos/storage > > when I try to add the volume to a new catalog I get the error: > > root@kvm02:~# bscan -B postgresql -n bareos -u bareos -P 'secret' -v -s > -m -V Full-0046 /backup/bareos/storage > bscan: butil.c:273-0 Using device: "/backup/bareos/storage" for reading. > 20-Okt 18:49 bscan JobId 0: Ready to read from volume "Full-0046" on > device "FileStorage" (/backup/bareos/storage). > bscan: ERROR TERMINATION at bscan.c:341 > postgresql.c:253 Unable to connect to PostgreSQL server. Database=bareos > User=bareos > Possible causes: SQL server not running; password incorrect; > max_connections exceeded. > > Can anybody tell me what the problem is? > > with best > sven > > -- > 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.
