Neal and Matt,

To clarify, I got my own Virtual Machine(VM) which I use to test software 
before installing the software in the server.  I had never have any show 
stoppers installing any version of FOSSology in my VM.  Version 1.0 is 
currently installed and running.  The server is the one that had always had 
issues with libextractor.  Both are running Ubuntu 8.04.

I checked and 3 extractor packages were already installed: libextractor-dev, 
libextractor-plugins and libextractor1c2a, all with version 0.5.18a-2.  I went 
ahead and did a apt-get for the plugins to check if there was a newer version 
but I already had the latest version.  I can see that libextractor is installed 
in /usr/lib.

Is there any way to completely ignore the pkgmetagetta agent in the 
installation and execution of version 1.0?  Or do I have to go back to version 
0.9?

Thanks in advance.

Jose Vazquez
SSC-Pacific 55240



From: Dr. Neal Krawetz
Sent: Tue 1/27/2009 7:12 AM
To: Mark Donohoe
Cc: Vazquez, Jose SPAWAR; [email protected]
Subject: Re: [FOSSology] Issue installing FOSSology 1.0


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