Additional information on another installation attempt with fossology 1.2.1 on 
Ubuntu 10.04.

I see another error on another Ubuntu build machine (Ubuntu 10.04).  The 
following error is seen (from the attached po.out file).

ERROR: DBaccess(7): ERROR:  column "agent_id" does not exist
LINE 1: SELECT agent_id FROM agent WHERE agent_name ='delagent' ORDE...
               ^

ERROR: unable to access the database
LOG: unable to select 'delagent' from the database table 'agent'
FATAL: '/usr/lib/fossology/agents/delagent -i' failed to initialize
*** Setting up scheduler ***
*** Checking Scheduler.conf ***
NOTE: /etc/fossology/Scheduler.conf already exists,
  consider checking it or recreating with mkschedconf. 


Thanks & Regards,

William 

________________________________

William Causey

Texas Instruments

Voice 214 567 2339  

Cell: 214 803 8829


-----Original Message-----
From: Causey, William 
Sent: Thursday, October 21, 2010 1:57 PM
To: [email protected]; Deol, Gurbax
Cc: Laser, Mary; [email protected]
Subject: RE: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) 
machine

OK we have removed the database and have installed postgresql-8.3 and it 
started OK.
So when we run the fo-postinstall we get the following error at the end:

*** Initializing database tables ***
/usr/local/lib/fossology/fo-postinstall: /usr/local/bin/fossinit: /usr/bin/php: 
bad interpreter: No such file or directory
ERROR: Unable to initialize.

Thanks & Regards,
William Causey
Cell: (214) 803-8829
________________________________________
From: Mark Donohoe [[email protected]]
Sent: Wednesday, October 20, 2010 5:03 PM
To: Deol, Gurbax
Cc: Laser, Mary; Causey, William; [email protected]
Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) 
machine

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

Attachment: po.out
Description: po.out

_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to