Forum OpenACS Q&A: Response to Starting the ACS

Collapse
Posted by Angel Hernandez on
To expand on what Roberto was saying, here's a few AOLserver 3rc1 commands. Most are in the AOLserver documentation, but they've also left out a few things (like how to turn on Tcl pages).

The following commands assume that you're in the AOLserver directory.

  • Start the server in the foreground

    ./bin/nsd8x -ft ./nsd.tcl

    Hit control-c to kill the server after starting in foreground.

  • Start the server in background

    ./bin/nsd8x -t ./nsd.tcl

  • Stop the server

    ./bin/nsd8x -Kt ./nsd.tcl

    Then to enable Tcl pages, and prevent them from being served as text, under ns_section "ns/server/${server}" add...

    ns_param   enabletclpages  on

    Lastly, AOLserver 3rc1, will not run as root. So to get the server running on port 80, you need to specify a user when starting. Just add argument -u nsadmin (or whatever user) to the normal start command. You end up with...

    ./bin/nsd8x -t ./nsd.tcl -u nsadmin

    That should do it...hopefully this will make getting started a little easier.