See inline responses. Mary > -----Original Message----- > From: Landon Jurgens [mailto:[email protected]] > Sent: Monday, July 27, 2009 1:47 PM > To: Laser, Mary > Cc: [email protected] > Subject: RE: [FOSSology] Agent terminated prematurely > > Mary, > > I couldn't understand how to execute with the -L > option. (something like /etc/init.d/fossology restart -L?)
Stop the scheduler. (/etc/init.d/fossology stop) Edit the file /etc/default/fossology and add " -L <pathname-to-logfile>" Start the scheduler. (/etc/init.d/fossology start) Based on what you sent me below, it looks like you already have the error log enabled. > > I looked and found the error log. Here's What I got for the > last "event" > since it all occurred within the same minute. > 2009-07-27 01:13:02 scheduler[32191] : Child[13] > 'agent=specagent host=localhost ' state=SPAWNED(4) @ > Mon Jul 27 > 01:13:02 2009 > 2009-07-27 01:13:02 scheduler[32191] : Child[13] > 'agent=specagent host=localhost ' state=READY(5) @ Mon Jul 27 > 01:13:02 2009 > 2009-07-27 01:13:02 scheduler[32191] : ERROR: Child[13] died > prematurely (was state RUNNING, signal was 6) > 2009-07-27 01:13:02 scheduler[32191] : > Thread 13: > 2009-07-27 01:13:02 scheduler[32191] : PID: 32319 > 2009-07-27 01:13:02 scheduler[32191] : Pipes: in=7->8 / > out=10->9 > 2009-07-27 01:13:02 scheduler[32191] : Attr: > 'agent=specagent host=localhost ' > 2009-07-27 01:13:02 scheduler[32191] : Command: > '/usr/lib/fossology/agents/specagent' > 2009-07-27 01:13:02 scheduler[32191] : Parm: > 'akey="217746" > > a="1ABA3D7CC24E2B63FA06E5CE301F3E8391BF5E12.3D2E009EA8BA8B705A > 30FD265A389BAA.4076" > ' > 2009-07-27 01:13:02 scheduler[32191] : Heartbeat: > Mon Jul 27 > 01:13:02 2009 > 2009-07-27 01:13:02 scheduler[32191] : State: > Mon Jul 27 > 01:13:02 2009 > 2009-07-27 01:13:02 scheduler[32191] : Status: > 6 (RUNNING) > 2009-07-27 01:13:02 scheduler[32191] : Spawn: 3 at Mon > Jul 27 01:11:45 2009 > 2009-07-27 01:13:02 scheduler[32191] : DB: > 2009-07-27 01:13:02 scheduler[32191] : IsDB: 2 > 2009-07-27 01:13:02 scheduler[32191] : DBJobKey: 160 > 2009-07-27 01:13:02 scheduler[32191] : DBMSQrow: 0 > 2009-07-27 01:13:02 scheduler[32191] : DBagent: 22 > 2009-07-27 01:13:02 scheduler[32191] : Child[13] > 'agent=specagent host=localhost ' state=FREEING(2) @ > Mon Jul 27 > 01:13:02 2009 > 2009-07-27 01:13:02 scheduler[32191] : Child[13] > 'agent=specagent host=localhost ' state=FREE(1) @ Mon Jul 27 > 01:13:02 2009 Clearly, the dying agent is the specagent. If you are only interested in a license analysis, you can omit this part of the analysis by leaving it unchecked in the UI when you upload your file for analysis. > I updated my postgresql.conf file and restarted the fossology > agent and got a lot more in the log file (See attached). I The attached file was the fossology log NOT postgresql log. _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

