Hi Jonathan,
Since the error is occurring during database creation, we need to examine the 
PostgreSQL log file for clues - /var/log/postgres<ver>/postgresql.log.  If you 
don't see any useful information in there, please 1)  edit your postgresql.conf 
file to enable more verbose logging (log_min_messages = info, 
client_min_messages = log, log_min_error_statement = info); 2) restart the 
PostgreSQL server; 3) rerun fo-postinstall to generate the error again  3) 
re-examine the PostgreSQL log file.

Please send errors from the pg log file.

Thanks,
Mary

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Jonathan Parès
> Sent: Tuesday, August 04, 2009 5:26 AM
> To: [email protected]
> Subject: [FOSSology] Fossology installation troubles : ERROR: 
> Unable to initialize.
> 
> Dear all,
> 
> I am trying to install fossology 1.1.0 from the source code 
> on my system (Ubuntu 8.04), and I have a problem with the 
> automatic configuration post-installation script.
> 
> When I execute the fo-postinstall script I have this result :
> 
>  sudo /usr/local/lib/fossology/fo-postinstall
> *** 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.
> *** Initializing database tables ***
> Applying database schema
> ERROR: Unable to initialize.
> 
> 
> As mentioned inside the INSTALL text file, I have modified 
> the Apache, PHP and Postgresql config files.
> 
> For information you can find the different configuration 
> files of my system and for PHP and Postgresql. I mention too 
> that I can connect to the postgresql server successfully with 
> the postgres user. So I have no idea from where could come 
> from the problem. I have had a discussion on the Fossology 
> IRC channel with "vincent", and we didn't success to pass the 
> fo-postinstall step.
> 
> Relying on your help,
> 
> Best regards,
> 
> Jonathan
> 
> 
> 
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to