I checked whether the database exists:


postgres=# \l
                                   List of databases
    Name    |  Owner   | Encoding  |   Collate   |    Ctype    |   
Access privileges
-----------+----------+-----------+-------------+-------------+-----------------------
  bacula    | postgres | SQL_ASCII | de_DE.UTF-8 | de_DE.UTF-8 |
  postgres  | postgres | UTF8      | de_DE.UTF-8 | de_DE.UTF-8 |
  template0 | postgres | UTF8      | de_DE.UTF-8 | de_DE.UTF-8 | 
=c/postgres          +
            |          |           |             |             | 
postgres=CTc/postgres
  template1 | postgres | UTF8      | de_DE.UTF-8 | de_DE.UTF-8 | 
=c/postgres          +
            |          |           |             |             | 
postgres=CTc/postgres
(4 rows)




Am 15-01-2013 10:21, schrieb Sven Gehr:
> Hi@all,
> 
> I want to install bacula on a ubuntu-server (12.04.01-LTS / 64bit). I
> install with the following command:
> 
> 
> aptitude install postgresql
> aptitude install bacula-director-pgsql bacula-common-pgsql
> bacula-sd-pgsql bacula-fd bacula-sd-tools bacula-console
> 
> 
> and answer the questions:
> 
> Konfigurieren der Datenbank für bacula-director-pgsql mit
> dbconfig-common:      Ja
> PostgreSQL-Anwendungspasswort für bacula-director-pgsql:                      
> secret
> 
> 
> Now I want test my director with:
> 
> bacula-dir -t
> 
> and get the error:
> 
> bacula-dir: dird.c:954 Konnte Catalog "MyCatalog", database "bacula"
> nicht öffnen.
> bacula-dir: dird.c:959 postgresql.c:241 Unable to connect to 
> PostgreSQL
> server. Database=bacula User=bacula
> Possible causes: SQL server not running; password incorrect;
> max_connections exceeded.
> 15-Jan 10:04 bacula-dir ERROR TERMINATION
> Bitte die Konfigurationsdatei korrigieren: bacula-dir.conf
> 
> 
> The role 'bacula' is available:
> 
> 
> postgres=# \dg[+]
>                                      List of roles
>   Role name |                   Attributes                   | Member 
> of
> | Description
> -----------+------------------------------------------------+-----------+-------------
>   bacula    |                                                | {}
> |
>   postgres  | Superuser, Create role, Create DB, Replication | {}
> |
> 
> 
> 
> but I miss the script's (create_bacula_database, make_bacula_tables 
> and
> grant_bacula_privileges). Where can I find the scripts on my
> ubuntu-system?
> 
> 
> 
> 
> 
> 
> --
> Viele Grüsse
> 
> Sven Gehr
> 
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow 
> -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and 
> experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Viele Grüsse

Sven Gehr

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to