среда, 18 ноября 2015 г., 21:30:22 UTC+4 пользователь Stephan Duehr написал:
> On 11/18/2015 09:09 AM, celal suleymanov wrote:
> > I freshh install Centos 6.7
> > and do that command from manual :
> > DIST=CentOS_6
> > DATABASE=postgresql
> > URL=http://download.bareos.org/bareos/release/latest/$DIST
> > wget -O /etc/yum.repos.d/bareos.repo $URL/bareos.repo
> > yum install bareos bareos-database-$DATABASE
> > 
> > and when i check this command: bareos-dir -t -c /etc/bareos/bareos-dir.conf
> > 
> > this error occured : bareos-dir: dird.c:1020-0 Could not open Catalog 
> > "MyCatalog", database "bareos".
> > bareos-dir: dird.c:1025-0 postgresql.c:238 Unable to connect to PostgreSQL 
> > server. Database=bareos User=bareos
> > Possible causes: SQL server not running; password incorrect; 
> > max_connections exceeded.
> > 18-Nov 16:04 bareos-dir ERROR TERMINATION
> > 
> > 
> > My bareos-dir.conf this :
> > 
> > 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 = ""
> > }
> > 
> > 
> > 
> > 
> > Can you help me?
> > 
> > how i can start postgresql service?
> > 
> 
> To install and run postgresql on CentOS 6 do this:
> 
> yum install postgresql-server
> service postgresql initdb
> chkconfig postgresql on
> service postgresql start
> 
> Then continue with the instructions at
> http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-390002.4.2
> 
> Regards
> -- 
>   Stephan Dühr                              [email protected]
>   Bareos GmbH & Co. KG                      Phone: +49 221-630693-90
>   http://www.bareos.com
> 
>   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. Steffens, Philipp Storz, M. v. Wieringen

thank you Stephna.I installed and started postgresql.but when check 
bareos-dir.conf this error occured:
bareos-dir: dird.c:1020-0 Could not open Catalog "MyCatalog", database 
"postgres".
bareos-dir: dird.c:1025-0 postgresql.c:238 Unable to connect to PostgreSQL 
server. Database=postgres User=root
Possible causes: SQL server not running; password incorrect; max_connections 
exceeded.
19-Nov 13:06 bareos-dir ERROR TERMINATION
Please correct configuration file: /etc/bareos/bareos-dir.conf





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