Forum OpenACS Q&A: Re: Problems in installing OpenAcs5.6.0 (Aolserver 4.5,Postgres 8.4,Tcl 8.5,Ubuntu Lucid Lynx)

hmm... actually you might be doing the same thing I do after all
I found that Tcl8.4 had been installed by Lucid Ubuntu and also I had installed Tcl 8.5.8 under /usr/local/aolserver.
Later I removed the Tcl8.4 installation. set auto_path to /usr/local/aolserver/modules/tcl in ../installer/index.tcl
Still I'm getting the ns_getform invalid command...
The log is given below :
[25/Aug/2010:11:00:32][2084.3060812656][-nssock:driver-] Notice: starting
[25/Aug/2010:11:00:32][2084.3060812656][-nssock:driver-] Notice: nssock: listening on 127.0.0.1:8000
[25/Aug/2010:11:01:25][2084.3066096496][-default:0-] Notice: auto_path /usr/local/aolserver/lib/tcl8.5 /usr/local/aolserver/lib /usr/local/aolserver/lib/tcl8.5/tcllib /usr/local/aolserver/modules/tcl
[25/Aug/2010:11:01:25][2084.3066096496][-default:0-] Error: Error sourcing /var/lib/aolserver/schoolacs/packages/acs-bootstrap-installer/installer/index.tcl:
invalid command name "ns_getform"
while executing
"ns_getform"
(procedure "ad_page_contract" line 302)
invoked from within
"ad_page_contract {

If no database driver is available, the acs-kernel libraries may not have
been loaded (which is fine, since index.tcl will..."
(file "/var/lib/aolserver/schoolacs/packages/acs-bootstrap-installer/installer/index.tcl" line 2)
invoked from within
"source $__file "

schoolacs@hpdv6:~$ ls -al /usr/local/aolserver/modules/tcl
total 168
drwxr-xr-x 3 root root 4096 2010-08-23 13:32 .
drwxr-xr-x 3 root root 4096 2010-07-15 13:42 ..
-rw-r--r-- 1 root root 8238 2009-12-25 01:20 charsets.tcl
-rw-r--r-- 1 root root 1642 2009-12-25 01:20 compat.tcl
-rw-r--r-- 1 root root 4129 2009-12-25 01:20 debug.tcl
-rw-r--r-- 1 root root 11320 2009-12-25 01:20 fastpath.tcl
-rw-r--r-- 1 root root 2878 2009-12-25 01:20 file.tcl
-rw-r--r-- 1 root root 5671 2009-12-25 01:20 form.tcl
-rw-r--r-- 1 root root 13877 2010-08-06 15:13 https.tcl
-rw-r--r-- 1 root root 10798 2009-12-25 01:20 http.tcl
-rw-r--r-- 1 root root 2206 2009-12-25 01:20 init.tcl
-rw-r--r-- 1 root root 23 2009-12-25 01:20 modlog.tcl
-rw-r--r-- 1 root root 7326 2009-12-25 01:20 nsdb.tcl
drwxr-xr-x 2 root root 4096 2010-07-10 15:22 nsperm
-rw-r--r-- 1 root root 2910 2009-12-25 01:20 packages.tcl
-rw-r--r-- 1 root root 1951 2009-12-25 01:20 pools.tcl
-rw-r--r-- 1 root root 3330 2009-12-25 01:20 prodebug.tcl
-rw-r--r-- 1 root root 410 2009-12-25 01:20 return.tcl
-rw-r--r-- 1 root root 8611 2009-12-25 01:20 sendmail.tcl
-rw-r--r-- 1 root root 22151 2009-12-25 01:20 stats.tcl
-rw-r--r-- 1 root root 9247 2009-12-25 01:20 util.tcl

Still searching for resolution ....

regards,

Gunalan

Finally I was able to get the Welcome screen for OpenAcs installation

The latest problem appears to be in this section of configuration file :

#
# Tcl Configuration
#
ns_section ns/server/${server}/tcl
ns_param library ${serverroot}/tcl
ns_param autoclose on
ns_param debug $debug
# Aolserver 4.5 addition
ns_param nsvbuckets 20 ;# no of buckets to hold nsv's

The serverroot value: /var/lib/aolserver/schoolacs/tcl

whereas ns_getform is located in form.tcl and this is in
/usr/local/aolserver/modules/tcl.

I have copied all the tcl files under /usr/local/aolserver/modules/tcl to ${serverroot}/tcl/modules/tcl.

And I was able to get OpenAcs welcome screen...

Kindly let me know if there is a way to point to multiple locations for ns_param library for tcl configuration in config.tcl or anyother resolution.

Thanks ,

Gunalan