Forum OpenACS Q&A: Problem with OpenACS-Apache

Collapse
Posted by finn knudsen on
Thanks for a great site.

I have downloaded the tar file and extracted it. However, I have not
been able to get it working yet.

I'm using redhat 7, and unfortunately my distribution doesn't support
postgresql 7.03 but only 7.02-17. This could be the problem but I'm
not sure. Anyway I installed 7.02-17, and just skipped the first part
of the package installation.

When it came to installing the apache module I encountered some more
trouble since i suppose i should use rpm -rebuilddb rather than rpm -
rebuild ?

The next lines
# rpm -i /usr/src/redhat/RPMS/i386/mm-1.1.3-ad1.i386.rpm
# rpm -ivh /usr/src/redhat/RPMS/i386/tcl-8.3.2-ad1.i386.rpm
give me some trouble since these files don't exits in the directory
specified. Instead i just rpm'ed the files in my tmp directory. Is
this a problem ?.

next problem line was
rpm -ivh /usr/src/redhat/RPMS/i386/apache-1.3.14-ad1.i386.rpm
I tried again with just installing from my temp directory and this
worked. Unfortunately there was ofcourse the problem of not having
installed 7.03 but i ran the rpm with -nodeps and it worked.
( or mayby not )

Now my problem is basicly that i'm stuck. I have gotten the apache
server working, but where should i find the community systems ?

I hope someone can point me to more information.

Thanks.

Finn

Collapse
Posted by finn knudsen on
Well sometimes it just takes time...

For other new to this I have written some possible solutions up.

Apparently the RPM will install apache in a new directory. If you
are used to editing httpd.conf you should instead find the apache.conf file, and edit that.

There is an additional config file you need to set up. This is the
nsd.ini file.

For both files it helps to have worked with Apache and Postgres installation before, but it is not imposible. Otherwise send me a mail and I can try and mail you mine, showing you where I changed things.

Quite likely you will get error when loading the datamodel.

you should run the script data-model-load.

You might need to create some add in languages for psql. There are some similar posts on this site about how to do that, but the syntax is something like createlang pltcl openacs-db.

Presently I'm stuck at Error in serving group pages, and it seems to involve some more configuration files. I see that there are many posts about a similar problem, but there seem mostly to be concerned with aol server and not mod-apache. If anyone has any input I would be happy.

Thanks

Finn

Collapse
Posted by Matthew Terenzio on
Here is one Apache - ACS install document which I put together. There is also a link at the bottom to another by Adam Farkas. I hope they help a little. http://www.localnotion.com/install.html