Is there a 'ns_param directoryfile $directoryfile' later in nsd.tcl?
What versions of AOLserver and PostgreSQL?
And, lastly, why 3.2.5 and not 4.6.x?
44 bytes in index.tcl? Any of this stuff available for perusal?