[FOSSology] Fossology error in syslog

2009-03-03 Thread Dave McLoughlin
Today I was running a license scan with Fossology 1.0 when my Apache
server stopped unexpectedly.  I started looking around in my logs to see
if I could figure out what caused it and found this in my syslog right
around the time of the crash:

 

Mar  3 11:39:01 engsrv3 cron[6236]: Error: bad username; while reading
/etc/cron.d/Fossology

 

Here are the contents of /etc/cron.d/Fossology:

 

# this cron should be run daily by user postgres for fossology database

#

# Copyright (C) 2007 Hewlett-Packard Development Company, L.P.

 

#

# cluster

0 0 * * * if [ -x /usr/bin/clusterdb ]; then /usr/bin/clusterdb
--username postgres fossology >/dev/null; fi

#

# Run VACUUM ANALYSE on all databases every 5 hours if pg_autovacuum is
not

# running

0 3 * * * if [ -x /usr/sbin/pg_maintenance ]; then
/usr/sbin/pg_maintenance --full --analyze >/dev/null; fi

 

I saw it a few more times after that as well:

 

Mar  3 11:39:01 engsrv3 cron[6236]: Error: bad username; while reading
/etc/cron.d/fossology

Mar  3 11:42:01 engsrv3 cron[6236]: Error: bad username; while reading
/etc/cron.d/fossology

Mar  3 11:49:01 engsrv3 cron[6236]: Error: bad username; while reading
/etc/cron.d/fossology

Mar  3 11:51:01 engsrv3 cron[6236]: Error: bad username; while reading
/etc/cron.d/Fossology

 

Two questions:  1) could this be related to my Apache crash in anyway?
2) what does this mean?

 

I'm running on Ubuntu 8.04.2 (Hardy)  64bit. 

 

Thanks,

 


Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  |  phone
303 818 1686  |  cell 
720 240 4556  |  fax
@OpenLogic|  twitter
1 888 OpenLogic  |  toll free
www.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

  <http://www.openlogic.com> 

 

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


[FOSSology] filter_license job failing

2009-09-03 Thread Dave McLoughlin
I just recently did a clean install of v1.1 on Ubuntu.  I did some
license analysis on a couple files I uploaded "from url" and the
analysis completed fine.

 

Now I am trying to do some analysis on some files I uploaded "from
server" and the analysis keeps failing at the filter_license stage.

 

I'm attaching my log file from the point I restarted Fossology upto the
latest failure.

 

Please let me know if you can tell me why the job is failing.

 


Dave McLoughlin |  OpenLogic



 



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


Re: [FOSSology] filter_license job failing

2009-09-03 Thread Dave McLoughlin
Great, thanks for the info. Yes, I did see the stack smashing detected
in my stdout.  Unfortunately, I didn't realize it was related to my
issue.  I should have read it more carefully.

$ *** stack smashing detected ***:
/usr/local/lib/fossology/agents/Filter_License terminated 
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7effda8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7effd60]
/usr/local/lib/fossology/agents/Filter_License[0x804d38d]
/usr/local/lib/fossology/agents/Filter_License[0x804e1e3]
/usr/local/lib/fossology/agents/Filter_License[0x804b68c]
/usr/local/lib/fossology/agents/Filter_License[0x804d84a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e18775]
/usr/local/lib/fossology/agents/Filter_License[0x80498f1]
=== Memory map: 
08048000-08055000 r-xp  08:01 2778370
/usr/local/lib/fossology/agents/Filter_License
08055000-08056000 r--p c000 08:01 2778370
/usr/local/lib/fossology/agents/Filter_License
08056000-08057000 rw-p d000 08:01 2778370
/usr/local/lib/fossology/agents/Filter_License
08057000-0805a000 rw-p 08057000 00:00 0 
08d67000-08e5d000 rw-p 08d67000 00:00 0  [heap]

Etc...


I'll try your workaround.  Thanks, you saved me a bunch of time.


Dave McLoughlin |  OpenLogic

720 240 4530  |  phone
303 818 1686  |  cell 


-Original Message-
From: Dragoslav Mitrinovic [mailto:dr...@motorola.com] 
Sent: Thursday, September 03, 2009 1:02 PM
To: Dave McLoughlin
Cc: fossology@fossology.org
Subject: Re: [FOSSology] filter_license job failing

Dave,

I've reported similar issue in Ubuntu about a month ago, see thread
starting at this message: 
http://www.mail-archive.com/fossology@fossology.org/msg00545.html

You could confirm you are seeing the same issue by capturing the agent
stdout/stderr and seeing if Filter_License is crashing due to "stack
smashing". (I captured agent stderr/stdout by restarting fossology
service from shell command line.)

The last message in the thread contains my diagnosis of the likely
cause. What I did NOT report to the list was my workaround: I recompiled
Filter_License agent with stack smashing protection disabled, by adding 
"-fno-stack-protector" into CFLAGS_LOCAL in
agents/foss_license_agent/Filter_License/Makefile, and Filter_License
has been running fine ever since. 

Of course, your issue may be something totally different, in which case
someone more qualified than myself will have to help.

Best regards,
-Dragoslav



On Thu, 2009-09-03 at 11:56 -0600, Dave McLoughlin wrote:
> I just recently did a clean install of v1.1 on Ubuntu.  I did some
> license analysis on a couple files I uploaded "from url" and the
> analysis completed fine.
> 
>  
> 
> Now I am trying to do some analysis on some files I uploaded "from
> server" and the analysis keeps failing at the filter_license stage.
> 
>  
> 
> I'm attaching my log file from the point I restarted Fossology upto
> the latest failure.
> 
>  
> 
> Please let me know if you can tell me why the job is failing.
> 
>  
> 
> 
> Dave McLoughlin |  OpenLogic
> 
> 
> 
>  
> 
> 
> ___
> 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] filter_license job failing

2009-09-03 Thread Dave McLoughlin
Dan,

Is there any other information I can supply to help?  Let me know. 

BTW, I'm attaching the complete dump from my stdout in case you find it
useful.


Dave McLoughlin |  OpenLogic



-Original Message-
From: Dan Stangel [mailto:dan...@fossology.org] 
Sent: Thursday, September 03, 2009 2:36 PM
To: Dave McLoughlin; Dragoslav Mitrinovic
Cc: fossology@fossology.org
Subject: RE: [FOSSology] filter_license job failing

A workaround is nice, but we really ought to fix the stack overflow
issue
itself in filter_license, yes (assuming that is what's happening)?

Dan

-Original Message-
From: fossology-boun...@fossology.org
[mailto:fossology-boun...@fossology.org] On Behalf Of Dave McLoughlin
Sent: Thursday, September 03, 2009 1:14 PM
To: Dragoslav Mitrinovic
Cc: fossology@fossology.org
Subject: Re: [FOSSology] filter_license job failing

Great, thanks for the info. Yes, I did see the stack smashing detected
in my stdout.  Unfortunately, I didn't realize it was related to my
issue.  I should have read it more carefully.

$ *** stack smashing detected ***:
/usr/local/lib/fossology/agents/Filter_License terminated 
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7effda8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7effd60]
/usr/local/lib/fossology/agents/Filter_License[0x804d38d]
/usr/local/lib/fossology/agents/Filter_License[0x804e1e3]
/usr/local/lib/fossology/agents/Filter_License[0x804b68c]
/usr/local/lib/fossology/agents/Filter_License[0x804d84a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e18775]
/usr/local/lib/fossology/agents/Filter_License[0x80498f1]
=== Memory map: 
08048000-08055000 r-xp  08:01 2778370
/usr/local/lib/fossology/agents/Filter_License
08055000-08056000 r--p c000 08:01 2778370
/usr/local/lib/fossology/agents/Filter_License
08056000-08057000 rw-p d000 08:01 2778370
/usr/local/lib/fossology/agents/Filter_License
08057000-0805a000 rw-p 08057000 00:00 0 
08d67000-08e5d000 rw-p 08d67000 00:00 0  [heap]

Etc...


I'll try your workaround.  Thanks, you saved me a bunch of time.


Dave McLoughlin |  OpenLogic

720 240 4530  |  phone
303 818 1686  |  cell 


-Original Message-
From: Dragoslav Mitrinovic [mailto:dr...@motorola.com] 
Sent: Thursday, September 03, 2009 1:02 PM
To: Dave McLoughlin
Cc: fossology@fossology.org
Subject: Re: [FOSSology] filter_license job failing

Dave,

I've reported similar issue in Ubuntu about a month ago, see thread
starting at this message: 
http://www.mail-archive.com/fossology@fossology.org/msg00545.html

You could confirm you are seeing the same issue by capturing the agent
stdout/stderr and seeing if Filter_License is crashing due to "stack
smashing". (I captured agent stderr/stdout by restarting fossology
service from shell command line.)

The last message in the thread contains my diagnosis of the likely
cause. What I did NOT report to the list was my workaround: I recompiled
Filter_License agent with stack smashing protection disabled, by adding 
"-fno-stack-protector" into CFLAGS_LOCAL in
agents/foss_license_agent/Filter_License/Makefile, and Filter_License
has been running fine ever since. 

Of course, your issue may be something totally different, in which case
someone more qualified than myself will have to help.

Best regards,
-Dragoslav



On Thu, 2009-09-03 at 11:56 -0600, Dave McLoughlin wrote:
> I just recently did a clean install of v1.1 on Ubuntu.  I did some
> license analysis on a couple files I uploaded "from url" and the
> analysis completed fine.
> 
>  
> 
> Now I am trying to do some analysis on some files I uploaded "from
> server" and the analysis keeps failing at the filter_license stage.
> 
>  
> 
> I'm attaching my log file from the point I restarted Fossology upto
> the latest failure.
> 
>  
> 
> Please let me know if you can tell me why the job is failing.
> 
>  
> 
> 
> Dave McLoughlin |  OpenLogic
> 
> 
> 
>  
> 
> 
> ___
> fossology mailing list
> fossology@fossology.org
> http://fossology.org/mailman/listinfo/fossology

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




$ *** stack smashing detected ***: 
/usr/local/lib/fossology/agents/Filter_License terminated 
=== Backtrace: = 
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7effda8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7effd60]
/usr/local/lib/fossology/agents/Filter_License[0x804d38d]
/usr/local/lib/fossology/agents/Filter_License[0x804e1e3]
/usr/local/lib/fossology/agents/Filter_License[0x804b68c]
/usr/local/lib/fossology/agents/Filter_License[0x804d84a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e18775]
/u

[FOSSology] Deleting old unused files

2009-09-16 Thread Dave McLoughlin
I was uploading several gbytes of files from a server and made some
changes to my system that caused the copy to fail mid way.  So, I
deleted the agent and restarted the upload from scratch.  However, I can
see that a few gbytes of data got copied over to my Fossology server.
Where do those files live?  Can I go into my file system and delete the
unwanted files?

 


Dave McLoughlin |  OpenLogic

 

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


[FOSSology] Changing the repository in Fossology

2009-09-18 Thread Dave McLoughlin
Can I move a repository in Fossology after it has been created and
populated?  I was recently analyzing some source and ran out of disk
space on the partition where my repository is stored.  I'd like to know
if I can move the repository to a larger partition.

 


Dave McLoughlin |  

 

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


[FOSSology] sh: fossjobs: not found error

2009-09-21 Thread Dave McLoughlin
I just installed Fossology 1.1.0 on Ubuntu 9.04.  I had previously
installed it in the default location and it was running fine (after I
took care of the stack smashing issue).  I just did a fresh install from
source on a new system, but this time I put Fossology in a non-standard
location, i.e. I tried to install it in a volume labeled /audit.

 

I've been trying to run some license analysis from "server uploads", but
the agent keeps failing after a few minutes.  The logs aren't showing
any error messages.  Here's the last few lines of my log:

 

2009-09-21 13:28:01 scheduler[4999] : Child[13] 'agent=fosscp_agent
host=localhost ' state=SPAWNED(4) @ Mon Sep 21 13:28:01 2009
2009-09-21 13:28:01 scheduler[4999] : Child[13] 'agent=fosscp_agent
host=localhost ' state=READY(5) @ Mon Sep 21 13:28:01 2009
2009-09-21 13:28:01 scheduler[4999] : DEBUG[13]: Loading
/audit/openlogic/studio-1
2009-09-21 13:33:38 scheduler[4999] : DEBUG[13]: Uploading to folder:
Software Repository
2009-09-21 13:33:38 scheduler[4999] : DEBUG[13]: Uploading as 'Studio 1'
2009-09-21 13:33:38 scheduler[4999] : DEBUG[13]: Upload description:
'Studio 1'
2009-09-21 13:45:11 scheduler[4999] : Child[13] 'agent=fosscp_agent
host=localhost ' state=FREEING(2) @ Mon Sep 21 13:45:11 2009
2009-09-21 13:45:11 scheduler[4999] : Child[13] 'agent=fosscp_agent
host=localhost ' state=FREE(1) @ Mon Sep 21 13:45:11 2009
2009-09-21 13:45:22 scheduler[4999] : Child[14] 'agent=fo_notify
host=localhost ' state=SPAWNED(4) @ Mon Sep 21 13:45:22 2009
2009-09-21 13:45:22 scheduler[4999] : Child[14] 'agent=fo_notify
host=localhost ' state=READY(5) @ Mon Sep 21 13:45:22 2009
2009-09-21 13:46:23 scheduler[4999] : DEBUG[14]: Mail has been queued by
fo-notify
2009-09-21 14:01:32 scheduler[4999] : Child[14] 'agent=fo_notify
host=localhost ' state=FREEING(2) @ Mon Sep 21 14:01:32 2009
2009-09-21 14:01:32 scheduler[4999] : Child[14] 'agent=fo_notify
host=localhost ' state=FREE(1) @ Mon Sep 21 14:01:32 2009

 

 

 

But in the shell where I start Fossology from I keep seeing "sh:
fossjobs: not found".

 

Please let me know if you have any suggestions.

 

 

 


Dave McLoughlin |  OpenLogic



 

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


[FOSSology] '/cp2foss-4ac248402ea7c.tar' does not exist.

2009-09-29 Thread Dave McLoughlin
I was just trying to upload a directory for analysis with Fossology 1.0
on Ubuntu.  The upload failed with an error that the cp2foss does not
exist.

 

Here is an excerpt from the log:

 

 


Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  |  phone
303 818 1686  |  cell 
720 240 4556  |  fax
@OpenLogic|  twitter
1 888 OpenLogic  |  toll free
www.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

  <http://www.openlogic.com> 

 

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


[FOSSology] '/cp2foss-4ac248402ea7c.tar' does not exist.

2009-09-29 Thread Dave McLoughlin
I was just trying to upload a directory for analysis with Fossology 1.0
on Ubuntu.  The upload failed with an error that the cp2foss does not
exist.

 

Here is an excerpt from the log:

 

2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: Loading
/media/terra1/davem.temp/WF_JAVA_SERVER-5

2009-09-29 11:47:44 scheduler[32248] : FATAL: In thread 21:
'/cp2foss-4ac248402ea7c.tar' does not exist.

2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: FATAL:
'/cp2foss-4ac248402ea7c.tar' does not exist.

2009-09-29 11:47:44 scheduler[32248] : ERROR: In thread 21:  Shell
terminated

2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: ERROR: Shell
terminated

2009-09-29 11:47:44 scheduler[32248] : LOG: In thread 21:  Shell
terminated: Cmd

2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: LOG: Shell terminated:
Cmd

2009-09-29 11:47:44 scheduler[32248] : ERROR: Child[21] died prematurely
(was state RUNNING, signal was 0)

2009-09-29 11:47:44 scheduler[32248] :

Thread 21:

2009-09-29 11:47:44 scheduler[32248] :   PID:   32365

2009-09-29 11:47:44 scheduler[32248] :   Pipes: in=6->7 / out=9->8

2009-09-29 11:47:44 scheduler[32248] :   Attr:  'agent=fosscp_agent
host=localhost '

2009-09-29 11:47:44 scheduler[32248] :   Command:
'/usr/lib/fossology/agents/engine-shell fosscp_agent '/usr/bin/cp2foss
%{*}''

2009-09-29 11:47:44 scheduler[32248] :   Parm:  '-f "Software
Repository/info builders" -d "Server Java disk 5" -q agent_license /medi

a/terra1/davem.temp/WF_JAVA_SERVER-5

 

 

 

Is there a remedy for this situation ?

 

 


Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  |  phone
303 818 1686  |  cell 
720 240 4556  |  fax
@OpenLogic|  twitter
1 888 OpenLogic  |  toll free
www.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

  <http://www.openlogic.com> 

 

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


Re: [FOSSology] '/cp2foss-4ac248402ea7c.tar' does not exist.

2009-09-30 Thread Dave McLoughlin
Here is my /usr/share/fossology/php/pathinclude.php



Dave McLoughlin |  OpenLogic



-Original Message-
From: fossology-boun...@fossology.org
[mailto:fossology-boun...@fossology.org] On Behalf Of
fossology-requ...@fossology.org
Sent: Wednesday, September 30, 2009 7:29 AM
To: fossology@fossology.org
Subject: fossology Digest, Vol 23, Issue 32

Send fossology mailing list submissions to
fossology@fossology.org

To subscribe or unsubscribe via the World Wide Web, visit
http://fossology.org/mailman/listinfo/fossology
or, via email, send a message with subject or body 'help' to
fossology-requ...@fossology.org

You can reach the person managing the list at
fossology-ow...@fossology.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of fossology digest..."


Today's Topics:

   1. Re: '/cp2foss-4ac248402ea7c.tar' does not exist. (Mark Donohoe)
   2. Question on Agent Status (heinz.h.hi...@daimler.com)


--

Message: 1
Date: Tue, 29 Sep 2009 20:40:26 -0700path
From: Mark Donohoe 
Subject: Re: [FOSSology] '/cp2foss-4ac248402ea7c.tar' does not exist.
To: Dave McLoughlin 
Cc: fossology@fossology.org
Message-ID: <4ac2d32a.50...@hp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dave McLoughlin wrote:
>
> I was just trying to upload a directory for analysis with Fossology 
> 1.0 on Ubuntu.  The upload failed with an error that the cp2foss does 
> not exist.
>
>  
>
> Here is an excerpt from the log:
>
>  
>
> 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: Loading 
> /media/terra1/davem.temp/WF_JAVA_SERVER-5
>
> 2009-09-29 11:47:44 scheduler[32248] : FATAL: In thread 21:  
> '/cp2foss-4ac248402ea7c.tar' does not exist.
>
> 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: FATAL: 
> '/cp2foss-4ac248402ea7c.tar' does not exist.
>
> 2009-09-29 11:47:44 scheduler[32248] : ERROR: In thread 21:  Shell 
> terminated
>
> 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: ERROR: Shell
terminated
>
> 2009-09-29 11:47:44 scheduler[32248] : LOG: In thread 21:  Shell 
> terminated: Cmd
>
> 2009-09-29 11:47:44 scheduler[32248] : DEBUG[21]: LOG: Shell 
> terminated: Cmd
>
> 2009-09-29 11:47:44 scheduler[32248] : ERROR: Child[21] died 
> prematurely (was state RUNNING, signal was 0)
>
> 2009-09-29 11:47:44 scheduler[32248] :
>
> Thread 21:
>
> 2009-09-29 11:47:44 scheduler[32248] :   PID:   32365
>
> 2009-09-29 11:47:44 scheduler[32248] :   Pipes: in=6->7 / out=9->8
>
> 2009-09-29 11:47:44 scheduler[32248] :   Attr:  
> 'agent=fosscp_agent host=localhost '
>
> 2009-09-29 11:47:44 scheduler[32248] :   Command:   
> '/usr/lib/fossology/agents/engine-shell fosscp_agent '/usr/bin/cp2foss

> %{*}''
>
> 2009-09-29 11:47:44 scheduler[32248] :   Parm:  '-f "Software 
> Repository/info builders" -d "Server Java disk 5" -q agent_license
/medi
>
> a/terra1/davem.temp/WF_JAVA_SERVER-5
>
>  
>
>  
>
>  
>
> Is there a remedy for this situation ?
>
>  
>
>  
>
>
> *Dave McLoughlin** *|  OpenLogic
> dave.mclough...@openlogic.com <mailto:dave.mclough...@openlogic.com>
>
> 720 240 4530  |  phone
> 303 818 1686  |  cell
> 720 240 4556  |  fax
> @OpenLogic|  twitter
> 1 888 OpenLogic  |  toll free
> www.openlogic.com <http://www.openlogic.com>
>
> OpenLogic, Inc.
> Headquarters, Broomfield, Colorado 80021
>
> <http://www.openlogic.com>
>
>  
>
>

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

I'm sure we can solve it.  What is going on is that is the temp file 
created for the wget.  Is this the installation that has the changed 
paths for some items in Makefile.conf?  It's sorta interesting in that 
it looks like a debian package install.

The path to the temp file looks funny, is that really /? If so, that's a

strange setup as I don't think the fossy user (who would be creating 
this temp file...) has write permission in /.  Which would explain why 
it's not there.

We are finding here at fossology headquarters that ubuntu is not 
debian.  Well it is, but is just different enough to be causing us 
issues on it.  Don't get me wrong, I am running ubuntu on my laptop as I

type this... but the newer versions of ubuntu seem to be different 
enough from lenny that our users keep running into issues.

Can you give me more details of your

[FOSSology] Moving the repository

2010-11-03 Thread Dave McLoughlin
I have been off the mailing list for some time, so I apologize in advance if
this has already been answered.  What is the best way to move a repository
to a new system?  I installed Fossology on a different machine, did a
database dump and imported into the new install fine.  But I haven¹t had any
luck getting Fossology to see my repository that I moved to the new system.

Here are the steps I took:
1. installed Fossology on a new computer
2. dumped the original install database
3. imported the database dump into postgresql on the new computer (at this
point I was able to browse all my uploads)
4. tar¹ed up the repository directory
5. moved it to the new computer (I put it in a different location so I
updated my RepPath.conf file)
6. when I first moved the repository the user and group were set to root so
I updated it to be fossy:fossy

At this point when I go to view a file in fossology I get a message that the
file is not in the repository.

I¹m using localhost on both systems, so I didn¹t update my Hosts.conf.

Thanks,


-- 
Dave McLoughlin |  OpenLogic



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


[FOSSology] Install of 1.2.1

2010-11-15 Thread Dave McLoughlin

Hi folks,

I'm running into a few issue with installing (upgrading, I had 1.10 installed) 
Fossology 1.2.1 on Ubuntu and was hoping someone might be able to assist me.

issues:
1) fo-installdeps - I get an error that I have an Unknown or Unsupport version 
of Ubuntu.  I have Ubuntu 9.10 installed.  Here are the last few lines of the 
console:

The following packages were automatically installed and are no longer required:
  libstdc++6-4.3-dev linux-headers-2.6.28-15 g++-4.3 phonon
  libmysqlclient15off phonon-backend-gstreamer libmagick++1 libphonon4
  libkadm55 librsvg2-dev postgresql-8.3 linux-headers-2.6.28-15-generic
  qt4-qtconfig
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
ERROR: Unknown or Unsupported Ubuntu release

2) After the install I'm see the following in my browser when I navigate to 
http://localhost/repo/:

Warning: file_get_contents(/usr/local/etc/fossology/Db.conf) 
[function.file-get-contents]: failed to open stream: Permission denied in 
/usr/local/share/fossology/www/plugins/core-db.php on line 91

Warning: pg_pconnect() [function.pg-pconnect]: Unable to connect to PostgreSQL 
server: FATAL: database "www-data" does not exist in 
/usr/local/share/fossology/www/plugins/core-db.php on line 91

Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link 
resource in /usr/local/share/fossology/www/plugins/core-db.php on line 136

The user/group is set to root on those files.  Do they need to fossy/fossy?

Any assistance would be appreciated.

thanks

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


Re: [FOSSology] Install of 1.2.1

2010-11-15 Thread Dave McLoughlin
I¹m using the source.

dave


On 11/15/10 11:35 AM, "Mark Donohoe"  wrote:

> Dave,
> 
> Installing from source on 9.10 should work.  Did you use the packages or
> source?
> It appears you tried to upgrade from 1.1.0, which makes sense. I'll start
> looking into this.
> 
> 
> Dave McLoughlin wrote:
>>Install of 1.2.1
>>  
>> 
>> Hi folks,
>>  
>> I'm running into a few issue with installing (upgrading, I had 1.10
>> installed) Fossology 1.2.1 on Ubuntu and was hoping someone might be able to
>> assist me.
>>  
>> issues:
>> 1) fo-installdeps - I get an error that I have an Unknown or Unsupport
>> version of Ubuntu.  I have Ubuntu 9.10 installed.  Here are the last few
>> lines of the console:
>>  
>> The following packages were automatically installed and are no longer
>> required:
>>   libstdc++6-4.3-dev linux-headers-2.6.28-15 g++-4.3 phonon
>>   libmysqlclient15off phonon-backend-gstreamer libmagick++1 libphonon4
>>   libkadm55 librsvg2-dev postgresql-8.3 linux-headers-2.6.28-15-generic
>>   qt4-qtconfig
>> Use 'apt-get autoremove' to remove them.
>> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>> ERROR: Unknown or Unsupported Ubuntu release
>>  
>> 2) After the install I'm see the following in my browser when I navigate to
>> http://localhost/repo/:
>>  
>> Warning: file_get_contents(/usr/local/etc/fossology/Db.conf)
>> [function.file-get-contents]: failed to open stream: Permission denied in
>> /usr/local/share/fossology/www/plugins/core-db.php on line 91
>>  
>> Warning: pg_pconnect() [function.pg-pconnect]: Unable to connect to
>> PostgreSQL server: FATAL: database "www-data" does not exist in
>> /usr/local/share/fossology/www/plugins/core-db.php on line 91
>>  
>> Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link
>> resource in /usr/local/share/fossology/www/plugins/core-db.php on line 136
>>  
>> The user/group is set to root on those files.  Do they need to fossy/fossy?
>>  
>> Any assistance would be appreciated.
>>  
>> thanks
>>  
>>   
>>  
>> 
>> 
>> 
>> ___
>> fossology mailing list
>> fossology@fossology.org
>> http://fossology.org/mailman/listinfo/fossology
>>   
> 

-- 
Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  | phone
303 818 1686  | cell
720 240 4556  | fax
@OpenLogic| twitter
1 888 OpenLogic  | toll free
www.openlogic.com
olex.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

 

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


Re: [FOSSology] Install of 1.2.1

2010-11-15 Thread Dave McLoughlin
Thanks, that did it.  I assumed because I was upgrading the ³post install²
steps would have stuck from the previous install.  Oops.

Dave


On 11/15/10 12:28 PM, "Bob Gobeille"  wrote:

> 
> On Nov 15, 2010, at 11:02 AM, Dave McLoughlin wrote:
>> 2) After the install I'm see the following in my browser when I navigate to
>> http://localhost/repo/:
>> 
>> Warning: file_get_contents(/usr/local/etc/fossology/Db.conf)
>> [function.file-get-contents]: failed to open stream: Permission denied in
>> /usr/local/share/fossology/www/plugins/core-db.php on line 91
>> 
>> Warning: pg_pconnect() [function.pg-pconnect]: Unable to connect to
>> PostgreSQL server: FATAL: database "www-data" does not exist in
>> /usr/local/share/fossology/www/plugins/core-db.php on line 91
>> 
>> Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link
>> resource in /usr/local/share/fossology/www/plugins/core-db.php on line 136
>> 
>> The user/group is set to root on those files.  Do they need to fossy/fossy?
> Your web browser needs to have read access to them to the .conf files.
> Typically one would put www-data (or whatever your web server runs as) in the
> fossy group.  Then set your permissions:
> 
> -rw-rw 1 root fossy 62 2010-10-21 16:15 /usr/local/etc/fossology/Db.conf
> 
> I've attached the INSTALL doc if you want to know the details.
> 
> All the above "Warnings" (which should have been handled as fatal) are because
> your web server doesn't have read access to the files in
> /usr/local/etc/fossology.  fo_postinstall should have taken care of this.
> 
> Someone else will have to answer you about why you get the install errors.
> Did you try:
>   apt-get install fossology  (http://fossology.org/ubuntu)?
> 
> 
> 
> 
> 
> 
> Bob Gobeille
> 

-- 
Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  | phone
303 818 1686  | cell
720 240 4556  | fax
@OpenLogic| twitter
1 888 OpenLogic  | toll free
www.openlogic.com
olex.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

 

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


Re: [FOSSology] Announcing FOSSology 1.3.0 Release (Laser, Mary)

2011-01-19 Thread Dave McLoughlin
I believe I saw something in the mailing list about losing backwards
compatibility with 1.2 when 1.3 is released.  Is that true?

dave


On 1/19/11 12:00 PM, "fossology-requ...@fossology.org"
 wrote:

> Send fossology mailing list submissions to
> fossology@fossology.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://fossology.org/mailman/listinfo/fossology
> or, via email, send a message with subject or body 'help' to
> fossology-requ...@fossology.org
> 
> You can reach the person managing the list at
> fossology-ow...@fossology.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fossology digest..."
> 
> 
> Today's Topics:
> 
>1. Announcing FOSSology 1.3.0 Release (Laser, Mary)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 19 Jan 2011 18:24:26 +
> From: "Laser, Mary" 
> Subject: [FOSSology] Announcing FOSSology 1.3.0 Release
> To: "fossology@fossology.org" ,
> "fossology-de...@fossology.org" ,
> "workgr...@fossbazaar.org" 
> Message-ID:
> <90ac9a3eeb2e744898075fdfb65663446565f76...@gvw1158exb.americas.hpqcorp.net>
> 
> Content-Type: text/plain; charset="us-ascii"
> 
> The FOSSology Project is pleased to announce the release of FOSSology 1.3.0.
> 
> New in version 1.3.0:
> 1.   Groups.  Implemented user groups inside of fossology as an indirect but
> critical requirement for 1.3 because tagging (the real 1.3 requirement) is
> dependent on having groups to administer tag permissions.
> 2.   File Tagging.  The ability to attach a tag (short (max 32 character) tag,
> plus a long text) to a file or container.
> 3.   Copyright agent replaced. A quick experiment showed that we get better
> results with simple heuristics rather than the old agent based on naive Bayes.
> 4.   Fixed a cp2foss authentication bug that prevented bucket agent from
> getting scheduled.
> 5.   Improvements to unpack agent.
> 6.   Many bug fixes!
> 
> For more information on the FOSSology project and to download the software,
> please visit http://fossology.org/.
> 
> Please report bugs using our bug reporting system hosted by The Linux
> Foundation at http://bugs.linux-foundation.org/ OR, write to the fossology
> mailing list.
> 
> 
>   -- About FOSSology --
> 
>   FOSSology is a Free Open Source Software (FOSS) project built around an open
>   architecture for analyzing software. Existing modules include license
> analysis,
>   Copyright/Email/URL scanner, analysis of deb and rpm packages.  This open
>   source software tool analyzes a given set of software packages, and reports
> items
>   such as the software licenses used by these packages.
> 
>   More than simply reporting, "Package X uses license Y," the FOSSology tool
>   attempts to analyze every file within the package to determine its license.
> The
>   license report is thus an aggregate of all of the different licenses found
> to be
>   in use by a package. A single package may be labeled as "GPL" but contain
> files
>   that use other licenses (BSD, OSL, or any of the hundreds of other
> licenses). Even
>   if an exact license is unknown, the license may be identifiable by common
> license
>   phrases.
> 
>   The FOSSology Project started as an internal software development effort
> within
>   Hewlett Packard's Open Source and Linux Organization. The tool evolved over
>   several years at HP from a few simple shell scripts to the much more
> comprehensive
>   tool you see today.
> 
>   Enjoy!
>   The FOSSology team
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://fossology.org/pipermail/fossology/attachments/20110119/5fb7f7fd/attach
> ment-0001.htm>
> 
> --
> 
> ___
> fossology mailing list
> fossology@fossology.org
> http://fossology.org/mailman/listinfo/fossology
> 
> 
> End of fossology Digest, Vol 39, Issue 9
> 

-- 
Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  | phone
303 818 1686  | cell
720 240 4556  | fax
@OpenLogic| twitter
1 888 OpenLogic  | toll free
www.openlogic.com
olex.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

 

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


Re: [FOSSology] Announcing FOSSology 1.3.0 Release (Laser, Mary)

2011-01-20 Thread Dave McLoughlin
I found it.  Here¹s what I was referring to:

>From Mary Laser to the fossology mailing list on 11/12/10:

³Furthermore, there is NO upgrade path from bSAM results to nomos results.
Therefore, you MUST rerun license analysis on your uploads using the nomos
analyzer introduced in 1.2.0.²

Thanks,
-- 
Dave McLoughlin |  OpenLogic

 

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


Re: [FOSSology] Announcing FOSSology 1.3.0 Release (Laser, Mary)

2011-01-20 Thread Dave McLoughlin
I¹m not sure I understand what ³upgrade path from bsam results to nomos
results² means.

If I have some scans from 1.1 and I upgrade to 1.3, does it mean I won¹t be
able to view the old results unless I rescan them in 1.2 using nomos.

re: suggestions? I don¹t want to have to rescan everything I currently have
in Fossology that was done using bSam.  I would like to be able to at a
minimum still be able to see the old results.  When you remove the bSam
code, does that mean you also remove the ability to see any old data that
was originally scanned with bSam?

Thanks,

Dave


On 1/20/11 1:04 PM, "Bob Gobeille"  wrote:

> This is correct.  Since we get better and faster results with nomos, and bSAM
> is difficult to maintain, we no longer want to support it.  We don't want to
> migrate your data because it is potentially very time consuming to rescan all
> your uploads.   This would be especially wasteful if you are no longer
> interested in all of your previously scanned data.
> 
> We have been putting out messages about this for quite a while but have
> receive no feedback until your email arrived.   All the bsam code is still in
> 1.3 but it is no longer supported.  In the next release we would like to
> remove that code, which will orphan your bsam data.
> 
> Suggestions?
> 
> Bob Gobeille
> 
> 
> On Jan 20, 2011, at 12:20 PM, Dave McLoughlin wrote:
> 
>> I found it.  Here¹s what I was referring to:
>> 
>> From Mary Laser to the fossology mailing list on 11/12/10:
>> 
>> ³Furthermore, there is NO upgrade path from bSAM results to nomos results.
>> Therefore, you MUST rerun license analysis on your uploads using the nomos
>> analyzer introduced in 1.2.0.²
> 
> 

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


[FOSSology] Fossology on a Mac

2011-01-27 Thread Dave McLoughlin
Has anyone tried to install fossology on a Mac OS X system?  Just curious.

-- 
Dave McLoughlin |  OpenLogic

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


[FOSSology] Upgrade path for 1.3.0

2011-02-02 Thread Dave McLoughlin
Folks,

I¹m embarrassed to say I¹m still on 1.1.0, but am ready to go to 1.3.0  I
actually tested an install of 1.2.1 on a vm and didn¹t have any issues.  I
just put it on top of the 1.1.0 I had installed in the vm and it worked
fine, i.e. all the data from previous scans were still there and accessible.

When I got to 1.3.0 do I need to do an intermediate build/install of 1.2.0
first?  Or, can I go right to 1.3.0?  I would like to keep all the old scans
I have in 1.1.0.

Thanks,

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


Re: [FOSSology] Upgrade path for 1.3.0 (Mark Donohoe)

2011-02-03 Thread Dave McLoughlin
Mark,

Thanks for the update on 1.3.1.  I don't see needing bsam or the other
features you are removing going forward.  Thanks for keeping access to the
previously created bsam data, though.

This will definitely meet our needs.

Dave


On 2/3/11 12:00 PM, "fossology-requ...@fossology.org"
 wrote:

> Send fossology mailing list submissions to
> fossology@fossology.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://fossology.org/mailman/listinfo/fossology
> or, via email, send a message with subject or body 'help' to
> fossology-requ...@fossology.org
> 
> You can reach the person managing the list at
> fossology-ow...@fossology.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fossology digest..."
> 
> 
> Today's Topics:
> 
>1. Upgrade path for 1.3.0 (Dave McLoughlin)
>2. Re: Upgrade path for 1.3.0 (Mark Donohoe)
> 
> 
> ------
> 
> Message: 1
> Date: Wed, 02 Feb 2011 12:20:49 -0700
> From: Dave McLoughlin 
> Subject: [FOSSology] Upgrade path for 1.3.0
> To: "fossology@fossology.org" 
> Message-ID: 
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Folks,
> 
> I?m embarrassed to say I?m still on 1.1.0, but am ready to go to 1.3.0  I
> actually tested an install of 1.2.1 on a vm and didn?t have any issues.  I
> just put it on top of the 1.1.0 I had installed in the vm and it worked
> fine, i.e. all the data from previous scans were still there and accessible.
> 
> When I got to 1.3.0 do I need to do an intermediate build/install of 1.2.0
> first?  Or, can I go right to 1.3.0?  I would like to keep all the old scans
> I have in 1.1.0.
> 
> Thanks,
> 
> Dave
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://fossology.org/pipermail/fossology/attachments/20110202/214b6501/attach
> ment.html>
> 
> --
> 
> Message: 2
> Date: Wed, 02 Feb 2011 13:33:55 -0800
> From: Mark Donohoe 
> Subject: Re: [FOSSology] Upgrade path for 1.3.0
> To: fossology@fossology.org
> Message-ID: <4d49cdc3.2010...@hp.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 
> On 02/02/2011 11:20 AM, Dave McLoughlin wrote:
>> Folks,
>> 
>> I'm embarrassed to say I'm still on 1.1.0, but am ready to go to 1.3.0
>>  I actually tested an install of 1.2.1 on a vm and didn't have any
>> issues.  I just put it on top of the 1.1.0 I had installed in the vm
>> and it worked fine, i.e. all the data from previous scans were still
>> there and accessible.
>> 
>> When I got to 1.3.0 do I need to do an intermediate build/install of
>> 1.2.0 first?  Or, can I go right to 1.3.0?  I would like to keep all
>> the old scans I have in 1.1.0.
>> 
>> Thanks,
>> 
>> Dave
> Dave,
> We don't really support 'jumping' releases.  By that I mean that we have
> never tested it.  The safest way to upgrade to 1.3.0 would be to install
> (or build/install if installing from source) 1.2.1, not use it, and then
> upgrade to 1.3.0.  In this way you are sure to get all the db changes
> between the releases.  None of our releases ever remove user data from
> the DB.  That would be a serious defect.
> 
> As an FYI, for 1.3.1, bsam, license groups, license terms  and the Spec
> agent are being removed from the product.  We are keeping the ability to
> display bsam results, but no more basm analysis (agents) will be
> available after 1.3.0.  We believe this will meet your needs for the
> display of older basm results.  Does this meet your needs?
> 
> ---
> Mark Donohoe
> OSPO, HP
> FOSSology.org
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://fossology.org/pipermail/fossology/attachments/20110202/90bc1638/attach
> ment-0001.htm>
> 
> --
> 
> ___
> fossology mailing list
> fossology@fossology.org
> http://fossology.org/mailman/listinfo/fossology
> 
> 
> End of fossology Digest, Vol 40, Issue 3
> 

-- 
Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  | phone
303 818 1686  | cell
720 240 4556  | fax
@OpenLogic| twitter
1 888 OpenLogic  | toll free
www.openlogic.com
olex.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

 

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


[FOSSology] 1.3.0 Install issues

2011-02-08 Thread Dave McLoughlin

I completed the "upgrade" from 1.1 to 1.2.1 this morning and the install worked 
fine.  I was able to view all existing scans in my database.  And I ran a new 
sample scan and it worked fine.

I just attempted to "upgrade" to 1.3.0 and saw a few errors.  I was wondering 
if you can help me debug.

during the make install, I'm seeing:

make[2]: Entering directory `/home/dave/fossology-1.3.0/agents/copyright'
/usr/bin/install -D copyright /usr/local/lib/fossology/agents/
/usr/bin/install: cannot overwrite directory 
`/usr/local/lib/fossology/agents/copyright' with non-directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/dave/fossology-1.3.0/agents/copyright'
make[1]: *** [install-copyright] Error 2
make[1]: Leaving directory `/home/dave/fossology-1.3.0/agents'
make: *** [install-agents] Error 2

Then when I run the fossology-scheduler test it fails:

$ sudo /usr/local/lib/fossology/fossology-scheduler -t
Exec failure reason: Permission denied

*** StopScheduler DELETE from scheduler_status. Status ,  ***

Logs say: 

2011-02-08 12:06:05 scheduler[18844] : STATUS: 1 agents failed to initialize.
2011-02-08 12:06:05 scheduler[18844] : *** 1 agent failures.  Scheduler 
exiting. 


Any help would be appreciated.

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


Re: [FOSSology] 1.3.0 Install issues

2011-02-08 Thread Dave McLoughlin

Thanks, that was it.  I had updated and moved from Postgresql 8.3 to 8.4
(prior to doing the install of fossology 1.3.1).  I had to update my
postgresql.conf as well to match settings from the INSTALL instructions.
Everything is working fine now.

You may want to consider having the make install take care of that as a
feature enhancement for the future.

Thanks,

dave

On 2/8/11 1:24 PM, "Mary Laser"  wrote:

> Hi Dave,
> You will need to remove or rename the directory below to get around this
> error.
>  
> /usr/bin/install: cannot overwrite directory
> `/usr/local/lib/fossology/agents/copyright' with non-directory
> make[2]: *** [install] Error 1
>  
> Mary
>  
> 
> From: fossology-boun...@fossology.org [mailto:fossology-boun...@fossology.org]
> On Behalf Of Dave McLoughlin
> Sent: Tuesday, February 08, 2011 12:14 PM
> To: fossology@fossology.org
> Subject: [FOSSology] 1.3.0 Install issues
>  
>  
> I completed the "upgrade" from 1.1 to 1.2.1 this morning and the install
> worked fine.  I was able to view all existing scans in my database.  And I ran
> a new sample scan and it worked fine.
> 
> I just attempted to "upgrade" to 1.3.0 and saw a few errors.  I was wondering
> if you can help me debug.
> 
> during the make install, I'm seeing:
> 
> make[2]: Entering directory `/home/dave/fossology-1.3.0/agents/copyright'
> /usr/bin/install -D copyright /usr/local/lib/fossology/agents/
> /usr/bin/install: cannot overwrite directory
> `/usr/local/lib/fossology/agents/copyright' with non-directory
> make[2]: *** [install] Error 1
> make[2]: Leaving directory `/home/dave/fossology-1.3.0/agents/copyright'
> make[1]: *** [install-copyright] Error 2
> make[1]: Leaving directory `/home/dave/fossology-1.3.0/agents'
> make: *** [install-agents] Error 2
> 
> Then when I run the fossology-scheduler test it fails:
> 
> $ sudo /usr/local/lib/fossology/fossology-scheduler -t
> Exec failure reason: Permission denied
> 
> *** StopScheduler DELETE from scheduler_status. Status ,  ***
> 
> Logs say:
> 
> 2011-02-08 12:06:05 scheduler[18844] : STATUS: 1 agents failed to initialize.
> 2011-02-08 12:06:05 scheduler[18844] : *** 1 agent failures.  Scheduler
> exiting.
> 
> 
> Any help would be appreciated.
> 
> Dave 
> 

-- 
Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  | phone
303 818 1686  | cell
720 240 4556  | fax
@OpenLogic| twitter
1 888 OpenLogic  | toll free
www.openlogic.com
olex.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

 

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


[FOSSology] Copyright listed by file

2011-02-09 Thread Dave McLoughlin
I noticed that with the new Nomos license analysi there is an option get the
file list associated with the licenses.

How would I do that for the copyright/email/url info.  Can I write a sql
query and get that info?

Thanks,

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


[FOSSology] Bugs in Fossology 1.3.0

2011-02-11 Thread Dave McLoughlin
I¹m seeing a few issues in the latest version of Fossology and wanted to ask
you the best way to report the bugs and what info you need.

I have a scan that allows me to see the Nomos List but will only show a few
lines of the License Tree.  When I try to display the license tree it shows
the first 10 or 15 lines then the browser stops refreshing.  There are
hundreds of license matches in this scan, so the tree should be much larger.

And I have another scan that fails when trying to build the Nomos License
List.  It gives an error that says that there was a fatal error and that
some process took too long.  Sorry, I don¹t have the actual message, I can¹t
reproduce it each time.

And I¹m not seeing anything in the logs for either issue.

Can you give me advice for providing more info?  Perhaps I can delete the
scans and rescan to see if it fixes the issues.

Let me know.

-- 
Dave McLoughlin

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


[FOSSology] Session time out

2011-02-17 Thread Dave McLoughlin
Fossology logs me out after a few minutes.  Is there a way to configure it
so it doesn¹t time out and just leaves me logged in?

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


Re: [FOSSology] Session time out

2011-02-17 Thread Dave McLoughlin
That would work for me.

Thanks

Dave


On 2/17/11 8:41 AM, "Bob Gobeille"  wrote:

> Hi Dave,
> How about if I remove the time out check?I don't think that level of
> security is really needed for fossology.
> 
> Does anyone reading this have an opinion on the time out?
> 
> Bob Gobeille
> 
> 
> 
> On Feb 17, 2011, at 7:55 AM, Dave McLoughlin wrote:
> 
>> Fossology logs me out after a few minutes.  Is there a way to configure it so
>> it doesn¹t time out and just leaves me logged in?
> 

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


[FOSSology] 1.3.0 feedback

2011-02-18 Thread Dave McLoughlin
I was finally able to get my Nomos License list to display on the screen.  I
had to edit my php.ini max_execution_time.  Default is 90 seconds, I upped
it to 900 and I was able to get it to work.  The nomos list had over 106,000
files.  The problem was that the error didn't always display when it failed.
When it did show up again it said something like "Fatal error: max execution
time exceeded."  I'm surprised this message went to the browser and not to
the log files.  Must be another setting someplace else.

The approach that fossology took in regards to displaying the bsam "license
tree" results, was to feed the data as it became available, so you could see
partial results over time.  It looks like with the "nomos license list", you
run a script then pass the results to the browser after all data is
collected.  The prior approach seems better to me because you get a sense of
progress or status.  But with the nomos list approach, you don't really know
if it's working or not.  Does that make sense?

Also, one thing I really liked about the bsam license tree, was that it
included links in the data back to the file.  But the nomos list is just a
static list of files that you have to manually navigate to in order to
review the results.

-- 
Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

720 240 4530  | phone
303 818 1686  | cell
720 240 4556  | fax
@OpenLogic| twitter
1 888 OpenLogic  | toll free
www.openlogic.com
olex.openlogic.com

OpenLogic, Inc.
Headquarters, Broomfield, Colorado 80021

 

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


[FOSSology] Trying to build Fossology on Mac OS X

2011-06-20 Thread Dave McLoughlin
Finally getting around to trying to build fossology on Mac OS X.

I ran into this when trying to run make:
gcc scheduler.o spawn.o sockets.o agents.o hosts.o debug.o dberror.o
selftest.o logging.o lockfs.o sched_utils.o dbstatus.o dbq.o -I`pg_config
--includedir` -L`pg_config --libdir` -I../devel/libfossdb
-L../devel/libfossdb -lfossdb -I../devel/libfossrepo -L../devel/libfossrepo
-lfossrepo \
-lrt -lpq -DSVN_REV="\"1.4.0, exported\"" -g -O2 -Wall -o
fossology-scheduler
ld: library not found for -lrt

I dug around a little and found this: librt.a is the System V name of the
library containing the POSIX Advanced Realtime [RT} Option functions. The
specific function you are asking about is part of the [TMR] option. If Mac
OS X supported it, it would be in libSystem.B,dylib, not librt.a. The
function in question is not supported by Mac OS X.

Any insight would be appreciated.

Thanks,

Dave

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


[FOSSology] Deb install on Ubuntu

2011-07-07 Thread Dave McLoughlin
Up til now, I¹ve only installed fossology from source.  Yesterday I went to
do a clean install of the latest release 1.4.1 on Ubuntu 11.04.  So I
downloaded fossology_1.4.1_all.deb
(http://fossology.org/debian/ubuntu/maverick/fossology_1.4.1_all.deb).  I
double clicked on the package and it appears to have installed something.

How do I know what it installed, where it installed it and what I need to do
next to get fosslogy running?  Is there a README associated with the deb
package?

I checked top ­u fossy and it shows that it is running.  But when I go to
http://localhost/repo/, it appears Apache is not configured.  So, it appears
there are some additional steps I need to take to complete the install, I¹m
just not sure what they are.

Any assistance would be appreciated.

-- 
Dave McLoughlin |  OpenLogic


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


[FOSSology] Database connection error

2011-07-07 Thread Dave McLoughlin
I'm running into a problem with a database connection error after install of 
1.4.1 on Ubuntu 1.4.1.

When I re-ran fo-postinstall to make sure everything was okay I got:

*** Running postinstall for everything ***
*** Setting up the FOSSology database ***
NOTE: fossology database already exists, not creating
*** Checking for plpgsql support ***
NOTE: plpgsql already exists in fossology database, good
*** Creating user and group ***
NOTE: group 'fossy' already exists, good.
NOTE: user 'fossy' already exists, good.
*** Making sure needed dirs exist with right ownership/permissions ***
NOTE: Repository already exists at /srv/fossology/repository
NOTE: /srv/fossology/repository/localhost directory already exists
*** Checking database connectivity ***
NOTE: Connect succeeded, database is working.


But my fossology.log shows
2011-07-07 13:30:49 scheduler[1030] : FATAL: fo_watchdog unable to connect to 
database.  Terminating.
2011-07-07 13:34:30 scheduler[2408] : Log opened
2011-07-07 13:34:30 scheduler[2408] : Scheduler kill requested.  Killing 
scheduler.

Also trying psql I get:
$ psql -d fossology -U fossy
psql: FATAL:  Ident authentication failed for user "fossy"

Any ideas?

Dave

Any ideas?


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


Re: [FOSSology] Database connection error

2011-07-08 Thread Dave McLoughlin
Mary,

I should have included the postgresql logs yesterday.  Does this help pinpoint 
the issue? This is the last couple entries from the postgresql log:

2011-07-07 15:39:15 MDT [local] 4e162783.ccbLOG:  provided username (fossy) and 
authenticated username (user) don't match
2011-07-07 15:39:15 MDT [local] 4e162783.ccbFATAL:  Ident authentication failed 
for user "fossy"

thanks,

Dave


-Original Message-
From: Laser, Mary [mailto:mary.la...@hp.com]
Sent: Thu 7/7/2011 3:59 PM
To: Dave McLoughlin; fossology@fossology.org
Subject: RE: Database connection error
 
This usually is a symptom of a mis-configured postgres file; typically 
/etc/postgresql/8.3/main/pg_hba.conf

Look in the postgres log file (/var/log/postgresql/postgresql-8.3-main.log) for 
additional clues to your error.

 

Mary

 

 

From: fossology-boun...@fossology.org [mailto:fossology-boun...@fossology.org] 
On Behalf Of Dave McLoughlin
Sent: Thursday, July 07, 2011 3:46 PM
To: fossology@fossology.org
Subject: [FOSSology] Database connection error

 

I'm running into a problem with a database connection error after install of 
1.4.1 on Ubuntu 1.4.1.

When I re-ran fo-postinstall to make sure everything was okay I got:

*** Running postinstall for everything ***
*** Setting up the FOSSology database ***
NOTE: fossology database already exists, not creating
*** Checking for plpgsql support ***
NOTE: plpgsql already exists in fossology database, good
*** Creating user and group ***
NOTE: group 'fossy' already exists, good.
NOTE: user 'fossy' already exists, good.
*** Making sure needed dirs exist with right ownership/permissions ***
NOTE: Repository already exists at /srv/fossology/repository
NOTE: /srv/fossology/repository/localhost directory already exists
*** Checking database connectivity ***
NOTE: Connect succeeded, database is working.


But my fossology.log shows
2011-07-07 13:30:49 scheduler[1030] : FATAL: fo_watchdog unable to connect to 
database.  Terminating.
2011-07-07 13:34:30 scheduler[2408] : Log opened
2011-07-07 13:34:30 scheduler[2408] : Scheduler kill requested.  Killing 
scheduler.

Also trying psql I get:
$ psql -d fossology -U fossy
psql: FATAL:  Ident authentication failed for user "fossy"

Any ideas?

Dave

Any ideas?




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


Re: [FOSSology] Database connection error

2011-07-08 Thread Dave McLoughlin
Mark,

I double checked and the postgresql.conf file has the changes listed in the
INSTALL doc.  I've also made the other listed config changes.

I had tried to do a deb install first, but couldn't get it to work.  I have
Ubuntu 11.04 and it looks like the deb packages don't support that version
of the OS.  So I cleaned everything off and build it from source.  The
fo-installdeps did not work and gave an error message that said "Unsupported
version of Ubuntu."  So I manually installed the dependencies with Synaptic
package manager.

The pg_hba.conf is identical to the one I have on an older version of Ubuntu
where I have fossology 1.3.0 installed and running fine.

So I'm not sure where the problem is at this point.

Thanks,

Dave

> Message: 3
> Date: Thu, 07 Jul 2011 15:08:58 -0700
> From: Mark Donohoe 
> Subject: Re: [FOSSology] Database connection error
> To: fossology@fossology.org
> Message-ID: <4e162e7a.7060...@hp.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 
> Dave,
> 
> When doing a package install, the system prep is not much different that
> with a source install.  That is fossology doesn't want to just go change
> your php.ini files, or postgres files as part of the install.  So either
> before installing the packages or right after (stop the scheduler if you
> have installed packages).
> 
> 1. Configure kernal shmmax
> 2. configure php ini files in cli and apache areas of php
> 3. configure postgres
> 4. configure apache
> 5. restart both apache and postgres
> 
> This is explained in the INSTALL document in the sources. Hope that
> helps.  Until all of the above steps have been done, you may continue to
> have problems.  Hope that helps.
> 
> 
> On 07/07/2011 02:59 PM, Laser, Mary wrote:

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


Re: [FOSSology] License highlighting (Bob Gobeille)

2011-07-28 Thread Dave McLoughlin
I'll cast my vote, highlighting is very important to us.  We spend a lot of
time searching, scrolling and manually scanning contents to find a match
when there's no highlighting.

It's extremely painful when the contents are displayed across multiple
pages.

Dave


On 7/28/11 12:00 PM, "fossology-requ...@fossology.org"
 wrote:

> Send fossology mailing list submissions to
> fossology@fossology.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://fossology.org/mailman/listinfo/fossology
> or, via email, send a message with subject or body 'help' to
> fossology-requ...@fossology.org
> 
> You can reach the person managing the list at
> fossology-ow...@fossology.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fossology digest..."
> 
> 
> Today's Topics:
> 
>1. Re: License highlighting (Bob Gobeille)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 27 Jul 2011 12:05:56 -0600
> From: Bob Gobeille 
> Subject: Re: [FOSSology] License highlighting
> To: Mader Volker (AA-DGP/ESD2) 
> Cc: "fossology@fossology.org" 
> Message-ID: 
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello Volker,
> The database table license_file is where nomos records what license matched in
> what file.  There are columns for where in the file the match occurred, but
> they are not currently populated by nomos.
> 
> Would anyone else like to vote on how important highlighting the license match
> is?
> 
> Bob Gobeille
> 
> 
> On Jul 27, 2011, at 2:49 AM, Mader Volker (AA-DGP/ESD2) wrote:
> 
>> yes, this is exactly what would be most useful. I think it is very important
>> to understand why a license was detected esp. for deciding on false
>> positives. Certainly the signature match is the interesting information
>> there.
>> My plan: In combination with the tags feature to mark false positives or give
>> approval to special file/license pair... it can be used to manage the
>> findings more properly.
>>  
>> So of course from my perspective this is quite important compared to most
>> other items ;-)
>>  
>> Does nomos store the match information in the DB already? Could we "just" use
>> some query in the php to display it?
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
>  ment.html>
> 
> --
> 
> ___
> fossology mailing list
> fossology@fossology.org
> http://fossology.org/mailman/listinfo/fossology
> 
> 
> End of fossology Digest, Vol 45, Issue 13
> *

-- 

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


[FOSSology] Fo-installdeps unsupported Ubuntu release 11.04

2011-08-10 Thread Dave McLoughlin
I may have already reported this, so sorry in advance if this is redundant.

Fo-installdeps resports the following on Ubuntu 11.04

ERROR: Unknown or Unsupported Ubuntu release, please report to the mailing
list

Thanks,

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


[FOSSology] Ubuntu 11.04

2011-08-10 Thread Dave McLoughlin
Has anyone tried to install Fossology 1.4.0 on Ubuntu 11.04?

I ran into some problems a few weeks ago with some database issues and
haven¹t had time to get back to it until this week.  I just tried a fresh
install from source and got the following at the end of fo-postinstall
script:

*** Checking database connectivity ***
NOTE: Connect succeeded, database is working.
*** Initializing database tables ***
PHP Fatal error:  Call to undefined function pg_connect() in
/usr/local/share/fossology/www/common/common-db.php on line 51
ERROR: Unable to initialize.

Mary L had recommended I check out my postgresql config, probably still the
same issue.  I¹m just wondering if anyone has seen this and has been able to
solve it.

Thanks,

Dave

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