Mark, Mary,
We followed the instructions provided in your email, but are running into the
following issues:
1. This command does not run, error message is that this file is not found:
sudo fo-postinstall > po.out 2>&1
2. The following command errors out too:
sudo /usr/lib/fossology/fossology-scheduler -t -L stdout
2010-10-19 17:10:09 scheduler[30586] : Scheduler started. Build version:
1.1.0, exported.
2010-10-19 17:10:09 scheduler[30586] : *** Scheduler started, PID 30586 ***
ERROR: Unable to connect to the database
Connection string: 'dbname=fossology host=localhost user=fossy password=fossy'
Connection status: '1'
2010-10-19 17:10:09 scheduler[30586] : FATAL: Unable to connect to database.
Exiting.
3. then I try to start the database and get another error message:
sudo /etc/init.d/postgresql-8.3 start
* Starting PostgreSQL 8.3 database server
* The PostgreSQL server failed to start. Please check the log output:
2010-10-19 16:17:53 CDT 4cbe0b01.7639LOG: could not load root certificate
file "root.crt": No such file or directory
2010-10-19 16:17:53 CDT 4cbe0b01.7639DETAIL: Will not verify client
certificates.
2010-10-19 16:17:53 CDT 4cbe0b01.7639FATAL: could not create shared memory
segment: Invalid argument
2010-10-19 16:17:53 CDT 4cbe0b01.7639DETAIL: Failed system call was
shmget(key=5432001, size=268632064, 03600).
2010-10-19 16:17:53 CDT 4cbe0b01.7639HINT: This error usually means that
PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX
parameter. You can either reduce the request size or reconfigure the kernel
with larger SHMMAX. To reduce the request size (currently 268632064 bytes),
reduce PostgreSQL's shared_buffers parameter (currently 32000) and/or its
max_connections parameter (currently 43).
If the request size is already small, it's possible that it is less than
your kernel's SHMMIN parameter, in which case raising the request size or
reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory
configuration.
Thanks for all your support.
-gurbax
________________________________________
From: [email protected] [[email protected]] On
Behalf Of Mark Donohoe [[email protected]]
Sent: Tuesday, October 19, 2010 1:41 PM
To: Laser, Mary
Cc: Causey, William; [email protected]
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: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Laser, Mary
Sent: Tuesday, October 19, 2010 11:38 AM
To: Causey, William; Donohoe, Mark
Cc: [email protected]<mailto:[email protected]>
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<http://fossology.org/ubuntu10.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
[email protected]
http://fossology.org/mailman/listinfo/fossology