Hi,<br><br>I recently installed Bond/Bonddb 3.1.3 on my Linux box a few days ago (Ubuntu 10.04 64-bit, PostgreSQL 8.4) and I am attempting to run a Bond script that I designed while I was using OpenSuSE 11.1. When I run the script I get the following output:<br>
<br>-----------------------<br><br>~/projects/database/frontend$ bondfrontend<br>Reading configuration file: bondfrontend.conf.<br>Shared configuration file not found: shell.conf<br>================================================================================<br>
================================================================================<br>Checking UI library: /usr/local/lib/libbond_uigtk.so<br>Loading gtk+-2.0 user interface library.<br>UI plugin /usr/local/lib/libbond_uigtk.so successfully loaded.<br>
User interface is now initialised.<br>Connecting to database: dbname=fmrd_test connect_timeout=5 user=howard host=localhost<br>Checking library: /usr/local/lib/libbonddb2_pgsql.so for pgsql<br>Library /usr/local/lib/libbonddb2_pgsql.so successfully loaded.<br>
Loaded library: /usr/local/lib/libbonddb2_pgsql.so<br>Error: bonddb/bonddbinit.c: 295: bonddb_init(): Connection to database failed with dbname=fmrd_test connect_timeout=5 user=howard host=localhost argument.<br>fe_sendauth: no password supplied<br>
<br><br>(bondfrontend:8921): GLib-CRITICAL **: g_hash_table_destroy: assertion `hash_table != NULL' failed<br><br>-----------------------<br><br>I am not sure why Bond if failing to connect with the database. I am almost certain that I have the settings of PostgreSQL correct because I was able to execute my Perl script that set up the fmrd_test database with just my username as an input. Here are the settings of my pg_hba.conf file:<br>
<br>-----------------------<br><br># Database administrative login by UNIX sockets<br>local all postgres ident<br><br># TYPE DATABASE USER CIDR-ADDRESS METHOD<br><br>
# "local" is for Unix domain socket connections only<br>local all all trust <br># IPv4 local connections:<br>host all all <a href="http://127.0.0.1/32">127.0.0.1/32</a> trust <br>
# IPv6 local connections:<br>host all all ::1/128 md5<br><br>------------------------<br><br>Am I missing something here? I used Perl on my old OpenSuSE distribution and it eventually worked without having to tweak the Postgres settings; I am at a loss as to why it's no longer working on my new Ubuntu distribution.<br>
<br>Thanks in advance.<br><br>Howard<br>