Forum OpenACS Q&A: Redirection issue

Collapse
Posted by Jim Biggs on
I've installed PostgreSQL-8.1, aolserver4, and retrieved OpenACS-5.4.2 from CVS.

My environment is Ubuntu Dapper.

When I enter http://myserver:8000, Aolserver reports a NOT FOUND error.

My /var/www/service0/log/error.log shows no errors and aolserver listening on port 8000 of my server's IP address and driver accepting connections.

My /var/www/service0/log/service0.log shows "GET / HTTP/1.1" 404 531 "

I've searched relentlessly trying to track down my problem, but I'm stuck.

All the software installed easily, so it has to be a configuration issue. One area that bothers me is the following commands for PostgreSQL:

**************
apt-get install postgresql-8.1 postgresql-doc-8.1

ln -s /usr/include/postgresql/ /usr/include/pgsql
COMMENT -- Results in broken symlink

ln -s /var/lib/postgres /usr/local/pgsql
COMMENT – Symlink works

ln -s /usr/include/pgsql /usr/local/pgsql/include
COMMENT -- Results in broken symlink

****************

I made some adjustments relative to how Postgres-8.1 was installed on my system to make the symlinks work, but I'm not sure they're correct:

****************
apt-get install postgresql-8.1 postgresql-doc-8.1
ln -s /usr/lib/postgresql/ /usr/include/pgsql
ln -s /var/lib/postgresql /usr/local/pgsql
ln -s /usr/include/pgsql /usr/local/pgsql/include
****************

Can anyone tell me what is supposed to be in the following directories so I can match it up with the directories on my system?
********
/usr/include/postgresql/ ???

/usr/include/pgsql ???

My /usr/include/ directory only has the following folders/files:
Folder: GNUstep
file: initreq.h

/usr/local/pgsql/include ???

/var/lib/postgres -- This one was easy to correct since my directory was named /var/lib/postgresql

*********
Once I know what these symlinks are supposed to be connecting, I should be alright.

Thanks in advance for any direction/advice.

Regards... Jim

Collapse
2: Re: Redirection issue (response to 1)
Posted by Torben Brosten on
What installation directions are you using?

Have you seen these ubuntu specific directions?

https://openacs.org/xowiki/Debian%2fUbuntu_installation

https://openacs.org/xowiki/OpenACSDebianInstallGuide

The openacs-4 directory from cvs needs to be placed in different places, depending on the directions you're following, mainly to adapt to variations in distribution standards (and installation preferences) etc.

Collapse
3: Re: Redirection issue (response to 2)
Posted by Jim Biggs on
My installation references started with the OpenACS-5.4.2 Administrator's Guide. I also referenced a number of forum and wiki postings, including the two you listed above. Below is a list of some other references I used:

https://openacs.org/wiki/Installing%20OpenACS%20on%20Debian%20Linux

https://openacs.org/forums/message-view?message_id=331130

https://openacs.org/xowiki/How_to_install_in_Postgres_8.x

https://openacs.org/xowiki/pages/en/.LRN+Installation#install-cvs used in combination with "Chapter 11. Engineering Standards: CVS Guidelines" from the OpenACS-5.4.2 Administrators Guide located in /var/lib/aolserver4/service0/packages/acs-core-docs/www/eng-standards.html

I looked at many more references, but the ones above are the most notable. I summarized my installation (based on the sources above) in an 8-page document, which I'm happy to share. I just need to know how one goes about sharing documents in this forum, since there is no file attachment capability.

Can you point me to any documentation that illustrates the OpenACS directory tree, including symlink relationships?

A directory tree would be extremely helpful for me (and likely others) to understand the relationship between OpenACS, Aolserver, PostgreSQL, and Linux. This would enable one to then infer the differences between different Linux installations.

A directory tree would also address the last sentence in your post -- "The openacs-4 directory from cvs needs to be placed in different places, depending on the directions you're following, mainly to adapt to variations in distribution standards (and installation preferences) etc."

Thanks... Jim

Collapse
4: Re: Redirection issue (response to 2)
Posted by Jim Biggs on
installation problems solved. OpenACS with .LRN now running.
Collapse
5: Re: Redirection issue (response to 1)
Posted by Torben Brosten on
Great, Jim!

Here's the reference install locations: https://openacs.org/xowiki/openacs-reference-platform

cheers