Re: [FOSSology] Install of 1.2.1

2010-11-15 Thread Mark Donohoe

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:


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
  



--
Mark Donohoe
OST, Cupertino CA.
fossology.org

___
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 mark.dono...@hp.com 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

 

image.gif___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Install of 1.2.1

2010-11-15 Thread Bob Gobeille
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.confI'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)?

INSTALL
Description: Binary data
Bob Gobeille___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Install of 1.2.1

2010-11-15 Thread Mark Donohoe

Dave,

Please make sure you got what you wanted. 

The version of fossology I got when I installed from 9.10 was fossology 
1.1.0, you wanted to upgrade to 2.1 right?


What I think is going on is that fo-installdeps is broken on 9.10.  So 
not everything get's installed.  Given that you already had fossology on 
there, I would have thought just recompiling, installing and rerunning 
fo-postinstall would do it for you.


So, my experience was:

1. fo-installdeps broke for me too.
2. I started to follow the INSTALL doc to install the deps, then saw 
bob's message.

3. Installed apt-get fossology, to see what I would get.
4. Decided 1.1.0 was not good enough.  BUT,  now all install 
dependencies should be OK.

5. used dpkg --remove to remove 1.1.0 of fossology
6. compiled, installed from 1.2.1 sources
6.5 finished all last system config's.
7. Ran fo-postinstall
8. system came up.

Let us know if you have further problems.  We think you will like nomos.


Dave McLoughlin wrote:
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 bob.gobei...@hp.com 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)?





--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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