I add the line:
host localhost all 127.0.0.1/32 trust an restart the server. Same problem again. Am 15-01-2013 10:42, schrieb lst_ho...@kwsoft.de: > Zitat von Sven Gehr <mailingli...@dreampixel.de>: > >> 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? >> > > Hello > > you should check pg_hba.conf. It is set restrictive on a stock Ubuntu > 12.04 install and be aware that per default unix sockets are used if > you dont at least specify "localhost" as target. > > Regards > > Andreas > > > > ------------------------------------------------------------------------------ > 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