On Mon, Jan 26, 2009 at 08:10:39PM -0800, Mark Donohoe wrote:
> Vazquez, Jose SPAWAR wrote:
> > Mark,
> > 
> >I'm not sure if you're the right person to ask this question but you 
> >helped me back in August.  I'm hoping that you would at least now 
> >who's the right person to ask.  I had already installing version 1.0 
> >on Ubuntu 8.04 in another machine without problems.
> > 
> >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*

pkgmetagetta has dependencies on libextractor.
It looks like these dependencies are missing.  (First "FATAL" line.)
If you run by hand '/usr/local/lib/fossology/agents/pkgmetagetta -i', you
should see the same error.


> >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.*

That's the self-test making sure everything is consistent.
By commenting out the line, you introduced an inconsistency.

I'm guessing that you have at least one server and one agent system.
If you comment it out on one system, then you must comment it out the
exact same way on every system. Otherwise, the systems are inconsistent.


> >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.*

Because pkgmetageta -i failed to run, the install aborted.
Further down the install (after running the -i), the install code creates
the License.bsam file.  Since the install failed, you are missing this file.


> >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.

Install the pkgmetageta dependencies (libextractor) and you should be
able to re-run the install successfully.

If you want, you can install libextractor first, then run 'pkgmetageta -i'
manually.  If all dependencies load, then it should complete without any
problems.  (You must be in group 'fossy' to run it.)

                                        -Neal

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

Reply via email to