Hi Mikko-Pekka, This issue has been reported and addressed. Please see the email thread discussion and fix here: http://fossology.org/pipermail/fossology/2010-August/001731.html
Mary From: [email protected] [mailto:[email protected]] On Behalf Of Mikko-Pekka Partanen Sent: Friday, September 10, 2010 1:39 AM To: Donohoe, Mark Cc: Martin von Willebrand; [email protected] Subject: Re: [FOSSology] Fossology Install Hi Mark, Thanks for the instruction regarding getting the copyright agent to work. It seems that the sudo /usr/local/lib/fossology/fossology-scheduler -t -L stdout is not able to fix the problem. Below is the relevant output. Any further ideas? (As a note, the installation path in our ubuntu 10.4 installation seems to be /usr/local/lib/fossology and not /usr/lib/fossology.) 2010-09-10 10:30:46 scheduler[9418] : Child[7] 'agent=copyright host=localhost ' state=SPAWNED(4) @ Fri Sep 10 10:30:46 2010 2010-09-10 10:30:47 scheduler[9418] : ERROR: In thread 7: Could not select table copyright. Database said: "relation "copyright" does not exist 2010-09-10 10:30:47 scheduler[9418] : DEBUG[7]: ERROR: Could not select table copyright. Database said: "relation "copyright" does not exist 2010-09-10 10:30:47 scheduler[9418] : DEBUG[7]: LINE 1: SELECT ct_pk FROM copyright LIMIT 1 2010-09-10 10:30:47 scheduler[9418] : DEBUG[7]: ^" 2010-09-10 10:30:47 scheduler[9418] : ERROR: In thread 7: sql=SELECT ct_pk FROM copyright LIMIT 1 2010-09-10 10:30:47 scheduler[9418] : DEBUG[7]: ERROR: sql=SELECT ct_pk FROM copyright LIMIT 1 2010-09-10 10:31:47 scheduler[9418] : ERROR: Child[7] failed to spawn after 61 seconds 2010-09-10 10:31:47 scheduler[9418] : ERROR: Child[7] failed command was: '/usr/local/lib/fossology/agents/copyright/run.py --model /usr/local/share/fossology/model.dat --agent' 2010-09-10 10:31:47 scheduler[9418] : Child[7] 'agent=copyright host=localhost ' state=SPAWNED(4) @ Fri Sep 10 10:31:47 2010 2010-09-10 10:31:47 scheduler[9418] : Child[7] 'agent=copyright host=localhost ' state=FREEING(2) @ Fri Sep 10 10:31:47 2010 2010-09-10 10:31:47 scheduler[9418] : Child[7] 'agent=copyright host=localhost ' state=FREE(1) @ Fri Sep 10 10:31:47 2010 2010-09-10 10:31:47 scheduler[9418] : FAILED: Could not run thread 7: /usr/local/lib/fossology/agents/copyright/run.py --model /usr/local/share/fossology/model.dat -agent Regards, Mikko-Pekka ________________________________ Lähettäjä: Mark Donohoe [mailto:[email protected]] Lähetetty: 20. elokuuta 2010 18:39 Vastaanottaja: Mikko-Pekka Partanen Kopio: [email protected]; Martin von Willebrand Aihe: Re: VS: [FOSSology] Fossology Install ZMikko-Pekka, This is interesting as I have not been able to reproduce this. Fo-postinstall completes with errors due to the package agent not finding libextractor. I have tried a fix for that and it didn't seem to work. I am really replying to say that you might be able to get the copyright agent working by doing the following: 1. stop the scheduler: sudo /etc/init.d/fossology stop 2. Run the scheduler in selftest mode: sudo /usr/lib/fossology/fossology-scheduler -t -L stdout. In the output you should see that copyright complains about the db table not being there and then says it will create it. 3. Restart the scheduler: sudo /etc/init.d/fossology start That might be your problem and that might fix it. Hope that helps. Mikko-Pekka Partanen wrote: Hi all, We have also been successful in installing and using Fossology 1.2 pr2 in Ubuntu 10.04. If it helps, here is a very brief outline of what we did: Installed fresh Ubuntu 10.04 desktop version; Checked-out Fossology source from svn site: "svn co https://fossology.svn.sourceforge.net/svnroot/fossology/tags/1.2.0~rc2/"<https://fossology.svn.sourceforge.net/svnroot/fossology/tags/1.2.0~rc2/>; Followed the install procedure described in file INSTALL, running all commands as sudo (did not adjust kernel shmmax) until fo-postinstall exited after some errors; Concluded that that the errors were related to PHP5, so we installed the following packages using apt-get install: php5, php5-pgsql, php-pear libapache2-mod-php5, php5-cli; Ran fo-postinstall again, started the scheduler with "/etc/init.d/Fossology start" and started using Fossology. Since then we have been using that installation. The copyright task does not finish, but I have understood that the issue is a known bug. Regards, Mikko-Pekka Partanen ________________________________ Lähettäjä: [email protected]<mailto:[email protected]> [mailto:[email protected]] Puolesta Mark Donohoe Lähetetty: 20. elokuuta 2010 0:53 Vastaanottaja: Deol, Gurbax Kopio: [email protected]<mailto:[email protected]> Aihe: Re: [FOSSology] Fossology Install Deol, Gurbax wrote: Mark, Thank you very much for all the support. It was nice talking to you. Let me know when are done with testing fossology install on 8.0.4 ubuntu. I will follow the same instructions. Thanks again. Regards, Gurbax Deol Gurbax, I have good news. FOSSology appears to be working fine on 8.04. We got some good comments on the mailing list for 10.04 and I'll be following up on those. In the mean time, lets' get you going on FOSSology 1.2.0 on 8.04. Here are the steps I followed: 1. Make sure my os was up to date: sudo apt-get update; sudo apt-get upgrade 2. Added the fossology repository into the sources.list file for apt: # FOSSology 1.2.0 deb http://fossology.org/debian/lenny-backports/1.2.0-1 ./ 3. Configured my system as per the INSTALL doc: - kernel - postgres - php - apache (use the path /usr/share/fossology/www instead of /usr/local/share) 4. update again: sudo apt-get update 5. Installed fossology: sudo apt-get install fossology, the packages cannot be authenticated... install them anyway. It should install just fine, create a scheduler.conf file for you and start the scheduler. By going to: http://<your-machine.domain>/repo/ you should see the fossology login screen. I'll be around on Friday till about 1pm. Please let me know how it goes. Best of luck with your work. -- Mark Donohoe OS&T, Cupertino CA. fossology.org -- Mark Donohoe OS&T, Cupertino CA. fossology.org Have you checked our renewed web pages, at www.hhpartners.fi<http://www.hhpartners.fi/>? ________________________________ Privileged and confidential information may be contained in this message. If you are not addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, kindly notify us by reply e-mail and delete this message immediately. Thank you.
_______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

