[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


Re: [FOSSology] Deb install on Ubuntu

2011-07-07 Thread Laser, Mary
File locations are listed here: http://fossology.org/file_locations

The debian install instructions are here:  http://fossology.org/debian_install

Please refer to the INSTALL file for Apache Config.  
http://fossology.svn.sourceforge.net/viewvc/fossology/tags/1.4.0~rc7/INSTALL?revision=4199&view=markup

Mary


From: fossology-boun...@fossology.org [mailto:fossology-boun...@fossology.org] 
On Behalf Of Dave McLoughlin
Sent: Thursday, July 07, 2011 10:06 AM
To: fossology@fossology.org
Subject: [FOSSology] Deb install on Ubuntu

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


Re: [FOSSology] Deb install on Ubuntu

2011-07-07 Thread Bob Gobeille
Hi Mary, 
How is a user supposed to know this?  Was there instructions in the apt-get 
install?

Bob Gobeille

On Jul 7, 2011, at 10:20 AM, Laser, Mary wrote:

> File locations are listed here: http://fossology.org/file_locations
>  
> The debian install instructions are here:  http://fossology.org/debian_install
>  
> Please refer to the INSTALL file for Apache Config.  
> http://fossology.svn.sourceforge.net/viewvc/fossology/tags/1.4.0~rc7/INSTALL?revision=4199&view=markup
>  
> Mary
>  
>  
> From: fossology-boun...@fossology.org 
> [mailto:fossology-boun...@fossology.org] On Behalf Of Dave McLoughlin
> Sent: Thursday, July 07, 2011 10:06 AM
> To: fossology@fossology.org
> Subject: [FOSSology] Deb install on Ubuntu
>  
> 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


Re: [FOSSology] Deb install on Ubuntu

2011-07-07 Thread Laser, Mary
There are messages printed to stdout :

...
  Initializing agents.
Initialization completed.
  Importing license_ref table data
Initialization completed successfully.
FOSSology postinstall complete, but sure to complete the remaining
  steps in the INSTALL instructions.
Setting up fossology-scheduler-single (1.4.1) ...
*** Setting up scheduler ***
*** Checking Scheduler.conf ***
NOTE: default /etc/fossology/Scheduler.conf created.
  Please check that is it correct for your environment or
  create a different one with mkschedconf.
FOSSology postinstall complete, but sure to complete the remaining
  steps in the INSTALL instructions.
Starting FOSSology job scheduler: scheduler.
Setting up fossology-web-single (1.4.1) ...
*** Setting up the web interface ***
NOTE: Adding user www-data to group fossy
FOSSology postinstall complete, but sure to complete the remaining
  steps in the INSTALL instructions.
Setting up fossology (1.4.1) ...
laser@squeezevm:~$

From: Gobeille, Robert
Sent: Thursday, July 07, 2011 10:36 AM
To: Laser, Mary
Cc: Dave McLoughlin; fossology@fossology.org
Subject: Re: [FOSSology] Deb install on Ubuntu

Hi Mary,
How is a user supposed to know this?  Was there instructions in the apt-get 
install?

Bob Gobeille

On Jul 7, 2011, at 10:20 AM, Laser, Mary wrote:


File locations are listed here: http://fossology.org/file_locations

The debian install instructions are here:  http://fossology.org/debian_install

Please refer to the INSTALL file for Apache Config.  
http://fossology.svn.sourceforge.net/viewvc/fossology/tags/1.4.0~rc7/INSTALL?revision=4199&view=markup

Mary


From: fossology-boun...@fossology.org 
[mailto:fossology-boun...@fossology.org] On Behalf Of Dave McLoughlin
Sent: Thursday, July 07, 2011 10:06 AM
To: fossology@fossology.org
Subject: [FOSSology] Deb install on Ubuntu

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


Re: [FOSSology] Deb install on Ubuntu

2011-07-07 Thread Bob Gobeille
This might be more user friendly if only the important instructions and errors) 
were printed, and where to find the INSTALL instructions was listed.

Bob

On Jul 7, 2011, at 10:58 AM, Laser, Mary wrote:

> There are messages printed to stdout :
>  
> …
>   Initializing agents.
> Initialization completed.
>   Importing license_ref table data
> Initialization completed successfully.
> FOSSology postinstall complete, but sure to complete the remaining
>   steps in the INSTALL instructions.
> Setting up fossology-scheduler-single (1.4.1) ...
> *** Setting up scheduler ***
> *** Checking Scheduler.conf ***
> NOTE: default /etc/fossology/Scheduler.conf created.
>   Please check that is it correct for your environment or
>   create a different one with mkschedconf.
> FOSSology postinstall complete, but sure to complete the remaining
>   steps in the INSTALL instructions.
> Starting FOSSology job scheduler: scheduler.
> Setting up fossology-web-single (1.4.1) ...
> *** Setting up the web interface ***
> NOTE: Adding user www-data to group fossy
> FOSSology postinstall complete, but sure to complete the remaining
>   steps in the INSTALL instructions.
> Setting up fossology (1.4.1) ...
> laser@squeezevm:~$

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


Re: [FOSSology] Deb install on Ubuntu

2011-07-07 Thread Matt Taggart
> Is there a README associated with the deb package?

The place to start with any debian package is

/usr/share/doc//

That directory will contain upstream documentation and also Debian specific 
documentation. In particular I think you want to start with

zless /usr/share/doc/fossology-common/README.Debian.gz

-- 
Matt Taggart
tagg...@fossology.org


___
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-07 Thread Laser, Mary
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-07 Thread Mark Donohoe

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:


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



--
---
Mark Donohoe
OSPO, HP
FOSSology.org

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