Forum OpenACS Development: PROBLEM WITH OPENACS 4.6 INSTALLATION!

I'm installing openacs and dotlrn following the <a href="/doc/openacs-4/unix-install.html>instrutions </a> given in this website and i get it well until reach the <pre>OpenACS Installation: Welcome</pre> page, but after i click the <pre>Next</pre> button i get the error describe in the log file bellow.
I'm using postgresql 7.2.3, aolserver 3.3+ad13 in redhat 8.0.

<pre>
[31/Mar/2003:12:53:13][1440.8192][-main-] Notice: nsmain: AOLserver/3.3.1+ad13 starting
[31/Mar/2003:12:53:13][1440.8192][-main-] Notice: nsmain: security info: uid=500, euid=500, gid=500, egid=500
[31/Mar/2003:12:53:13][1440.8192][-main-] Notice: nsmain: max files: FD_SETSIZE = 1024, rl_cur =
1024, rl_max = 1024
[31/Mar/2003:12:53:13][1440.8192][-main-] Notice: return: redirecting '404' to 'global/file-not-found.html'
[31/Mar/2003:12:53:13][1440.8192][-main-] Notice: return: redirecting '403' to 'global/forbidden.html'
[31/Mar/2003:12:53:13][1440.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/postgres.so'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: PostgreSQL loaded.
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: adp: mapped /*.adp
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nssock.so'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nslog.so'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: nslog: opened '/home/admin/web/openacs/log/access.log'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nssha1.so'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nscache.so'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: nscache module version @VER@
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nsrewrite.so'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nsxml.so'
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: nsxml module starting
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: conf: [ns/server/openacs]enabletclpages = 0
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: Loading OpenACS, rooted at /home/admin/web/openacs
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: Sourcing /home/admin/web/openacs/packages/acs-bootstrap-installer/bootstrap.tcl
[31/Mar/2003:12:53:14][1440.8192][-main-] Notice: Bootstrap: sourcing /home/admin/web/openacs/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Bootstrap: sourcing /home/admin/web/openacs/packages/acs-bootstrap-installer/tcl/10-utilities-procs.tcl
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Bootstrap: sourcing /home/admin/web/openacs/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-procs.tcl
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Bootstrap: sourcing /home/admin/web/openacs/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Bootstrap: sourcing /home/admin/web/openacs/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Database API: Default database (dbn) is: 'default'
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Database API: Using ALL database pools for OpenACS.
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Database API: The following pools are available for OpenACS: pool2 pool3 pool1
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: dbdrv: opening database 'postgres:localhost::openacs'
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Opening openacs on localhost
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Ns_PgOpenDb(postgres):  Openned connection to localhost::openacs.
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: dbdrv: opening database 'postgres:localhost::openacs'
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Opening openacs on localhost
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Ns_PgOpenDb(postgres):  Openned connection to localhost::openacs.
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: dbdrv: opening database 'postgres:localhost::openacs'
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Opening openacs on localhost
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Ns_PgOpenDb(postgres):  Openned connection to localhost::openacs.
[31/Mar/2003:12:53:15][1440.8192][-main-] Notice: Bootstrap: Loading acs-tcl
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/00-database-procs-postgresql.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/00-database-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/10-charset-compat-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/30-xml-utils-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/acs-kernel-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/acs-permissions-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/acs-private-data-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/admin-procs.tcl...[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/adp-parser-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/aolserver-3-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/apm-file-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/apm-install-procs.tcl...
[31/Mar/2003:12:53:16][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/apm-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/apm-xml-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/community-core-2-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/community-core-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/defs-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/deprecated-utilities-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/document-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/exception-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/form-processing-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/membership-rel-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/memoize-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/navigation-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/object-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/object-type-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/openacs-kernel-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/parameter-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/request-processor-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/rollout-email-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/security-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/server-cluster-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/set-operation-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/site-node-apm-integration-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/site-node-object-map-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/site-nodes-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/sql-statement-procs.tcl...
[31/Mar/2003:12:53:17][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/table-display-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/tcl-documentation-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/text-html-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/user-extensions-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/utilities-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/widgets-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/xml-0-sgml-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/xml-1-dom-procs.tcl...
[31/Mar/2003:12:53:18][1440.8192][-main-] Notice: Loading packages/acs-tcl/tcl/xml-2-procs.tcl...[31/Mar/2003:12:53:19][1440.8192][-main-] Notice: Multiple definition of util_memoize in /home/admin/web/openacs/packages/acs-tcl/tcl/memoize-procs.tcl and /home/admin/web/openacs/packages/acs-bootstrap-installer/bootstrap.tcl
[31/Mar/2003:12:53:19][1440.8192][-main-] Notice: Bootstrap: Installation is not complete - sourcing the installer.
[31/Mar/2003:12:53:19][1440.8192][-main-] Notice: Sourcing files for postload...
[31/Mar/2003:12:53:19][1440.8192][-main-] Notice: Done.
[31/Mar/2003:12:53:19][1440.8192][-main-] Notice: Executing initialization code blocks...
[31/Mar/2003:12:53:20][1440.8192][-main-] Error: Query dbqd.www.index-oracle.site_nodes is *NOT*
compatible
[31/Mar/2003:12:53:20][1440.8192][-main-] Notice: tcl: generating interp init script
[31/Mar/2003:12:53:20][1440.8192][-main-] Warning: keepalive: insufficient maxkeepalive 0: keepalive disabled
[31/Mar/2003:12:53:20][1440.8192][-main-] Notice: nsmain: AOLserver/3.3.1+ad13 running
[31/Mar/2003:12:53:20][1440.8192][-main-] Notice: nsmain: security info: uid=500, euid=500, gid=500, egid=500
[31/Mar/2003:12:53:20][1440.16387][-sched-] Notice: sched: starting
[31/Mar/2003:12:53:22][1440.8192][-main-] Notice: serv: waiting for warmup
[31/Mar/2003:12:53:22][1440.8192][-main-] Notice: serv: warmed up
[31/Mar/2003:12:53:22][1440.8192][-main-] Notice: socks: idle
[31/Mar/2003:12:53:22][1440.8192][-main-] Notice: sched: idle
[31/Mar/2003:12:53:22][1440.8192][-main-] Notice: nssock: listening on 127.0.0.1:8000
[31/Mar/2003:12:53:22][1440.65545][-nssock-] Notice: nssock: starting
[31/Mar/2003:12:53:22][1440.65545][-nssock-] Notice: nssock: accepting connections
[31/Mar/2003:12:59:30][1440.49159][-conn3-] Notice: Populating apm_package_db_types
[31/Mar/2003:12:59:30][1440.49159][-conn3-] Notice: Multiple definition of ad_acs_kernel_id in /home/admin/web/openacs/packages/acs-tcl/tcl/request-processor-procs.tcl and /home/admin/web/openacs/packages/acs-tcl/tcl/20-memoize-init.tcl
[31/Mar/2003:12:59:30][1440.49159][-conn3-] Error: Error sourcing /home/admin/web/openacs/packages/acs-bootstrap-installer/installer/install-data-model.tcl:
unknown command
    while executing
"ns_xml node get attr $element $attribute"
    (procedure "apm_attribute_value" line 3)
    invoked from within
"apm_attribute_value $element $attribute"
    (procedure "apm_required_attribute_value" line 2)
    invoked from within
"apm_required_attribute_value $package key"
    (procedure "apm_read_package_info_file" line 45)
    invoked from within
"apm_read_package_info_file $spec_file_path"
    (procedure "apm_package_install" line 4)
    invoked from within
"apm_package_install -callback apm_dummy_callback "[file join [acs_root_dir] packages acs-kernel
acs-kernel.info]""
    invoked from within
"apm_version_enable -callback apm_dummy_callback [apm_package_install -callback apm_dummy_callback "[file join [acs_root_dir] packages acs-kernel acs-k..."
    (file "/home/admin/web/openacs/packages/acs-bootstrap-installer/installer/install-data-model.tcl" line 67)
    invoked from within
"source $__file "
</pre>

I would really appreciate it if any of you could help me figure out the problem. Tanks.

Collapse
Posted by Tilmann Singer on
Upgrade nsxml to the latest version 1.5 from the aolserver site.
Collapse
Posted by Peter Marklund on
Tilman is probably proposing the right solution here. However, you should know that it looks like your sources are old. Try invoking:

cvs status packages/acs-tcl/tcl/apm-xml-procs.tcl

If you are on 4-6 you should be on version 1.11.2.4. Don provided a workaround for old nsxml modules in version 1.11.2.2 and I merged that workaround over to head today as I had this very same problem.

Collapse
Posted by jorge freitas on
Tilmann,i already have nsxml 1.5. Peter, i get this when i done:
cvs status packages/acs-tcl/tcl/apm-xml-procs.tcl
File: apm-xml-procs.tcl Status: Needs Patch

   Working revision:    1.18
   Repository revision: 1.19    /cvsroot/openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)
Any sugestions.I'm new at this. Tanks one more time.
Collapse
Posted by Peter Marklund on
Jorge,
the output from cvs status means that you are on cvs head (what will be release 4.7 eventually) and not on the 4.6 release branch. If you cvs update the file you should fix this particular problem though.

In general, unless you need I18N, I recommend for reliability that you checkout openacs with the -r oacs-4-6 switch and checkout dotlrn with the -r dotlrn-1-0 switch.

Collapse
Posted by jorge freitas on
Peter, I made a new installation using the instructions that you give me.I'm now in the
Openacs installation:welcome
page. I look at the log file and i found the following error:
[31/Mar/2003:16:38:00][1720.8192][-main-] Error: Query dbqd.www.index-oracle.site_nodes is *NOT*
compatible
It's safe to ignored and continue? Tanks.
Collapse
Posted by Peter Marklund on
Jorge,
you can ignore the error message.

It seems on a PG server you get an error message about dbqd.www.index-oracle.site_nodes not being compatible and on an Oracle server it will say that dbqd.www.index-postgresql.site_nodes is not compatible. I don't know why this happens.

I made the error message a little more informative by including both the query and system db versions.

Collapse
Posted by jorge freitas on
Peter,
I'm in the final stage of the installation but after i restart the server, i reload the final page and get the following error describe in the log bellow:

...
<pre>
[31/Mar/2003:17:52:21][1963.8192][-main-] Notice: nssock: listening on 127.0.0.1:8000
[31/Mar/2003:17:52:21][1963.65545][-nssock-] Notice: nssock: starting
[31/Mar/2003:17:52:21][1963.65545][-nssock-] Notice: nssock: accepting connections
[31/Mar/2003:17:53:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:17:53:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:17:53:51][1963.32773][-conn1-] Notice: Security: 1049129631 sec_generate_session_id_cookie setting 1, 0.
[31/Mar/2003:17:53:51][1963.32773][-conn1-] Notice: random: generating 1 seeds
[31/Mar/2003:17:53:52][1963.32773][-conn1-] Notice: ns_getform using encoding iso8859-1 for charset iso-8859-1
[31/Mar/2003:17:53:53][1963.32773][-conn1-] Notice: RP (2303.981 ms): error in rp_handler: serving GET /?done_p=1
        ad_url "/" maps to file "/home/admin/web/openacs/www/index.adp"
errmsg is invalid command name "util_get_current_url"
[31/Mar/2003:17:53:53][1963.32773][-conn1-] Error: GET http://localhost:8000/?done_p=1
referred by "http://localhost:8000/site-info?email=jorge%5ffreitas%40portugalmail%2ept"
invalid command name "util_get_current_url"
    while executing
"util_get_current_url]"
    invoked from within
"subst {[util_get_current_url]}"
    ("uplevel" body line 1)
    invoked from within
"subst {[util_get_current_url]}"
    ("uplevel" body line 1)
    invoked from within
"uplevel subst \{[lindex $var_spec 1]\}"
    (procedure "export_vars" line 79)
    invoked from within
"export_vars { { return_url [util_get_current_url]} }"
    invoked from within
"set login_url "/register/.?[export_vars { { return_url [util_get_current_url]} }]""
    ("uplevel" body line 16)
    invoked from within
"uplevel {
          set user_id [ad_conn user_id]

if { $user_id != 0 } {
    set user_name [person::name -person_id $user_id]
}

set pvt_home_url [ad_pv..."
    (procedure "code::tcl::/home/admin/web/openacs/www/login-status" line 2)
    invoked from within
"code::tcl::$__adp_stub"
    invoked from within
"if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init tcl $__adp_stub
..."
    ("uplevel" body line 3)
    invoked from within
"uplevel {

    if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init t..."
    (procedure "adp_prepare" line 2)
    invoked from within
"adp_prepare "
    (procedure "template::adp_parse" line 30)
    invoked from within
"template::adp_parse [template::util::url_to_file "login-status" "$__adp_stub"] [list / "/"]"
    invoked from within
"template::adp_parse [template::util::url_to_file "login-status" "$__adp_stub"] [list / "/"]"
    invoked from within
"append __adp_output [template::adp_parse [template::util::url_to_file "login-status" "$__adp_stub"] [list / "/"]]"
    ("uplevel" body line 28)
    invoked from within
"uplevel {
          set __adp_output ""
append __adp_output "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
      \"http://www.w3.org/..."
    (procedure "template::code::adp::/home/admin/web/openacs/www/default-mas..." line 2)
    invoked from within
"template::code::${template_extension}::$__adp_stub"
    (procedure "template::adp_parse" line 57)
    invoked from within
"template::adp_parse $__adp_master  [concat [list __adp_slave $__adp_output] [array get __adp_properties]"
    (procedure "template::adp_parse" line 63)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    invoked from within
"$handler"
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
        $handler
      } ad_script_abort val {
        # do nothing
      }"
    invoked from within
"rp_serve_concrete_file [ad_conn file]"
    (procedure "rp_serve_abstract_file" line 60)
    invoked from within
"rp_serve_abstract_file "$root/$path""
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
        rp_serve_abstract_file "$root/$path"
        set tcl_url2file([ad_conn url]) [ad_conn file]        set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."
[31/Mar/2003:17:54:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:17:54:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:17:55:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:17:55:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:17:56:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:17:56:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:17:57:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:17:57:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:17:58:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:17:58:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:17:59:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:17:59:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:18:00:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:18:00:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[31/Mar/2003:18:01:18][1963.16387][-sched-] Notice: Running scheduled proc search_indexer...
[31/Mar/2003:18:01:18][1963.16387][-sched-] Notice: Done running scheduled proc search_indexer.
</pre>

Whats the problem? I'm so close. Tanks one more time.

Collapse
Posted by Dave Bauer on
I just fixed this problem with the missing proc. Please update your source from CVS.

Also, you might want to stop by the IRC channel for more real time support. https://openacs.org/irc/

Collapse
Posted by jorge freitas on
I done for today. I'll update the source tomorrow and see if it works. Tanks to everyone that reply me.
Collapse
Posted by Carl Coryell-Martin on
I am trying to make ns_xml 1.5 and running into the following
errors:

gcc -I/include/libxml2 -I/export/nsadmin/include -D_REENTRANT=1 -DNDEBUG=1 -g -f
PIC -Wall -Wno-unused -mcpu=i686 -DHAVE_CMMSG=1 -DUSE_FIONREAD=1 -DHAVE_COND_EIN
TR=1  -c -o nsxml.o nsxml.c
nsxml.c:115:27: libxml/parser.h: No such file or directory
nsxml.c:116:31: libxml/HTMLparser.h: No such file or directory
nsxml.c:117:30: libxml/xmlmemory.h: No such file or directory
nsxml.c:118:26: libxml/xpath.h: No such file or directory
nsxml.c:119:29: libxml/xpointer.h: No such file or directory
nsxml.c:141: parse error before "xmlNewStringInputStream"

Can anyone give me a pointer on how to tell the compiler where the libxml libraries are?

thanks,

carl

Collapse
Posted by Dave Bauer on
Carl,

You need libxml2 and libxml2-dev packages for your distribution.

Collapse
Posted by jorge freitas on
I have install the openacs, and i'm installing dotlrn, i go to the "ACS Package Manager" and install the packages but i get this error during the installation process. ...
[01/Apr/2003:16:26:26][5083.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[01/Apr/2003:16:27:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...
[01/Apr/2003:16:27:26][5083.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[01/Apr/2003:16:27:33][5083.114698][-sched:10-] Notice: Running scheduled proc wf_sweep_time_events...
[01/Apr/2003:16:27:33][5083.114698][-sched:10-] Error: invalid command name "wf_sweep_time_events"
invalid command name "wf_sweep_time_events"
    while executing
"wf_sweep_time_events"
    ("eval" body line 1)
    invoked from within
"eval [concat [list $proc] $args]"
    (procedure "ad_run_scheduled_proc" line 43)
    invoked from within
"ad_run_scheduled_proc {t f 900 wf_sweep_time_events {} 1049209953 0 t}"
[01/Apr/2003:16:28:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...
[01/Apr/2003:16:28:26][5083.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[01/Apr/2003:16:29:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...

...

[01/Apr/2003:16:42:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...
[01/Apr/2003:16:42:26][5083.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[01/Apr/2003:16:42:33][5083.139274][-sched:10-] Notice: Running scheduled proc wf_sweep_time_events...
[01/Apr/2003:16:42:33][5083.139274][-sched:10-] Error: invalid command name "wf_sweep_time_events"
invalid command name "wf_sweep_time_events"
    while executing
"wf_sweep_time_events"
    ("eval" body line 1)
    invoked from within
"eval [concat [list $proc] $args]"
    (procedure "ad_run_scheduled_proc" line 43)
    invoked from within
"ad_run_scheduled_proc {t f 900 wf_sweep_time_events {} 1049209953 0 t}"
[01/Apr/2003:16:43:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...
[01/Apr/2003:16:43:26][5083.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[01/Apr/2003:16:44:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...

...

[01/Apr/2003:16:57:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...
[01/Apr/2003:16:57:26][5083.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[01/Apr/2003:16:57:33][5083.163850][-sched:10-] Notice: Running scheduled proc wf_sweep_time_events...
[01/Apr/2003:16:57:33][5083.163850][-sched:10-] Error: invalid command name "wf_sweep_time_events"
invalid command name "wf_sweep_time_events"
    while executing
"wf_sweep_time_events"
    ("eval" body line 1)
    invoked from within
"eval [concat [list $proc] $args]"
    (procedure "ad_run_scheduled_proc" line 43)
    invoked from within
"ad_run_scheduled_proc {t f 900 wf_sweep_time_events {} 1049209953 0 t}"
[01/Apr/2003:16:58:11][5083.32773][-conn1-] Notice: Registering user_default_page, , My Calendar
[01/Apr/2003:16:58:11][5083.32773][-conn1-] Notice: Registering main_calendar_package_id, ,
NOTICE:  identifier "apm_package_version__add_interface" will be truncated to "apm_package_version__add_interf"
NOTICE:  identifier "apm_package_version__add_dependency" will be truncated to "apm_package_version__add_depend"
NOTICE:  identifier "apm_package_version__add_dependency" will be truncated to "apm_package_version__add_depend"

...

[01/Apr/2003:16:58:22][5083.32773][-conn1-] Notice: APM/QD = DONE looping through files from which to load queries
[01/Apr/2003:16:58:23][5083.32773][-conn1-] Notice: Creating singleton instance of package dotlrn-static
[01/Apr/2003:16:58:24][5083.32773][-conn1-] Notice: RP (-1518563.801 ms): error in rp_handler: serving POST /acs-admin/apm/packages-install-4
        ad_url "/acs-admin/apm/packages-install-4" maps to file "/home/admin/web/openacs/packages/acs-admin/www/apm/packages-install-4.tcl"
errmsg is no such array: ds_properties
[01/Apr/2003:16:58:24][5083.32773][-conn1-] Error: no such array: ds_properties
no such array: ds_properties
    while executing
"nsv_get ds_properties user_switching_enabled_p"
    (procedure "ds_user_switching_enabled_p" line 2)
    invoked from within
"ds_user_switching_enabled_p"
    (procedure "ds_link" line 3)
    invoked from within
"ds_link"
    (procedure "ad_footer" line 19)
    invoked from within
"ad_footer"
    (procedure "rp_report_error" line 30)
    invoked from within
"rp_report_error"
    (procedure "rp_handler" line 121)
    invoked from within
"rp_handler"
[01/Apr/2003:16:58:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...
[01/Apr/2003:16:58:26][5083.16387][-sched-] Notice: Done running scheduled proc search_indexer.
[01/Apr/2003:16:59:26][5083.16387][-sched-] Notice: Running scheduled proc search_indexer...

...
Can someone help me. Tanks.
Collapse
Posted by Peter Marklund on
Jorge,
I think I understand both of the error messages in your log file. It seems you have tried to install acs-workflow which I don't recommend you to do. I don't know why acs-worklow is still in acs-core when it shouldn't be.

Both error messages arise in a situation during APM package installation where the procs files get sourced but not the init files. This is a bit of a fragile setup but I haven't found the right solution yet.

It turns out acs-workflow schedules a proc from a -procs file which is quite unconventional and I think this is what is causing the error message.

The other error message with developer support I think I've fixed now on the 4.6 branch (cvs update). I had this error message on our dotlrn test servers as well but it didn't keep the install from succeeding.

Collapse
Posted by jorge freitas on
Peter, At this moment i have a problem with the firewall in redhat 8.0. when i can acess openacs i will follow your instructions and hope they work. Tanks.
Collapse
Posted by Raul Rodriguez on

I also have been having problems with OACS 4.6, postgresql 7.2.3, aolserver 3.3+ad13, redhat 8.0. I cannot get aolserver to restart automatically. When I tried to run it manually from root:

[root@localhost root]# /usr/local/aolserver/bin/nsd-postgres -i -u nobody -g web -t /home/dude/web/icann/nsd.tcl
I get:
[02/Apr/2003:16:58:25][1158.8192][-main-] Notice: nsd.tcl: starting to read config file...
[02/Apr/2003:16:58:25][1158.8192][-main-] Warning: nsd.tcl: nsssl not loaded because key/cert files do not exist.
[02/Apr/2003:16:58:25][1158.8192][-main-] Notice: nsd.tcl: finished reading config file.
[02/Apr/2003:16:58:25][1158.8192][-main-] Error: log: failed to re-open log file '/home/dude/web/icann/log/error.log': 'Permission denied'
[02/Apr/2003:16:58:25][1158.8192][-main-] Fatal: log: failed to open server log '/home/dude/web/icann/log/error.log': 'Permission denied'
I have followed the installation instructions and have updated the log permissions as was indicated in the comment section by Ola Hansson. Any ideas?
TIA

Collapse
Posted by jorge freitas on
This maybe a stupid question, but ive got openacs from cvs and i wanna take off the acs-workflow package. I can just delete it from the /package directory? Tanks.
Collapse
Posted by jorge freitas on
Sorry, one more thing, in the dotlrn instructions in the part:
 You will now have an /openacs-4 directory with all of OpenACS required by dotLRN. To double check, your /openacs-4/packages directory should look similar to this:

      $ ls
      acs-admin                acs-kernel            acs-templating  forums
      acs-api-browser          acs-mail              acs-util        general-comments
      acs-bootstrap-installer  acs-mail-lite         acs-workflow    news
      acs-content              acs-messaging         attachments     notifications
      acs-content-repository   acs-notification      bulk-mail       page
      acs-core-docs            acs-reference         calendar        ref-timezones
      acs-datetime             acs-service-contract  CVS             search
      acs-developer-support    acs-subsite           faq             skin
      acs-events               acs-tcl               file-storage    user-preferences
I'm missing the
acs-notification
package, and have a
acs-lang
package. Can someone tell me why? This can afect the installation process? Tanks again.
Collapse
Posted by Peter Marklund on
The instructions are wrong - there is no acs-notification package so this is no reason for you to not proceed. I recommend that you download the beta 1 release of dotlrn and OpenACS from the openacs.org homepage.
Collapse
Posted by jorge freitas on
Tanks.