This usually is a symptom of a mis-configured postgres file; typically 
/etc/postgresql/8.3/main/pg_hba.conf
Look in the postgres log file (/var/log/postgresql/postgresql-8.3-main.log) for 
additional clues to your error.

Mary


From: fossology-boun...@fossology.org [mailto:fossology-boun...@fossology.org] 
On Behalf Of Dave McLoughlin
Sent: Thursday, July 07, 2011 3:46 PM
To: fossology@fossology.org
Subject: [FOSSology] Database connection error


I'm running into a problem with a database connection error after install of 
1.4.1 on Ubuntu 1.4.1.

When I re-ran fo-postinstall to make sure everything was okay I got:

*** Running postinstall for everything ***
*** Setting up the FOSSology database ***
NOTE: fossology database already exists, not creating
*** Checking for plpgsql support ***
NOTE: plpgsql already exists in fossology database, good
*** Creating user and group ***
NOTE: group 'fossy' already exists, good.
NOTE: user 'fossy' already exists, good.
*** Making sure needed dirs exist with right ownership/permissions ***
NOTE: Repository already exists at /srv/fossology/repository
NOTE: /srv/fossology/repository/localhost directory already exists
*** Checking database connectivity ***
NOTE: Connect succeeded, database is working.


But my fossology.log shows
2011-07-07 13:30:49 scheduler[1030] : FATAL: fo_watchdog unable to connect to 
database.  Terminating.
2011-07-07 13:34:30 scheduler[2408] : Log opened
2011-07-07 13:34:30 scheduler[2408] : Scheduler kill requested.  Killing 
scheduler.

Also trying psql I get:
$ psql -d fossology -U fossy
psql: FATAL:  Ident authentication failed for user "fossy"

Any ideas?

Dave

Any ideas?

_______________________________________________
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology

Reply via email to