Hi Dino,

> It is very strange but I don't see no 'Notice: tcl:
> enabling .tcl pages'...
> And it also seems that my enabbletcl true statement in
> my config file has no influence!!
> I can change that string to everything I want..the
> server just starts and doesn't complain about even
> wrong things I enter there...
>
> Still not a clue as to what is happening. My log file
> contains nothing about it.

Try this:

1. global debug parameter

> >  > # Global server parameters
> >  > #
> >  > ns_section "ns/parameters"
> >  > ns_param   home            $homedir
> >  > ns_param   debug           false

set "debug" to true, you will get more output into
the logfiles.

2. tcl configs
point to the aolserver-tcl-module-files
(change path to where they reside, see below)

#
# Tcl interpreter
#
ns_section "ns/server/${servername}/tcl"
ns_param   autoclose       true      ;# Close files the Tcl interp
opened
ns_param   debug           true     ;# Names of files sourced is logged
ns_param   nsvbuckets      8         ;# No. of buckets to hold nsv's
ns_param   statlevel       0         ;# How many levels deep to run
tclstats
ns_param   statmaxbuf      100       ;# Maximum entries in tclstats
table
############################################################
# this is an example library path.
ns_param  library  "/www/servers/${servername}/tcl"
############################################################


(the library-path includes files like form.tcl, util.tcl etc.)

one is called "file.tcl" and contains the lines that produce
the output you are looking for:

---------------------------------------------------------
set path ns/server/[ns_info server]
set on [ns_config -bool $path enabletclpages off]
ns_log notice "conf: \[$path\]enabletclpages = $on"
---------------------------------------------------------


if these libraries are not sourced at startup, you will
not see any output.

Hope this helps,

Bernd.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to