Forum OpenACS Q&A: Response to Installation on mac OSX10.2

Collapse
Posted by Dis Continued on
Thank you all very much for your help. Some of the problems have been fixed - yes I did have more than one nsd running (Sigh...I'm learning the rules and that you just don't do things like this) - but I think this is ok now.
-bash-2.05b$  sudo lsof | grep LISTEN
Password:
netinfod  245     root    6u   inet 0x0141dd1c        0t0      TCP localhost:1033 
(LISTEN)
cupsd     290     root    0u   inet 0x0141cfac        0t0      TCP localhost:ipp 
(LISTEN)
postgres  417 postgres    3u   inet 0x0141c79c        0t0      TCP *:5432 
(LISTEN)
nsd8x     582  nsadmin    9u   inet 0x0141da6c        0t0      TCP localhost:8080 
(LISTEN)
-bash-2.05b$ 
Following Walter, I have fixed the permissions error, which occurred when nsd tried to open the pid file. Then, with great anticipation:
-bash-2.05b$ whoami
ms
-bash-2.05b$ su - nsadmin
Password:
-su-2.05b$ cd /usr/local/aolserver/
-su-2.05b$ bin/nsd -ft openacs4.tcl
No error or server conflicts - wow -- but then:-
19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Loading packages/
acs-tcl/tcl/utilities-procs.tcl...
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Loading packages/
acs-tcl/tcl/widgets-procs.tcl...
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Loading packages/
acs-tcl/tcl/xml-0-sgml-procs.tcl...
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Loading packages/
acs-tcl/tcl/xml-1-dom-procs.tcl...
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Loading packages/
acs-tcl/tcl/xml-2-procs.tcl...
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Error: Server startup failed: 
Error during bootstrapping
invalid command name "db_qd_load_query_file"
    while executing
"db_qd_load_query_file $file"
    (procedure "apm_bootstrap_load_queries" line 26)
    invoked from within
"apm_bootstrap_load_queries acs-tcl"
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Sourcing files for 
postload...
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Done.
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: Executing 
initialization code blocks...
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: QD=Postload files 
to load: /usr/local/web/openacs4/www/index-oracle.xql /usr/local/web/
openacs4/www/index-postgresql.xql /usr/local/web/openacs4/www/index.xql
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Error: 
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 "/usr/local/web/openacs4/tcl/zz-postload.tcl" line 37)
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: tcl: generating 
interp init script
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Warning: keepalive: 
insufficient maxkeepalive 0: keepalive disabled
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: nsmain: 
AOLserver/3.3.1+ad13 running
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: nsmain: security 
info: uid=506, euid=506, gid=20, egid=20
[19/Sep/2002:10:18:55][582.3895856][-sched-] Notice: sched: starting
[19/Sep/2002:10:18:55][582.-1610609172][-main-] Notice: serv: waiting for 
warmup
[19/Sep/2002:10:18:56][582.-1610609172][-main-] Notice: serv: warmed up
[19/Sep/2002:10:18:56][582.-1610609172][-main-] Notice: socks: idle
[19/Sep/2002:10:18:56][582.-1610609172][-main-] Notice: sched: idle
[19/Sep/2002:10:18:56][582.-1610609172][-main-] Notice: nssock: listening 
on 127.0.0.1:8080
[19/Sep/2002:10:18:56][582.11821360][-nssock-] Notice: nssock: starting
[19/Sep/2002:10:18:56][582.11821360][-nssock-] Notice: nssock: accepting 
connections
                                
pointing my browser to http://127.0.0.1:8080/
Request Error
Server startup failed: Error during bootstrapping


invalid command name "db_qd_load_query_file"
    while executing
"db_qd_load_query_file $file"
    (procedure "apm_bootstrap_load_queries" line 26)
    invoked from within
"apm_bootstrap_load_queries acs-tcl"

AOLserver/3.3.1+ad13 on http://localhost:8080
This last (?) remaining problem is the same discussed mentioned by Walter. https://openacs.org/bboard/q-and-a-fetch-msg.tcl?msg_id=0002mP&topic_id= OpenACS&t opic=11). I am using a http download of the Open ACS 4.5 distribution. How involved is the process of installing "a cvs checkout of the development branch"..... Thanks again..........