Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-21 Thread Laser, Mary


> -Original Message-
> From: m...@lackof.org [mailto:m...@lackof.org] On Behalf Of Matt
> Taggart
> Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala
> (9.10) machine
> 
> I just
> edited a little to explain that just rebuilding the packages is enough
> if
> people want to do that until proper packages are available.
> 

Thanks Matt!

> > Also, we have not tried or tested fossology using postgresql 8.4,
> yet.  You
> >  can be the first :)
> 
> I use 8.4, it works fine. Maybe the fossology developers should try it
> :)

Good idea.  We'll plan to do that with the next development cycle (post-1.3).

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


Re: [FOSSology] how to contribute

2010-10-21 Thread Laser, Mary
Hi Wolfgang,
Just to be sure we fixed the right typos, please check the pages where you saw 
the errors.

Thanks,
Mary


> -Original Message-
> From: fossology-boun...@fossology.org [mailto:fossology-
> boun...@fossology.org] On Behalf Of Donohoe, Mark
> Sent: Thursday, October 21, 2010 2:04 PM
> To: Wolfgang Strunk
> Cc: fossology@fossology.org
> Subject: Re: [FOSSology] how to contribute
> 
> Wolfgang,
> 
> In a way you did contribute.  You let us know we had typos.  Please
> tell
> us where next time.  Another user reported the details and the wiki has
> been fixed.
> 
> Best of luck in your work.
> 
> Wolfgang Strunk wrote:
> > Unfortunately I did not intend to be ironic at all. I think I
> completely  made a fool of myeself. :-((
> >
> > Still, after reading through the whole "How to contribute" section, I
> don't have a clue how to provide changes to the install documentation.
> I found two typos in shell scripts which lead to command line errors.
> >
> >
> --
> Mark Donohoe
> OS&T, Cupertino CA.
> fossology.org
> 
> ___
> 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] how to contribute

2010-10-21 Thread Mike Mian
Hey Wolfgang - please don't feel bad, I only meant it in a friendly way,  I 
would hate to think what I'd type in German :).   - M

From: Wolfgang Strunk [mailto:fossol...@softwarearchitektur.de]
Sent: Thursday, October 21, 2010 11:58 AM
To: fossology@fossology.org
Cc: Mike Mian
Subject: Re: RE: [FOSSology] how to contribute

Unfortunately I did not intend to be ironic at all. I think I completely  made 
a fool of myeself. :-((

Still, after reading through the whole "How to contribute" section, I don't 
have a clue how to provide changes to the install documentation. I found two 
typos in shell scripts which lead to command line errors.


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


Re: [FOSSology] how to contribute

2010-10-21 Thread Mark Donohoe

Wolfgang,

In a way you did contribute.  You let us know we had typos.  Please tell 
us where next time.  Another user reported the details and the wiki has 
been fixed.


Best of luck in your work.

Wolfgang Strunk wrote:

Unfortunately I did not intend to be ironic at all. I think I completely  made 
a fool of myeself. :-((

Still, after reading through the whole "How to contribute" section, I don't 
have a clue how to provide changes to the install documentation. I found two typos in 
shell scripts which lead to command line errors.

  

--
Mark Donohoe
OS&T, Cupertino CA.
fossology.org

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


Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-21 Thread Causey, William
Additional information on another installation attempt with fossology 1.2.1 on 
Ubuntu 10.04.

I see another error on another Ubuntu build machine (Ubuntu 10.04).  The 
following error is seen (from the attached po.out file).

ERROR: DBaccess(7): ERROR:  column "agent_id" does not exist
LINE 1: SELECT agent_id FROM agent WHERE agent_name ='delagent' ORDE...
   ^

ERROR: unable to access the database
LOG: unable to select 'delagent' from the database table 'agent'
FATAL: '/usr/lib/fossology/agents/delagent -i' failed to initialize
*** Setting up scheduler ***
*** Checking Scheduler.conf ***
NOTE: /etc/fossology/Scheduler.conf already exists,
  consider checking it or recreating with mkschedconf. 


Thanks & Regards,

William 



William Causey

Texas Instruments

Voice 214 567 2339  

Cell: 214 803 8829


-Original Message-
From: Causey, William 
Sent: Thursday, October 21, 2010 1:57 PM
To: mark.dono...@hp.com; Deol, Gurbax
Cc: Laser, Mary; fossology@fossology.org
Subject: RE: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) 
machine

OK we have removed the database and have installed postgresql-8.3 and it 
started OK.
So when we run the fo-postinstall we get the following error at the end:

*** Initializing database tables ***
/usr/local/lib/fossology/fo-postinstall: /usr/local/bin/fossinit: /usr/bin/php: 
bad interpreter: No such file or directory
ERROR: Unable to initialize.

Thanks & Regards,
William Causey
Cell: (214) 803-8829

From: Mark Donohoe [mark.dono...@hp.com]
Sent: Wednesday, October 20, 2010 5:03 PM
To: Deol, Gurbax
Cc: Laser, Mary; Causey, William; fossology@fossology.org
Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) 
machine

Deol, Gurbax wrote:
Gurbax,

hmm, somehow, either postgresql got removed or is not running.  To start it:

sudo /etc/init.d/postgresql start

if it got removed:

8.3: sudo apt-get install postgresql-8.3 postgresql-server-dev-8.3
8.4: sudo apt-get install postgresql-8.4 postgresql-server-dev-8.4

If the install does not start postgres (it should), then start it as described 
above.

If you do reinstall postgres, then please remember to configure it as described 
in the INSTALL file, or fossology will not come up.  After configure, you have 
to restart postgres.

Hope that helps.


> Mary, Mark,
>
> We removed fossology with sudo apt-get remove fossology, then also ran the 
> sudo apt-get autoremove command to clean up.
>
> Now after following the instructions for install of 1.2.1 version, we are 
> getting the following error message:
>
> *** Running postinstall for everything ***
> *** Setting up the FOSSology database ***
> bash: psql: command not found
> ERROR: postgresql isn't running
> *** 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 ***
> ERROR: Unable to connect to the database
>   Connection string: 'dbname=fossology host=localhost user=fossy 
> password=fossy'
>   Connection status: '1'
> ERROR: Failed to open database
> ERROR: unable to connect to database, please check 
> /usr/local/etc/fossology/Db.conf
>
>
> We did look at the Db.conf file, it seems to have the correct info in it.
>
> Regards,
>
> -gurbax / william
>
--
Mark Donohoe
OS&T, Cupertino CA.
fossology.org



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


Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-21 Thread Causey, William
OK we have removed the database and have installed postgresql-8.3 and it 
started OK.
So when we run the fo-postinstall we get the following error at the end:

*** Initializing database tables ***
/usr/local/lib/fossology/fo-postinstall: /usr/local/bin/fossinit: /usr/bin/php: 
bad interpreter: No such file or directory
ERROR: Unable to initialize.

Thanks & Regards,
William Causey
Cell: (214) 803-8829

From: Mark Donohoe [mark.dono...@hp.com]
Sent: Wednesday, October 20, 2010 5:03 PM
To: Deol, Gurbax
Cc: Laser, Mary; Causey, William; fossology@fossology.org
Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) 
machine

Deol, Gurbax wrote:
Gurbax,

hmm, somehow, either postgresql got removed or is not running.  To start it:

sudo /etc/init.d/postgresql start

if it got removed:

8.3: sudo apt-get install postgresql-8.3 postgresql-server-dev-8.3
8.4: sudo apt-get install postgresql-8.4 postgresql-server-dev-8.4

If the install does not start postgres (it should), then start it as
described above.

If you do reinstall postgres, then please remember to configure it as
described in the INSTALL file, or fossology will not come up.  After
configure, you have to restart postgres.

Hope that helps.


> Mary, Mark,
>
> We removed fossology with sudo apt-get remove fossology, then also ran the 
> sudo apt-get autoremove command to clean up.
>
> Now after following the instructions for install of 1.2.1 version, we are 
> getting the following error message:
>
> *** Running postinstall for everything ***
> *** Setting up the FOSSology database ***
> bash: psql: command not found
> ERROR: postgresql isn't running
> *** 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 ***
> ERROR: Unable to connect to the database
>   Connection string: 'dbname=fossology host=localhost user=fossy 
> password=fossy'
>   Connection status: '1'
> ERROR: Failed to open database
> ERROR: unable to connect to database, please check 
> /usr/local/etc/fossology/Db.conf
>
>
> We did look at the Db.conf file, it seems to have the correct info in it.
>
> Regards,
>
> -gurbax / william
>
--
Mark Donohoe
OS&T, Cupertino CA.
fossology.org



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


Re: [FOSSology] how to contribute

2010-10-21 Thread Wolfgang Strunk
Unfortunately I did not intend to be ironic at all. I think I completely  made 
a fool of myeself. :-((

Still, after reading through the whole "How to contribute" section, I don't 
have a clue how to provide changes to the install documentation. I found two 
typos in shell scripts which lead to command line errors.

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


Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-21 Thread Causey, William
Hi Mary and Mark,

I see the following error when trying to upload a new package to be scanned, in 
fossology 1.2.1; after the upgrade.  The message is given below:

Upload failed for file fossology.tar.gz: ERROR: DBaccess(7): ERROR: column 
"agent_id" does not exist

Thanks & Regards,
William Causey
Cell: (214) 803-8829

From: Laser, Mary [mary.la...@hp.com]
Sent: Thursday, October 21, 2010 10:40 AM
To: Matt Taggart; Donohoe, Mark
Cc: Causey, William; fossology@fossology.org
Subject: RE: [FOSSology] Installing fossology on a Ubuntu karmic koala  (9.10) 
machine

Hi Matt,
Thanks for your clarifications and feedback.  It's always good to have 
different perspectives and explanations on the mailing list.  See more below...

> -Original Message-
> From: m...@lackof.org [mailto:m...@lackof.org] On Behalf Of Matt
> Taggart
> Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala
> (9.10) machine
>
> > Just in case it wasn't clear, if you want to remove source install
> files
> > the fo-cleanold  util can be used.
>
> I'm not sure what you were trying to say here, but to be clear: fo-
> cleanold
> is for removing upstream installs of fossology from the system. It
> won't
> remove your source tree(s) or package installs.
>

I have been using the term "source install" to refer to an installation done 
with the release source tarball available from sourceforge 
(http://sourceforge.net/projects/fossology/files/fossology/1.2.1/fossology-1.2.1.tar.gz/download).
  I will be more clear about this in the future.

> > Please let us know how this worked.  You are the first person trying
> to
> > upgrade from a  1.1.x release to a 1.2.1 release.
>
> But plenty have done 1.1.x to 1.2.0 right? There shouldn't be anything
> in
> 1.2.1 that would break that.

Correct.


Mary

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


Re: [FOSSology] how to contribute

2010-10-21 Thread Mike Mian
okay - this is ironic :) - M

From: fossology-boun...@fossology.org [mailto:fossology-boun...@fossology.org] 
On Behalf Of Wolfgang Strunk
Sent: Thursday, October 21, 2010 4:31 AM
To: fossology@fossology.org
Subject: [FOSSology] how to contribute

Hi,
I just stumpled accross some typos on the fossology website. Is there a way to 
contribute? Can I use my gnome or fossology mailing list account to log in?

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


Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-21 Thread Laser, Mary
Hi Matt,
Thanks for your clarifications and feedback.  It's always good to have 
different perspectives and explanations on the mailing list.  See more below...

> -Original Message-
> From: m...@lackof.org [mailto:m...@lackof.org] On Behalf Of Matt
> Taggart
> Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala
> (9.10) machine
> 
> > Just in case it wasn't clear, if you want to remove source install
> files
> > the fo-cleanold  util can be used.
> 
> I'm not sure what you were trying to say here, but to be clear: fo-
> cleanold
> is for removing upstream installs of fossology from the system. It
> won't
> remove your source tree(s) or package installs.
>

I have been using the term "source install" to refer to an installation done 
with the release source tarball available from sourceforge 
(http://sourceforge.net/projects/fossology/files/fossology/1.2.1/fossology-1.2.1.tar.gz/download).
  I will be more clear about this in the future.
 
> > Please let us know how this worked.  You are the first person trying
> to
> > upgrade from a  1.1.x release to a 1.2.1 release.
> 
> But plenty have done 1.1.x to 1.2.0 right? There shouldn't be anything
> in
> 1.2.1 that would break that.

Correct.


Mary

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


Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-21 Thread William Causey

Mary & Mark,

I am seeing the following error messages when running this command:

   fossology-shceduler -t -L stdout

I've attached the output file foss-scheduler2.out.  It seems the 4 
agents directory folder can't be found  in my fossology/agent folder.


   nomos: /usr/lib/fossology/agents/nomos
   buckets: /usr/lib/fossology/agents/buckets
   copyright: /usr/lib/fossology/agents/copyright/run.py --model
   /usr/share/fossology/model.dat --agent
   pkgagent: /usr/lib/fossology/agents/pkgagent

Here are the directories I see in my ../fossology/agent directory:

   adj2nest delagent   filter_cleanlicinspect 
   pkgmetagetta  specagentununpack
   bsam-engine  engine-shell  Filter_License  mimetypeselftest 
   sqlagentwget_agent



On 10/19/2010 01:41 PM, Mark Donohoe wrote:

William,

The instructions below should work just fine.  I just tried the 
apt-get remove on a system.  Here is what I found:


sudo apt-get remove fossology, only removed the fossology package.  As 
a second step I did a sudo apt-get autoremove to remove the rest of 
the fossology packages.  This worked just fine.  The existing 
fossology db is still there with all the data, just the package got 
removed.  Just what we wanted.


Just in case it wasn't clear, if you want to remove source install 
files the fo-cleanold  util can be used.  It's in the utils directory 
of the sources.  DO NOT use the --delete-everything option!  It will 
remove your DB.  Just run it with no options.


sudo utils/fo-cleanold.

Please let us know how this worked.  You are the first person trying 
to upgrade from a  1.1.x release to a 1.2.1 release.


Hope this helps.

Laser, Mary wrote:


Oops!  I meant to say “1.1.x” below (not 1.1.1)

*From:* fossology-boun...@fossology.org 
[mailto:fossology-boun...@fossology.org] *On Behalf Of *Laser, Mary

*Sent:* Tuesday, October 19, 2010 11:38 AM
*To:* Causey, William; Donohoe, Mark
*Cc:* fossology@fossology.org
*Subject:* Re: [FOSSology] Installing fossology on a Ubuntu karmic 
koala (9.10) machine


Hi William,

Yes, you can use the following procedure to upgrade from 1.1.1 to 
1.2.1 on Ubuntu:


1. Stop the scheduler & db server

a. sudo /etc/init.d/fossology stop

b. sudo /etc/init.d/postgresql stop

2. Remove the current install  (this will NOT remove the database or 
repository)


a. For package installs, use apt-get remove fossology

b. For source installs, use fo-cleanold from the source tree

3. Install FO 1.2.1 from sources using the steps outlined in the 
Ubuntu 10.04 install guide 
.


Mark - Please confirm or make corrections, as necessary.  If these 
instructions are correct, let’s post them to the website for future 
reference.


Mary




--
Mark Donohoe
OS&T, Cupertino CA.
fossology.org
   


--
Thanks&  Regards,
William

William Causey
Texas Instruments
Voice 214 567 2339
Cell: 214 803 8829

2010-10-21 09:06:15 scheduler[3157] : Scheduler started.  Build version: 
1.2.1~3507, exported.

2010-10-21 09:06:15 scheduler[3157] : *** Scheduler started, PID 3157  ***
2010-10-21 09:06:16 scheduler[3157] : Child[0] 'agent=wget host=localhost ' 
state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[1] 'agent=unpack host=localhost ' 
state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[2] 'agent=adj2nest host=localhost ' 
state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[3] 'agent=filter_license 
host=localhost ' state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[4] 'agent=license host=localhost ' 
state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[5] 'agent=nomos host=localhost ' 
state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[6] 'agent=buckets host=localhost ' 
state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[7] 'agent=copyright host=localhost 
' state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[8] 'agent=licinspect host=localhost 
' state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[9] 'agent=mimetype host=localhost ' 
state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[10] 'agent=specagent host=localhost 
' state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[11] 'agent=filter_clean 
host=localhost ' state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[12] 'agent=delagent host=localhost 
' state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[13] 'agent=sqlagent host=localhost 
' state=FREE(1) @ Thu Oct 21 09:06:16 2010
2010-10-21 09:06:16 scheduler[3157] : Child[14] 'agent=sqlagenthost 
host=localhost ' state=FREE(1) @ Th

Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-21 Thread Causey, William
Hi Mark and Mary,

So just an update on fossology upgrade form 1.1.x to 1.2.1.

I was working with Gurbax to get this running on her Ubuntu machine and hadn't 
attempted any upgrade on my machine until this morning.  I think last week I 
modified my sources.list to include updates from fossology - as listed on the 
fossology website: http://fossology.org/install#upgrading_from_fossology_1.2.0.

So today I ran Update Manager on my Ubuntu machine and the 1.2.1 version of 
fossology and updates to postgresql 8.4 updates was included along with many 
more updates.  So this ran which required an reboot and after starting 
postgresql and then starting fossology everything came up and worked without 
any problems except it seems the data from my previous scans where lost with 
the postgresql patches to 8.4.  I think it will be OK as I can rescan the 
packages I previously scanned.

The version of fossology installed is FOSSology version 1.2.1~3507.

Thanks & Regards,
William

William Causey
Texas Instruments
Voice 214 567 2339
Cell: 214 803 8829



From: Mark Donohoe [mailto:mark.dono...@hp.com]
Sent: Tuesday, October 19, 2010 1:42 PM
To: Laser, Mary
Cc: Causey, William; fossology@fossology.org
Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) 
machine

William,

The instructions below should work just fine.  I just tried the apt-get remove 
on a system.  Here is what I found:

sudo apt-get remove fossology, only removed the fossology package.  As a second 
step I did a sudo apt-get autoremove to remove the rest of the fossology 
packages.  This worked just fine.  The existing fossology db is still there 
with all the data, just the package got removed.  Just what we wanted.

Just in case it wasn't clear, if you want to remove source install files the 
fo-cleanold  util can be used.  It's in the utils directory of the sources.  DO 
NOT use the --delete-everything option!  It will remove your DB.  Just run it 
with no options.

sudo utils/fo-cleanold.

Please let us know how this worked.  You are the first person trying to upgrade 
from a  1.1.x release to a 1.2.1 release.

Hope this helps.

Laser, Mary wrote:
Oops!  I meant to say "1.1.x" below (not 1.1.1)
From: fossology-boun...@fossology.org 
[mailto:fossology-boun...@fossology.org] On Behalf Of Laser, Mary
Sent: Tuesday, October 19, 2010 11:38 AM
To: Causey, William; Donohoe, Mark
Cc: fossology@fossology.org
Subject: Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) 
machine
Hi William,
Yes, you can use the following procedure to upgrade from 1.1.1 to 1.2.1 on 
Ubuntu:

1.   Stop the scheduler & db server

a.   sudo /etc/init.d/fossology stop

b.  sudo /etc/init.d/postgresql stop

2.   Remove the current install  
(this will NOT remove the database or repository)

a.   For package installs, use 
apt-get remove fossology

b.  For source installs, use 
fo-cleanold from the source tree

3.   Install FO 1.2.1 from sources 
using the steps outlined in the Ubuntu 10.04 install 
guide.
Mark - Please confirm or make corrections, as necessary.  If these instructions 
are correct, let's post them to the website for future reference.
Mary



--
Mark Donohoe
OS&T, Cupertino CA.
fossology.org

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


[FOSSology] how to contribute

2010-10-21 Thread Wolfgang Strunk
Hi,
I just stumpled accross some typos on the fossology website. Is there a way to 
contribute? Can I use my gnome or fossology mailing list account to log in?

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