Deol, Gurbax wrote:
Gurbax,
hmm, somehow, either postgresql got removed or is not running. To start it:
sudo /etc/init.d/postgresql start
if it got removed:
8.3: sudo apt-get install postgresql-8.3 postgresql-server-dev-8.3
8.4: sudo apt-get install postgresql-8.4 postgresql-server-dev-8.4
If the install does not start postgres (it should), then start it as
described above.
If you do reinstall postgres, then please remember to configure it as
described in the INSTALL file, or fossology will not come up. After
configure, you have to restart postgres.
Hope that helps.
Mary, Mark,
We removed fossology with sudo apt-get remove fossology, then also ran the sudo
apt-get autoremove command to clean up.
Now after following the instructions for install of 1.2.1 version, we are
getting the following error message:
*** Running postinstall for everything ***
*** Setting up the FOSSology database ***
bash: psql: command not found
ERROR: postgresql isn't running
*** 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 ***
ERROR: Unable to connect to the database
Connection string: 'dbname=fossology host=localhost user=fossy password=fossy'
Connection status: '1'
ERROR: Failed to open database
ERROR: unable to connect to database, please check
/usr/local/etc/fossology/Db.conf
We did look at the Db.conf file, it seems to have the correct info in it.
Regards,
-gurbax / william
--
Mark Donohoe
OS&T, Cupertino CA.
fossology.org
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology