In bconsole, any command that (I assume) would require the database, pauses for 30 seconds or so, then gives the error:
Could not open catalog database "bacula". postgresql.c:201 Unable to connect to PostgreSQL server. Database=bacula User=bacula It is probably not running or your password is incorrect. The database is running and my password is correct. If I schedule a job to run soon after I start the server, bconsole will work as expected once that jobs has run (and failed in my case). During the time bconsole is hanging, Bacula is trying to talk to the Postgres server, as I can see traffic with snoop. When I start bacula-dir, it successfully connects to the postgres database (as shown by Postgres): LOG: disconnection: session time: 0:00:00.13 user=bacula database=bacula host=192.168.120.10 port=55460 </opt/bacula/sbin> # ./bconsole Connecting to Director prod2:9101 1000 OK: prod2-dir Version: 2.2.0 (08 August 2007) Enter a period to cancel a command. *list media Automatically selected Catalog: MyCatalog Could not open catalog database "bacula". postgresql.c:201 Unable to connect to PostgreSQL server. Database=bacula User=bacula It is probably not running or your password is incorrect. *quit </opt/bacula/sbin> # grep dbname ../etc/bacula-dir.conf dbname = bacula; user = bacula; password = "password"; DB Address = 192.168.120.15 </opt/bacula/sbin> # /usr/local/pgsql/bin/psql -h 192.168.120.15 -U bacula bacula Password for user bacula: (copy and paste password here) Welcome to psql 8.1.5, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g or terminate with semicolon to execute query \q to quit bacula=> \q </opt/bacula/sbin> # This is running Bacula 2.2.0, compiled against PostgreSQL 8.1.5 libraries (same as the server) on Solaris 8 (both Bacula and Postgres). Anyone know what's going on here? Thanks, Chris ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users