The installation process was as follows
apt-get install tcl8.5 .....
apt-get install postgresql-8.3 ....
apt-get install aolserver4 ...
apt-get install tdom ...
apt-get install xotcl ...
apt-get install tcllib tclthreads
unpack dotlrn2.4.1, config the config.tcl
up the service with aolserver-nsd .....
the error log is
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Bootstrap: Done loading OpenACS.
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Sourcing files for postload...
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Done.
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Executing initialization code blocks...
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Executing initialization code block filters_register in /var/websites/unis/packages/acs-tcl/tcl/request-processor-init.tcl
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_filter trace GET /* rp_invoke_filter 0 0 3 ds_trace_filter {}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_filter trace POST /* rp_invoke_filter 1 0 3 ds_trace_filter {}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_filter trace HEAD /* rp_invoke_filter 2 0 3 ds_trace_filter {}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Executing initialization code block procs_register in /var/websites/unis/packages/acs-tcl/tcl/request-processor-init.tcl
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_proc GET /grades-sheet-csv* rp_invoke_proc {0 0 0 evaluation::generate_grades_sheet {}}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_proc POST /grades-sheet-csv* rp_invoke_proc {0 0 0 evaluation::generate_grades_sheet {}}
[23/Jun/2009:09:09:27][3637.3083474608][-main-] Notice: nsmain: AOLserver/4.5.0 running
[23/Jun/2009:09:09:27][3637.3083474608][-main-] Notice: nsmain: security info: uid=1002, euid=1002, gid=1001, egid=1001
[23/Jun/2009:09:09:27][3637.3073559440][-sched-] Notice: sched: starting
[23/Jun/2009:09:09:27][3637.3083474608][-main-] Notice: driver: starting: nssock
[23/Jun/2009:09:09:27][3637.3045964688][-nssock:driver-] Notice: starting
[23/Jun/2009:09:09:27][3637.3045964688][-nssock:driver-] Notice: nssock: listening on <<IP:PORT>>
[23/Jun/2009:09:09:40][3637.3037567888][-conn:0-] Notice: random: generating 1 seed
[23/Jun/2009:09:09:42][3637.3037567888][-conn:0-] Notice: encoding: loaded: iso8859-1
Tcl_SetBooleanObj called with shared object