Here is my /usr/share/fossology/php/pathinclude.php
<?php
global $GlobalReady;
if (!isset($GlobalReady)) { exit; }
$BINDIR="/usr/bin";
$LIBDIR="/usr/lib";
$LIBEXECDIR="/usr/lib/fossology";
$INCLUDEDIR="/usr/include";
$MAN1DIR="/usr/share/man/man1";
$AGENTDIR="/usr/lib/fossology/agents";
$SYSCONFDIR="/etc";
$WEBDIR="/usr/share/fossology/www";
$PHPDIR="/usr/share/fossology/php";
$PROJECTSTATEDIR="/var/lib/fossology";
$PROJECT="fossology";
$DATADIR="/usr/share/fossology";
$VERSION="1.0.0";
$SVN_REV="exported";
?>Dave McLoughlin | OpenLogic -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Wednesday, September 30, 2009 7:29 AM To: [email protected] Subject: fossology Digest, Vol 23, Issue 32 Send fossology mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://fossology.org/mailman/listinfo/fossology or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of fossology digest..." Today's Topics: 1. Re: '/cp2foss-4ac248402ea7c.tar' does not exist. (Mark Donohoe) 2. Question on Agent Status ([email protected]) ---------------------------------------------------------------------- Message: 1 Date: Tue, 29 Sep 2009 20:40:26 -0700path From: Mark Donohoe <[email protected]> Subject: Re: [FOSSology] '/cp2foss-4ac248402ea7c.tar' does not exist. To: Dave McLoughlin <[email protected]> Cc: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dave McLoughlin wrote: > > I was just trying to upload a directory for analysis with Fossology > 1.0 on Ubuntu. The upload failed with an error that the cp2foss does > not exist. > > > > Here is an excerpt from the log: > > > > 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: Loading > /media/terra1/davem.temp/WF_JAVA_SERVER-5 > > 2009-09-29 11:47:44 scheduler[32248] : FATAL: In thread 21: > '/cp2foss-4ac248402ea7c.tar' does not exist. > > 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: FATAL: > '/cp2foss-4ac248402ea7c.tar' does not exist. > > 2009-09-29 11:47:44 scheduler[32248] : ERROR: In thread 21: Shell > terminated > > 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: ERROR: Shell terminated > > 2009-09-29 11:47:44 scheduler[32248] : LOG: In thread 21: Shell > terminated: Cmd > > 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: LOG: Shell > terminated: Cmd > > 2009-09-29 11:47:44 scheduler[32248] : ERROR: Child[21] died > prematurely (was state RUNNING, signal was 0) > > 2009-09-29 11:47:44 scheduler[32248] : > > Thread 21: > > 2009-09-29 11:47:44 scheduler[32248] : PID: 32365 > > 2009-09-29 11:47:44 scheduler[32248] : Pipes: in=6->7 / out=9->8 > > 2009-09-29 11:47:44 scheduler[32248] : Attr: > 'agent=fosscp_agent host=localhost ' > > 2009-09-29 11:47:44 scheduler[32248] : Command: > '/usr/lib/fossology/agents/engine-shell fosscp_agent '/usr/bin/cp2foss > %{*}'' > > 2009-09-29 11:47:44 scheduler[32248] : Parm: '-f "Software > Repository/info builders" -d "Server Java disk 5" -q agent_license /medi > > a/terra1/davem.temp/WF_JAVA_SERVER-5 > > > > > > > > Is there a remedy for this situation ? > > > > > > > *Dave McLoughlin** *| OpenLogic > [email protected] <mailto:[email protected]> > > 720 240 4530 | phone > 303 818 1686 | cell > 720 240 4556 | fax > @OpenLogic | twitter > 1 888 OpenLogic | toll free > www.openlogic.com <http://www.openlogic.com> > > OpenLogic, Inc. > Headquarters, Broomfield, Colorado 80021 > > <http://www.openlogic.com> > > > > ------------------------------------------------------------------------ > > _______________________________________________ > fossology mailing list > [email protected] > http://fossology.org/mailman/listinfo/fossology > Dave, I'm sure we can solve it. What is going on is that is the temp file created for the wget. Is this the installation that has the changed paths for some items in Makefile.conf? It's sorta interesting in that it looks like a debian package install. The path to the temp file looks funny, is that really /? If so, that's a strange setup as I don't think the fossy user (who would be creating this temp file...) has write permission in /. Which would explain why it's not there. We are finding here at fossology headquarters that ubuntu is not debian. Well it is, but is just different enough to be causing us issues on it. Don't get me wrong, I am running ubuntu on my laptop as I type this... but the newer versions of ubuntu seem to be different enough from lenny that our users keep running into issues. Can you give me more details of your setup? (paste in pathinclude.php?). Thanks for the help. Sorry about this. -- Mark Donohoe MOST/OSTT, Cupertino CA. fossology.org ------------------------------ Message: 2 Date: Wed, 30 Sep 2009 14:44:22 +0200 From: [email protected] Subject: [FOSSology] Question on Agent Status To: [email protected] Cc: [email protected] Message-ID: <of3e522477.15a24a72-onc1257641.0045781e-c1257641.00460...@dcx.dcx> Content-Type: text/plain; charset="us-ascii" Hello Mark, I have tried to update Fossology on lenny 1.1.0 (http://www.fossology.org/debian/lenny-backports/, please refer to attachment slide 2). It seems to work everything, but then I realized, that the agents (refer to attachment slide 3) are not running. I tried to restart the agents with "sudo /etc/init.d/fossology restart", but it did not help. A re-installation of fossology did not help either. Do you have any idea how I can start the system properly? And what goes wrong with the update? Regards, Heinz If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://fossology.org/pipermail/fossology/attachments/20090930/d2c6070f/ attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: Folie3.JPG.zip Type: application/zip Size: 26273 bytes Desc: not available URL: <http://fossology.org/pipermail/fossology/attachments/20090930/d2c6070f/ attachment.zip> -------------- next part -------------- A non-text attachment was scrubbed... Name: Folie2.JPG.zip Type: application/zip Size: 44194 bytes Desc: not available URL: <http://fossology.org/pipermail/fossology/attachments/20090930/d2c6070f/ attachment-0001.zip> ------------------------------ _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology End of fossology Digest, Vol 23, Issue 32 ***************************************** _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

