Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-03-04 Thread Jeff Sheltren

On 02/25/2010 06:47 AM, Ralph Siemsen wrote:

On Wed, Feb 24, 2010 at 10:07:44PM -0800, Furosh One wrote:


FATAL: Failed to load default extractor libraries.
FATAL: '/usr/lib/fossology/agents/pkgmetagetta -i' failed to initialize


I ran into this as well.  The libextractor package in RHEL/Fedora
have a long-standing bug that was only recently fixed.  However
the fix has not yet been released, it is just testing stage. See
   https://bugzilla.redhat.com/show_bug.cgi?id=452504


Ralph, can you verify that this libextractor update fixes the problem 
you had with FOSSology?  If so, I'll work on pushing it to EPEL.


-Jeff
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-03-04 Thread Ralph Siemsen
On Thu, Mar 04, 2010 at 09:41:42AM -0800, Jeff Sheltren wrote:

https://bugzilla.redhat.com/show_bug.cgi?id=452504
 
 Ralph, can you verify that this libextractor update fixes the
 problem you had with FOSSology?  If so, I'll work on pushing it to
 EPEL.

Yes, I tested it on F12 where it did indeed solve the problem.
I reported this as Anonymous Tester here:
https://admin.fedoraproject.org/updates/F11/FEDORA-2009-12138

-R
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-03-04 Thread Laser, Mary
Yes, it does fix the problem.  However, as Christian points out here: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531864#44, that may not be the 
best way to address this issue.  

He goes on to suggest additional steps to root cause the error.  I'm in the 
process of doing that now.  So far, I can report that the extract command seems 
to work fine.  So, now, I am digging deeper into how fossology use libextractor 
and, in particular, the search path expected by fossology.

Mary

 

 -Original Message-
 From: fossology-boun...@fossology.org 
 [mailto:fossology-boun...@fossology.org] On Behalf Of Ralph Siemsen
 Sent: Thursday, March 04, 2010 11:20 AM
 To: Jeff Sheltren
 Cc: fossology@fossology.org
 Subject: Re: [FOSSology] RHEL5 RPM 
 fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...
 
 On Thu, Mar 04, 2010 at 09:41:42AM -0800, Jeff Sheltren wrote:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=452504
  
  Ralph, can you verify that this libextractor update fixes 
 the problem 
  you had with FOSSology?  If so, I'll work on pushing it to EPEL.
 
 Yes, I tested it on F12 where it did indeed solve the problem.
 I reported this as Anonymous Tester here:
 https://admin.fedoraproject.org/updates/F11/FEDORA-2009-12138
 
 -R
 ___
 fossology mailing list
 fossology@fossology.org
 http://fossology.org/mailman/listinfo/fossology
 
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Gobeille, Robert
I realize you need libextractor to get fossology working, but I'm curious, do 
you actually need or use the (pkgmetagetta) agent?   That's the only agent that 
needs libextractor.  It's used to grab meta data from different files (like 
exif headers from jpg's, etc).   Fossology can display this data but we never 
wrote the ui to make it easy to search or combine for reports.  

So do you use the data from the pkgmetagetta agent, or are you just going 
through this because you need fossology to build?

I'm asking because I would like to know how much priority we should give to 
making our agents modular (so you don't have to build the ones you don't want). 
 Modular agents would also allow us to have a faster release cycle, and 
encourage others to write agents.

Thanks,
Bob Gobeille
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Ralph Siemsen
On Thu, Feb 25, 2010 at 04:20:23PM +, Gobeille, Robert wrote:
 
 So do you use the data from the pkgmetagetta agent, or are you just going 
 through this because you need fossology to build?

The issue is that the RPM (and perhaps .deb as well?) fails to fully
install, because of pkgmetagetta being called in the postinstall script.

If the script simply printed a warning and continued on, it would be
fine.  But right now you end up with an incomplete and non-functional
installation, since the script exits prematurely.

At least tht was my finding, I can't speak for the original poster.

-R
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Ralph Siemsen
On Thu, Feb 25, 2010 at 06:54:46PM +, Gobeille, Robert wrote:
 
 Thanks Ralph.  I understand why you are trying to do this.  I was probably
 unclear.  What I would like to know is if you ever use (i.e. ever look at the
 results from) the pkgmetagetta agent.

So far, no, but I am just getting my feet wet.  I did try running it
once, just to see what sort of info it would find, but I terminated it
after a few days of grinding away.

-Ralph
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Furosh One
 Couple of things I found trying to troubleshoot my issues:
1). The License.bsam agent isn't in there:
==
[r...@san-psip fossology_install]# ls /var/lib/fossology/agents/License.bsam
ls: /var/lib/fossology/agents/License.bsam: No such file or directory
2). pkgmetagetta is there, but starting it fails:
=
[r...@san-psip fossology_install]# ls /usr/lib/fossology/agents/
adj2nest delagent  filter_cleanlicinspect  pkgmetagetta
specagent  ununpack
bsam-engine  engine-shell  Filter_License  mimetypeselftest
sqlagent   wget_agent
[r...@san-psip fossology_install]# /usr/lib/fossology/agents/pkgmetagetta -i
FATAL: Failed to load default extractor libraries.
3).I did try to use the Path with installing rpm:
=
LD_LIBRARY_PATH=/usr/lib64/libextractor rpm -ivh
fossology-1.1.0-1.el5.x86_64.rpm
fails here:
snip, snip
FOSSology postinstall complete, but sure to complete the remaining
  steps in the INSTALL instructions.
Reloading httpd: [  OK  ]
error: %post(fossology-1.1.0-1.el5.x86_64) scriptlet failed, exit status 255
I'm thinking I should try to 'rpm -e fossology-1.1.0-1.el5
and see if 'yum install fossology' has any better luck...

I'm open to any other suggestions :0)

-Gibran


  Guys please any help with this one? You guys help so much but wanted to
 get this server setup before tomorrow. Working on  my own dime at home, and
 trying to finalize this to test this new server =/

  -Gibran

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Gobeille, Robert

On Feb 25, 2010, at 9:58 AM, Ralph Siemsen wrote:

 On Thu, Feb 25, 2010 at 04:20:23PM +, Gobeille, Robert wrote:
 
 So do you use the data from the pkgmetagetta agent, or are you just going 
 through this because you need fossology to build?
 
 The issue is that the RPM (and perhaps .deb as well?) fails to fully
 install, because of pkgmetagetta being called in the postinstall script.
 
 If the script simply printed a warning and continued on, it would be
 fine.  But right now you end up with an incomplete and non-functional
 installation, since the script exits prematurely.
 
 At least tht was my finding, I can't speak for the original poster.

Thanks Ralph.  I understand why you are trying to do this.  I was probably 
unclear.  What I would like to know is if you ever use (i.e. ever look at the 
results from) the pkgmetagetta agent.

Bob
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Laser, Mary

 
 The issue is that the RPM (and perhaps .deb as well?) fails 
 to fully install, because of pkgmetagetta being called in the 
 postinstall script.
 
 If the script simply printed a warning and continued on, it 
 would be fine.  But right now you end up with an incomplete 
 and non-functional installation, since the script exits prematurely.
 
 At least tht was my finding, I can't speak for the original poster.
 

That is correct.

Mary
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Furosh One
 Anyone know how to get around the License.bsam agent not being in
/var/lib/fossology/agents directory?

Can I download this from somewhere or copy it from my other machine (ubuntu
9.04) and place it on this server (rhel5 x86_64)? I would suspect not but
can't start fossology due to this error (so far). Usually I'll fix one error
and hope and pray not more come up.

Errors:
==
[r...@san-psip fossology_install]# /etc/init.d/fossology start
Starting FOSSology job scheduler: scheduler.
2010-02-25 15:52:12 scheduler[27881] : FATAL: Scheduler error:  Unable to
access license cache '/var/lib/fossology/agents/License.bsam'
2010-02-25 15:52:12 scheduler[27881] : FATAL: Self Test failed.
Inconsistent agent(s) detected.  Exiting.
[r...@san-psip fossology_install]# ls -l /var/lib/fossology/agents/
total 0
[r...@san-psip fossology_install]# ls -l
/var/lib/fossology/agents/License.bsam
ls: /var/lib/fossology/agents/License.bsam: No such file or directory
Please advise, pretty please =/

-Gibran
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Gobeille, Robert
Someone else can chime in on how to do this the official way (probably 
fo_postinstall), but you can also build it from source. 

fossology/agents/foss_license_agent/Licenses/mkselftestcache

Bob


On Feb 25, 2010, at 4:57 PM, Furosh One wrote:

 Anyone know how to get around the License.bsam agent not being in 
 /var/lib/fossology/agents directory?
  
 Can I download this from somewhere or copy it from my other machine (ubuntu 
 9.04) and place it on this server (rhel5 x86_64)? I would suspect not but 
 can't start fossology due to this error (so far). Usually I'll fix one error 
 and hope and pray not more come up.
  
 Errors:
 ==
 [r...@san-psip fossology_install]# /etc/init.d/fossology start
 Starting FOSSology job scheduler: scheduler.
 2010-02-25 15:52:12 scheduler[27881] : FATAL: Scheduler error:  Unable to 
 access license cache '/var/lib/fossology/agents/License.bsam'
 2010-02-25 15:52:12 scheduler[27881] : FATAL: Self Test failed.  Inconsistent 
 agent(s) detected.  Exiting.
 [r...@san-psip fossology_install]# ls -l /var/lib/fossology/agents/
 total 0
 [r...@san-psip fossology_install]# ls -l 
 /var/lib/fossology/agents/License.bsam
 ls: /var/lib/fossology/agents/License.bsam: No such file or directory
 Please advise, pretty please =/
  
 -Gibran

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Laser, Mary
You're right; you MUST have a generated License.bsam file to run fossology.  
Unfortunately, as Ralph pointed out earlier in this thread:

The issue is that the RPM (and perhaps .deb as well?) fails to fully install, 
because of pkgmetagetta being called in the postinstall script.

If the script simply printed a warning and continued on, it would be fine. But 
right now you end up with an incomplete and non-functional installation, since 
the script exits prematurely.

Because of the failure, the License.bsam fie was not generated.  The file is 
generated during fossinit.

please try running sudo /usr/bin/fossinit

Mary


From: Furosh One [mailto:fur...@gmail.com]
Sent: Thursday, February 25, 2010 4:57 PM
To: fossology@fossology.org
Cc: Gobeille, Robert; Laser, Mary
Subject: Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? 
Urgent please...

Anyone know how to get around the License.bsam agent not being in 
/var/lib/fossology/agents directory?

Can I download this from somewhere or copy it from my other machine (ubuntu 
9.04) and place it on this server (rhel5 x86_64)? I would suspect not but can't 
start fossology due to this error (so far). Usually I'll fix one error and hope 
and pray not more come up.

Errors:
==
[r...@san-psip fossology_install]# /etc/init.d/fossology start
Starting FOSSology job scheduler: scheduler.
2010-02-25 15:52:12 scheduler[27881] : FATAL: Scheduler error:  Unable to 
access license cache '/var/lib/fossology/agents/License.bsam'
2010-02-25 15:52:12 scheduler[27881] : FATAL: Self Test failed.  Inconsistent 
agent(s) detected.  Exiting.
[r...@san-psip fossology_install]# ls -l /var/lib/fossology/agents/
total 0
[r...@san-psip fossology_install]# ls -l /var/lib/fossology/agents/License.bsam
ls: /var/lib/fossology/agents/License.bsam: No such file or directory
Please advise, pretty please =/

-Gibran
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm broken? Urgent please...

2010-02-25 Thread Furosh One
Thanks but still hanging on pkmetagetta initialization with fossinit:

r...@san-psip fossology_install]# /usr/bin/fossinit
Applying database schema
  Applying database functions
  Migrating database records
  Removing obsolete views
  Removing obsolete columns
  Committing changes...
  Purging cached results
  Initializing new tables and columns
  Initializing plugins
  Initializing agents.
FATAL: Failed to load default extractor libraries.
FATAL: '/usr/lib/fossology/agents/pkgmetagetta -i' failed to initialize
After fighting with this all day and installing or verifying all
dependancies the only one I don't have installed currently is 'the sleuth
kit'. I tried building it but complaining about afflib-devel being needed.
(afflib-devel = 3.3.4 is needed by sleuthkit-3.0.0-1.x86_64)

Hopefully I can get around this but so far been beating my head with trying
to fix this. Do you think this is the cause or a show stopper?

-Gibran



On Thu, Feb 25, 2010 at 4:09 PM, Laser, Mary mary.la...@hp.com wrote:

  You're right; you MUST have a generated License.bsam file to run
 fossology.  Unfortunately, as Ralph pointed out earlier in this thread:

  The issue is that the RPM (and perhaps .deb as well?) fails to fully
 install, because of pkgmetagetta being called in the postinstall script.

 If the script simply printed a warning and continued on, it would be fine.
 But right now *you end up with an incomplete and non-functional
 installation, since the script exits prematurely*.

 Because of the failure, the License.bsam fie was not generated.  The file
 is generated during fossinit.

 please try running sudo /usr/bin/fossinit

 Mary

  --
 *From:* Furosh One [mailto:fur...@gmail.com]
 *Sent:* Thursday, February 25, 2010 4:57 PM
 *To:* fossology@fossology.org
 *Cc:* Gobeille, Robert; Laser, Mary
 *Subject:* Re: [FOSSology] RHEL5 RPM fossology-1.1.0-1.el5.x86_64.rpm
 broken? Urgent please...

Anyone know how to get around the License.bsam agent not being in
 /var/lib/fossology/agents directory?

 Can I download this from somewhere or copy it from my other machine (ubuntu
 9.04) and place it on this server (rhel5 x86_64)? I would suspect not but
 can't start fossology due to this error (so far). Usually I'll fix one error
 and hope and pray not more come up.

 Errors:
 ==
 [r...@san-psip fossology_install]# /etc/init.d/fossology start
 Starting FOSSology job scheduler: scheduler.
 2010-02-25 15:52:12 scheduler[27881] : FATAL: Scheduler error:  Unable to
 access license cache '/var/lib/fossology/agents/License.bsam'
 2010-02-25 15:52:12 scheduler[27881] : FATAL: Self Test failed.
 Inconsistent agent(s) detected.  Exiting.
 [r...@san-psip fossology_install]# ls -l /var/lib/fossology/agents/
 total 0
 [r...@san-psip fossology_install]# ls -l
 /var/lib/fossology/agents/License.bsam
 ls: /var/lib/fossology/agents/License.bsam: No such file or directory
 Please advise, pretty please =/

 -Gibran


___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology