Forum OpenACS Q&A: Installing RPMs in a Red Hat 6.2 linux box

Dear all,

I have a fresh installation of a RH 6.2 linux box. I downloaded all
the rpms that you say in
your web site are required to install a box with OpenACS, PostgreSQL
and Aolserver.

I have also installed the tcl rpm.

I would like to add a comment, with a fresh install of rh 6.2 you
need openssl, and because this rpm is an update, you need db3 rpm and
the new rpm builder (version 4.0.1), otherwise you cannot install the
openssl rpm.

When I try to install all the rpms I got this message:

[root@hana src]# rpm -Uvh *rpm
Preparing...
########################################### [100%]
  1:libxml2

########################################### [ 12%]
  2:aolserver

########################################### [ 25%]
  3:postgresql-libs

########################################### [ 37%]
  4:aolserver-postgresql

########################################### [ 50%]
  5:postgresql

########################################### [ 62%]
  6:postgresql-server

########################################### [ 75%]
  7:openacs

########################################### [ 87%]

$Initializing database: [  OK  ]
$Starting postgresql service: [  OK  ]
Creating postgres user and database acs
Adding plpgsql language to database acs
Loading ACS geographical tables into acs ...  OK
Loading ACS datamodel into acs.  Be patient...  OK
$Stopping postgresql service: [  OK  ]
  8:postgresql-tcl
########################################### [100%]
$Starting postgresql service: [  OK  ]
ERROR: Unable to start postgresql service, cannot install OpenACS
bboard searching
error: execution of %trigger scriptlet from openacs-3.2.5-2 failed,
exit status 1

And the postgresql service doesnt work.

Do you know what I have to do? By the way I have also another RH 7.2
linux box. Which RPMs do I need then?

Many thanks and sorry for keeping your time.

Best Regards

Miguel

Collapse
Posted by Kenny Chan on
Miguel,

Did you try to follow Jonathan's RPMS installation guide? It might be of help. It is good for RH6.2 and RH7.1

First glance at the error messages looks like the pltcl is not created properly by wrong location of library, try reading this thread and my posting there specifically.

For RH7.1 (assuming an "everything" installation), because latest Postgresql and libxml2 are both installed, all you need are (in order of installation):

1. aolserver-3.2-4+ad12+nsxml.i386.rpm
2. aolserver-postgresql-2.3-1.cvs.20010425.i386.rpm
3. openacs-3.2.5-2.noarch.rpm

Or you can just do: "rpm -ivh" for all the above rpms in one line

By the way, you might want to consider compiling your own Aolserver Postgresql driver, because the version available from the rpm is not current, check software download on this site for that.

Hope this helps.

Kenny

Collapse
Posted by Kenny Chan on
Oops, I meant to say

For RH7.2 (assuming an "everything" installation),...

at the beginning of my 3 paragraph above.