Did you see the documentation:
https://docs.bareos.org/IntroductionAndTutorial/InstallingBareos.html?highlight=postgres#section-createdatabase
?
Am 19.06.19 um 23:46 schrieb Doknik:
Hello,
I am new to this forum and bareos, I am trying to set up bareos 18.2 on Rhel
(Redhat Enterprise Linux) 7.4 using postgres 9.6
However my bareos-dir (Bareos birector) service keeps failing with errors as
below i run command bareos-dir -t
Jun 19 16:54:57 MYSERVER systemd[1]: Starting Bareos Director Daemon service...
Jun 19 16:55:27 MYSERVER bareos-dir[41667]: bareos-dir: dird/dird.cc:927-0 Could not open Catalog
"MyCatalog", database "bareos".
Jun 19 16:55:27 MYSERVER bareos-dir[41667]: bareos-dir: dird/dird.cc:932-0
cats/postgresql.cc:254 Unable to connect to PostgreSQL server. Database=bareos
User=postgres
Jun 19 16:55:27 MYSERVER systemd[1]: PID file
/var/lib/bareos/bareos-dir.9101.pid not readable (yet?) after start.
My Postgres user is the default postgres (Linux OS user account) seems to be
created by default and i have a bareos user that also seem to be created with
the installation of bareos
I am sure most of you have seen this many times but there seems to be no clear
solution to this problem .
Any help would be greatly appreciated
Rgds
Doknik
--
Mit freundlichen Grüßen
Frank Ueberschar [email protected]
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-88
http://www.bareos.com Fax: +49 221 63 06 93-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. Storz
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/bfa45ede-fed9-729b-6d6e-e38aff15c535%40bareos.com.
For more options, visit https://groups.google.com/d/optout.