> > In this other machine (which is a remote machine so I'm not sure of 
> > the hardware), also running Ubuntu 8.04, the pkgmetagetta agents had 
> > never run because of the issue with the extractor library.  Since that 
> > agent is not really necessary for the license analysis, I used to 
> > simply comment out the pkgmetagetta line in Scheduler.conf.  While 
> > doing the installation for version 1.0, I ran fo-postinstall and got 
> > the following error:
> >  
> >   *FATAL: Failed to load default extractor libraries.*
> > *  FATAL: '/usr/local/lib/fossology/agents/pkgmetagetta -i' failed to 
> > initialize*

This is fossinit trying to initialize the agent. It runs every agent with 
-i, regardless of what is in Scheduler.conf.

I'm not sure if we'd want to not have it do that when running fossinit and 
somehow only run a certain set (like what was used in Scheduler.conf), if 
it's installed it should be able to be initialized properly. Maybe as part 
of initialization the agents should check if their needed dependencies are 
available? nealk what do you think?
 
> > I commented out the pkgmetagetta line and ran *fossology-scheduler -t* 
> > and didn't got any errors.  However when I tried to start the 
> > scheduler, the scheduler process died every time.  The *fossology.log* 
> > has the following error:
> >   *FATAL: Agent type 'pkgmetagetta' not in Scheduler.conf.*
> > *  FATAL: Inconsistent agent(s) detected.*

This is the self test agent complaining I think. Probably it should only be 
checking the agents that Scheduler.conf is configured to run.
nealk, what do you think?

> > If I add the pkgmetagetta line back in *Scheduler.conf* then the error 
> > is the following:
> >  
> >   *FATAL: Scheduler error:  Unable to access license cache 
> > '/var/local/lib/fossology/agents/License.bsam'*
> > *  FATAL: Inconsistent agent(s) detected.*

This is probably because fossinit (called by fo-postinstall) didn't 
complete properly and so License.bsam didn't get generated.

Maybe we should record init state somewhere and if fossinit never ran 
successfully then the scheduler should complain about that first.

> > That seems to indicate that the installation didn't finished.  My 
> > question is what do I have to do to install and run FOSSology 1.0 
> > without the pkgmetagetta agent?  Any help will be appreciated.
> 
> Jose,
> 
> Sorry, I'm buried in the middle of some things.  I have cc'ed the 
> fossology mailing list.  There are others who have just recently dealt 
> with your issue, I'm sure they will respond as soon as they can.
> 
> Mary? Matt?  Didn't we just see this?  I don't recall the solution.

I think the problem is probably a missing dependency on 
libextractor-plugins (We didn't see it in our testing because it was 
already installed. Eventually testing will be automated to run in a clean 
chroot in order to catch those sorts of runtime problems.) I just fixed 
that in SVN today but haven't made new packages available yet. For now what 
you need to do is

1) apt-get install libextractor-plugins
2) rerun fo-postinstall
3) run 'fossology-scheduler -t' to make sure all is well
4) start the scheduler

Reply to the list if you still have problems.

Thanks,

-- 
Matt Taggart
[email protected]


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

Reply via email to