Installation - Part 2

Part 2: Bricolage is installed and can start the server but a can't connect error page appears rather than the login page. I recieve this error message from /var/log/apache-perl/error_log

Wed Nov 27 10:42:29 2002] [error] Can't call method "uri" on an undefined value at /usr/local/bricolage/data/obj/BRIC_UI/errors/500.mc line 31, line 3.

[Wed Nov 27 10:42:29 2002] [error] [client 127.0.0.1] Bric::Util::DBI -- /usr/local/share/perl/5.8.0/Bric/Util/DBI.pm -- 1314
Unable to connect to database

DBI->connect(dbname=bric) failed: FATAL 1: IDENT authentication failed for user "john" at /usr/local/share/perl/5.8.0/Bric/Util/DBI.pm line 1310

I receive no error messages from the postgres log. Might have to change the config to get it to give some debugging output.
What I ended up doing was after reading about the way bricolage authenticates with postgres (see here was changing the /etc/postgresql/pg_hba.conf so that it requires a password to authenticate. This involved commenting out

#host all 127.0.0.1 255.0.0.0 ident sameuser
#host all 0.0.0.0 0.0.0.0 reject

and changing

local all ident sameuser

to

local all crypt

I then restarted postgres
   $ sudo /etc/init.d/postgresql restart
and bricolage
   $ sudo bric_apachectl restart
and then opened the url http://debian:8102 and finally I was asked to log in to bricolage!!!!
To log in use username "admin" and password "change me now!" make sure that you include the spaces in the password.
To change the password click on admin in the left hand column then System then users. The user manager window should open in the main frame. In the search section of the window click on [All]. Then click on Edit in the Administrator row and you will be able to change the password and add any user details you need to.