Forum OpenACS Q&A: OpenACS Installation. Configuring AOLServer

Hi,
I've installed AOLServer 3.4 .While installing Open ACS 4.6 , im trying to configure aolserver. I execute nsd.tcl using the command.
./bin/nsd-oracle -t  [Dir of nsd.tcl]/nsd.tcl

It gives me a warning nsssl not loaded . This warning has to be normally ignored.
But i dont get to see a nsd process listed when i give the command ps -ef .

On typing the URL localhost:8000 on the browser i get the Welcome to AOLServer page which was displayed after successful installation of aolserver.

I should be getting the login page of OpenACS installation.

Could anyone help?

-Thelma

Collapse
Posted by Dave Hwang on
That's because you don't have your pageroot defined to point to your OpenACS installation. I'm guessing that your nsd.tcl is just your modified version of sample-config.tcl, which is why you see the "Welcome to AOLserver" page. What you really want to do is modify a copy of openacs4.tcl and set serverroot to point to your OpenACS installation (e.g. /web/openacs-4).

Have you been following the recipe in the OpenACS Unix Install docs? If not, I'm going to guess your next question is going to be about the ns_xml module. I'm not sure you started with AOLserver 3.4, but it probably would have been easier if you had started with aolserver3.3+ad13 tarball and upgraded to 3.4 once you had 3.3+ad13 working.

Collapse
Posted by Thelma Pinto on
Thanks Dave, but i have been following the same link ie OpenACS Unix Install.

all that you have mentioned has already been done.
Could you tell me where could i get the aolserver3.3+ad13 tarball ? I presently have the beta version, and i have problems during installation with the  aolserver3.3+ad13 beta version.

Collapse
Posted by Dave Hwang on
It looks like you already have the version we've been referring to and using. I think that "beta" was supposed to refer to the version of oacs that was supposed to be included, aolserver. What sort of problems did you have with that?

Also, did setting up the serverroot (which sets up pageroot) get you to the "Welcome to OpenACS page"?

Collapse
Posted by Thelma Pinto on
Yes i have got the ora8.so and ora8cass.so in the aolserver bin directory. i installed it from the uncompressed aolserver-3.3 ad 13 version. also im using nsd-oracle
    as the script.

    in nsd.tcl
    set serverroot  "/home/${user_account}/web/${server}"
    set pageroot                ${serverroot}/www

During installation of aolserver3.3ad13 beta version:
after gmake , towards the end i get:

./../compat/strtod.c:92:44: missing terminating " character
./../compat/strtod.c:15:170: possible start of unterminated string literal
gmake[2]: *** [strtod.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/aolserver/aolserver/tcl7.6/unix'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/aolserver/aolserver/tcl7.6'
gmake: *** [libtcl76] Error 2

Similar errors after gmake install

and then only translate.ini file is present in the bin directory.

Any solutions?

Thanx
Thelma

Collapse
Posted by Mat Kovach on
What platform are you building on?

What is the output of:

uname -a
gmake -v
cc -v

You are getting compile errors with the AOLserver code.

Collapse
Posted by Thelma Pinto on
Hi Mat,

The platform is Linux 7.2

GNU Make version 3.79.1

cc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)

Thanx
Thelma

Collapse
Posted by subash selvaraj on
I am using aolserver3.3oacs with projectopen suddenly aolserver is not working. what to do to start the page.

please help me.

if any goog configuration steps please let me know.

Thanks for all.

By suddenly do you happen to mean the first time you restarted since last Saturday (May 13, 2006)? If so, you're almost certainly experiencing a Y2038 problem.

This thread on the AOLserver Developers List talks about it. Solution: change the MaxIdle and MaxOpen settings in your config file to be 0 instead of 1000000000 (1 billion).