Forum OpenACS Q&A: Server startup failed: Error during bootstrapping

The following is the error message :

[12/Sep/2002:14:58:19][15036.1][-main-] Notice: AOLserver/3.0 
starting.
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: security info: 
uid=5002, euid=5002, gid=1004, egid=1004
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: max files: FD_SETSIZE 
= 1024, rl_cur = 1024, rl_max = 1024
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
logexpanded = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
dev = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
debug = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
maxbackup = 5
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
stacksize = 65536
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/threads]
stacksize = 500000
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/threads]
mutexmeter = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
shutdowntimeout = 20
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
iobufsize = 16000
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
schedmaxelapsed = 2
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
listenbacklog = 32
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
dnscache = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
dnscachetimeout = 60
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
dstringcachemaxentries = 10
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
dstringcachemaxsize = 3072
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
checkexitcode = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
keepalivetimeout = 30
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: [ns/parameters]
maxkeepalive = 0
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]realm = birdnotes
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]enableaolpress = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]sendfdthreshold = 2048
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]maxconnections = 5
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]maxdropped = 0
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]directoryfile = 
index.tcl,index.adp,index.html,index.htm
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]pageroot = /web/birdnotes/www
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]directorylisting = none
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]directoryproc = ""
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]directoryadp = ""
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]globalstats = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]maxurlstats = 1000
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]urlstats = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]connsperthread = 0
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]minthreads = 5
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]maxthreads = 5
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]threadtimeout = 120
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]maxheaders = 16384
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]maxline = 8192
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]maxpost = 65536
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]flushcontent = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]checkmodifiedsince = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]headercase = preserve
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/fastpath]mmap = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/fastpath]cache = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/fastpath]cachemaxsize = 5120000
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/fastpath]cachemaxentry = 8192
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/fastpath]directoryfile = 
index.tcl,index.adp,index.html,index.htm
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/fastpath]pageroot = /web/birdnotes/www
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/tcl]autoclose = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/tcl]debug = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/tcl]library = /web/birdnotes/tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/tcl]sharedlibrary 
= /usr/local/aolserver/modules/tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/tcl]statlevel = 0
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/tcl]statmaxbuf = 100
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/tcl]nsvbuckets = 8
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]errorpage = ""
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]startpage = ""
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]enableexpire = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]enabledebug = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]debuginit = ns_adp_debuginit
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]defaultparser = fancy
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]taglocks = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]cache = on
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]threadcache = off
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes/adp]cachesize = 5120000
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.return: 404 -> 
global/file-not-found.html
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.return: 403 -> 
global/forbidden.html
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: 
loading: /usr/local/aolserver/bin/nspostgres.so
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nspostgres: 
loaded 'PostgreSQL'
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.adp: mapped /*.adp
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: 
loading: /usr/local/aolserver/bin/nssock.so
[12/Sep/2002:14:58:19][15036.1][-main-] Debug: initializing: nssock
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: 
loading: /usr/local/aolserver/bin/nslog.so
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nslog: 
opened: /usr/local/aolserver/log/birdnotes.log
[12/Sep/2002:14:58:19][15036.1][-main-] Debug: initializing: nslog
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/init.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/debug.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/fastpath.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/file.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: conf: 
[ns/server/birdnotes]enabletclpages = 0
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/form.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/http.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/modlog.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/namespace.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/nsdb.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/prodebug.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/sendmail.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /usr/local/aolserver/modules/tcl/util.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /web/birdnotes/tcl/0-acs-init.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: Loading OpenACS, 
rooted at /web/birdnotes
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: 
Sourcing /web/birdnotes/packages/acs-bootstrap-installer/bootstrap.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: Bootstrap: 
sourcing /web/birdnotes/packages/acs-bootstrap-installer/tcl/00-proc-
procs.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Error: Server startup failed: 
Error during bootstrapping
bad option "equal": should be compare, first, index, last, length, 
match, range, tolower, toupper, trim, trimleft, trimright, wordend, 
or wordstart
    while executing
"string equal "-" [string index $str 0]"
    invoked from within
"expr [string equal "-" [string index $str 0]]..."
    invoked from within
"return [expr [string equal "-" [string index $str 0]]..."
    (procedure "ad_proc_valid_switch_p" line 2)
    invoked from within
"ad_proc_valid_switch_p $arg"
    invoked from within
"if { ![ad_proc_valid_switch_p $arg] } {
            break
        }"
    ("for" body line 5)
    invoked from within
"for { set i 0 } { $i < [llength $args] } { incr i } {
        set arg [lindex $args $i]

        # If the argument doesn't begin with a hyphen, break. ..."
    (procedure "ad_proc" line 10)
    invoked from within
"ad_proc -public -deprecated proc_doc { args } {

    A synonym for ad_proc (to support legacy code).
    
} {
    eval ad_proc $args
}"
    (file "/web/birdnotes/packages/acs-bootstrap-installer/tcl/00-
proc-procs.tcl" line 364)
    invoked from within
"source $file"
    ("foreach" body line 3)
    invoked from within
"foreach file [lsort $files] {
	ns_log Notice "Bootstrap: sourcing $file"
	source $file
    }"
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: nsd.tcl: 
sourcing: /web/birdnotes/tcl/zz-postload.tcl
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: Sourcing files for 
postload...
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: Done.
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: Executing 
initialization code blocks...
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: QD=Postload files to 
load: /web/birdnotes/www/index-oracle.xql /web/birdnotes/www/index-
postgresql.xql /web/birdnotes/www/index.xql
[12/Sep/2002:14:58:19][15036.1][-main-] Error: nsd.tcl: invalid 
command name "db_qd_load_query_file"
invalid command name "db_qd_load_query_file"
    while executing
"db_qd_load_query_file $file"
    ("foreach" body line 2)
    invoked from within
"foreach file $files {
	db_qd_load_query_file $file
    }"
    ("foreach" body line 6)
    invoked from within
"foreach dir $dirs {
    set files [glob -nocomplain "${oacs_root}/$dir/*.xql"]
    
    ns_log Notice "QD=Postload files to load: $files"

    foreach ..."
    (file "/web/birdnotes/tcl/zz-postload.tcl" line 37)
[12/Sep/2002:14:58:19][15036.5][-conn0-] Notice: starting: waiting 
for connections
[12/Sep/2002:14:58:19][15036.6][-conn1-] Notice: starting: waiting 
for connections
[12/Sep/2002:14:58:19][15036.7][-conn2-] Notice: starting: waiting 
for connections
[12/Sep/2002:14:58:19][15036.8][-conn3-] Notice: starting: waiting 
for connections
[12/Sep/2002:14:58:19][15036.9][-conn4-] Notice: starting: waiting 
for connections
[12/Sep/2002:14:58:19][15036.10][-nssock-] Notice: waiting for startup
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: AOLserver/3.0 running.
[12/Sep/2002:14:58:19][15036.1][-main-] Notice: security info: 
uid=5002, euid=5002, gid=1004, egid=1004
[12/Sep/2002:14:58:19][15036.10][-nssock-] Notice: starting
[12/Sep/2002:14:58:19][15036.4][-sched-] Notice: starting
[12/Sep/2002:14:58:19][15036.10][-nssock-] Notice: nssock: listening 
on http://10.1.1.105:8000 (10.1.1.105:8000)
[12/Sep/2002:14:58:19][15036.10][-nssock-] Notice: accepting 
connections

Please help

Thanks
Eu Soon
you are using a very old version of aolserver. You should be using aolserver 3.3+ad13 which you can get at https://openacs.org/software