Forum OpenACS Q&A: new apache RPM install, install ok, acs wont go

Hi-

Im running RedHat 6.2 and I have tried the RPM install of openacs 3
tims now, all with no luck.  The install appears to go smoothly, (its
the latest version of the rpm install) except for this:

------------------------------------------------------------------
Now installing. This process  will take between 10-15 minutes, and
should not require any user intervention.
------------------------------------------------------------------

postgresql
##################################################
postgresql-server
##################################################
/sbin/ldconfig: warning: can't open var/tmp/rpm-tmp.81823 (Not a
directory), skipping
/sbin/ldconfig: warning: can't open 2 (No such file or directory),
skipping
postgresql-tcl
##################################################
postgresql-devel
##################################################
Checking postgresql installation: no database files found.
su: warning: cannot change directory to /usr/local/pgsql: No such file
or directory

Ive scanned the other output from the install and everything seemed to
be ok.  no loud errors.

This concerns me:

-----------------------
Installation completed!
-----------------------

Total elapsed installation time: 3 minutes.

At the top it says that it should take 10-15 min?  its running on a
pIII 600  with 128 meg of ram.  when i go to www.sodatrain.com:8000 i
get:

preauth filter blew up --- backtrace follows:
Critical filter sec_read_security_info failed.
    while executing
"error "Critical filter $proc failed.""
    (procedure "ad_handle_filter" line 47)
    invoked from within
"ad_handle_filter {} preauth"Critical filter sec_read_security_info
failed.
    while executing
"error "Critical filter $proc failed.""
    (procedure "ad_handle_filter" line 47)
    invoked from within
"ad_handle_filter {} preauth"

Some back groud on my box...  i had apache and mysql running on it,
still do.  I tried to to the aol/openacs install a few months ago,
never finished it.... Postgres was installed, i think i got rid of all
the files and it certianly wasnt running.

I am kinda stuck, i dont know where to do from there.

I did the acs bootcamp for a few days (of the total 1 week) so i have
some familarility with it.

I would really apprecite any help, as I have been very excited to get
an openacs install up, and i thought i might have better luck with
apache.  I was going to hold out for openacs4.0, but decided to give
this a whirl.

thank you very much in advance.

duncan shannon

sorry about the formatting getting screwed up....
Tried it again, uninstalled all the rpm's and gave it a whirl... here is a link to the 'script' logfile:

http://www.sodatrain.com/install_log.txt

there are some PG errors right at the beginning and then some errors at the bottom about missong or corrupt date mod. files...

thanks

back to it...

Collapse
Posted by Jimmy Yee on
I believe Duncan's problem was that he had an older version of PostgreSQL already installed. Because of this, the new 7x format databases never get built and loaded. He needed to remove his older database format files or upgrade them to the 7.x format from the 6.5x format. Then, the easiest thing to do is just re-run the rpm to install it all again.
Collapse
Posted by Don Baccus on
I just looked at his log file, and for one thing there was a copy of
postmaster running when he tried to install.  Later on, when the
install tried to start up psql, it choked because of a bad postgres
system file - presumably because the old postmaster was trying to read
the newly installed files.

Moral of the story: the RPM documentation should tell folks to check
if postgres is already running (by using ps to look for a postmaster
instance) and, as root, do "/etc/rc.d/init.d/postgresql stop" to get
rid of it.  THEN you should be able to install over the exisitng
Postgres installation.

Can I ask which RPMs these are, and where the ten to fifteen minute time estimate came from?  I don't remember saying that in any of my OpenACS RPMs... I'm wondering if this is an install of an older set of RPMs made by others??

Duncan: where did you get your OpenACS RPMs from, please?  The exact URL would be wonderful.  Thanks!