Just in case someone knows how to read the logs... this is the error (debug is on), I guet a Tcl exception
pabloacs@debian:~$ tail -f /var/lib/aolserver/pabloacs/log/error.log
[15/Dec/2012:08:27:00][1443.425740032][-main-] Notice: Done.
[15/Dec/2012:08:27:00][1443.425740032][-main-] Notice: Executing initialization code blocks...
[15/Dec/2012:08:27:00][1443.425740032][-main-] Debug: QD=Postload files to load:
[15/Dec/2012:08:27:00][1443.425740032][-main-] Debug: QD=Postload files to load:
[15/Dec/2012:08:27:00][1443.425740032][-main-] Notice: nsmain: AOLserver/4.5.0 running
[15/Dec/2012:08:27:00][1443.425740032][-main-] Notice: nsmain: security info: uid=1002, euid=1002, gid=1001, egid=1001
[15/Dec/2012:08:27:00][1443.384177920][-sched-] Notice: sched: starting
[15/Dec/2012:08:27:00][1443.425740032][-main-] Notice: driver: starting: nssock
[15/Dec/2012:08:27:00][1443.350840576][-nssock:driver-] Notice: starting
[15/Dec/2012:08:27:00][1443.350840576][-nssock:driver-] Notice: nssock: listening on 0.0.0.0:8000
[15/Dec/2012:08:27:14][1443.349783808][-conn:0-] Debug: NO FULLQUERY FOR dbqd.acs-tcl.tcl.00-database-procs.db_table_exists.table_count --> using default SQL
[15/Dec/2012:08:27:14][1443.349783808][-conn:0-] Notice: Querying '
select count(*) from pg_class
where relname = lower('apm_packages') and
relname !~ '^pg_' and relkind = 'r';'
[15/Dec/2012:08:27:14][1443.349783808][-conn:0-] Notice: dbinit: sql(localhost::pabloacs): '
select count(*) from pg_class
where relname = lower('apm_packages') and
relname !~ '^pg_' and relkind = 'r'
'
[15/Dec/2012:08:27:14][1443.349783808][-conn:0-] Debug: db_exec: timing 0 seconds nsdb0 0or1row dbqd.acs-tcl.tcl.00-database-procs.db_table_exists.table_count
[15/Dec/2012:08:27:14][1443.349783808][-conn:0-] Debug: NO FULLQUERY FOR dbqd.acs-tcl.tcl.request-processor-procs.ad_acs_kernel_id_mem.acs_kernel_id_get --> using default SQL
[15/Dec/2012:08:27:14][1443.349783808][-conn:0-] Error: Tcl exception:
No fullquery for dbqd.acs-tcl.tcl.request-processor-procs.ad_acs_kernel_id_mem.acs_kernel_id_get and default SQL empty - query for statement missing
while executing
"error "No fullquery for $statement_name and default SQL empty - query for statement missing""
(procedure "db_qd_replace_sql" line 10)
invoked from within
"db_qd_replace_sql $statement_name $pre_sql"
(procedure "db_exec" line 13)
invoked from within
"db_exec 0or1row $db $full_name $sql"
invoked from within
"set selection [db_exec 0or1row $db $full_name $sql]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
set selection [db_exec 0or1row $db $full_name $sql]
}"
(procedure "db_string" line 27)
invoked from within
"db_string acs_kernel_id_get {} -default 0"
(procedure "ad_acs_kernel_id_mem" line 2)
invoked from within
"ad_acs_kernel_id_mem"
(procedure "ad_acs_kernel_id" line 2)
invoked from within
"ad_acs_kernel_id"
(procedure "util_current_location" line 16)
invoked from within
"util_current_location"
(procedure "ad_returnredirect" line 18)
invoked from within
"ad_returnredirect "/""
(procedure "install_handler" line 32)
invoked from within
"install_handler cns1 {} preauth"