Dear Maurizio,
actually, there were four different errors in the log file:
a) ORACLE_HOME not set
[21/Apr/2008:21:07:50][5000.4828][-conn:0-] Error: Error sourcing c:/aolserver/servers/openacs/packages/acs-bootstrap-installer/installer/install.tcl:
(read trace on "env(env)")
invoked from within
"file join $env(ORACLE_HOME) bin sqlplus"
i can't say how serious this is, since surprisingly, most stuff is loaded correctly. With this problem, "db_source_sql_file" is be broken.
Do you have the environment variable ORACLE_HOME set?
b) incorrect path:
[21/Apr/2008:21:12:34][2460.5568][-conn:0-] Notice: Loading data file c:/aolserver/servers/openacs/packages/ref-timezones/sql/oracl
e/00-timezones.ctl...
[21/Apr/2008:21:12:35][2460.5568][-conn:0-] Notice: SQL*Loader: Release 10.2.0.3.0 - Production on Mon Apr 21 21:12:35 2008[21/Apr/2008:21:12:35][2460.5568][-conn:0-] Notice: Copyright (c) 1982, 2005, Oracle. All rights reserved.
[21/Apr/2008:21:12:35][2460.5568][-conn:0-] Error: apm_package_install: Error installing Reference Data - Timezone version 5.4.1: SQL*Loader-500: Unable to open file (s2cs.)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
SQL*Loader-500: Unable to open file (s2cs.)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
while executing
"close $fd"
(procedure "db_load_sql_data" line 32)
invoked from within
"db_load_sql_data -callback $callback $path/$file_path"
(procedure "apm_package_install_data_model" line 52)
invoked from within
"apm_package_install_data_model -callback $callback -data_model_files $data_model_files $spec_file_path"
invoked from within
Here "db_load_sql_data" fails, which loads CSV formatted data. In the concrete case, it fails to load Timezone data, which has no immediate problem on loading the packages, but will cause troubles later. I would suggest that you add an "ns_log notice ..." statement to output the "file" which it tries to open, which the code assumes that it exists.
Most likely, you should see the same error under postgres.
(c) tsearch 2
21/Apr/2008:21:18:48][4860.3732][-conn:4-] Notice: ********** STARTING BEFORE-INSTALL CALLBACK ****************
[21/Apr/2008:21:18:48][4860.3732][-conn:4-] Error: nsoracle.c:3905:<unknown>: error in `OCIStmtExecute ()': ORA-00942: table or view do
es not existSQL: select typname from !>>>!pg_type where typname='tsvector'
[21/Apr/2008:21:18:48][4860.3732][-conn:4-] Error: apm_package_install: Error installing Tsearch2 Driver version 5.4.1: nsoracle.c:3905
:<unknown>: error in `OCIStmtExecute ()': ORA-00942: table or view does not exist
Don't install tsearch2 under Oracle, this is postgres only. For Oracle, there is the "intermedia" driver for full text search. Last time i tried to install that under Oracle, it did not work out of the box, but worked after some more tweaks, but i was not sure if that was a local installation problem. I think that people at UNED work on that issue for the forthcoming release, so i would suggest that you wait for this.
d) categories:
[21/Apr/2008:21:19:29][4860.3732][-conn:4-] Notice: --try en:categories-portlet -> 0, ::818 ::xowiki::Package->resolve_request (395ms, 0ms)
[21/Apr/2008:21:19:29][4860.3732][-conn:4-] Error: nsoracle.c:3905:<unknown>: error in `OCIStmtExecute ()': ORA-00904: "WIDGET": invalid identifierSQL:
select tree_id, subtree_category_id, assign_single_p,
require_category_p, !>>>!widget
from category_tree_map
where object_id = :object_id
This is the error, you saw in XoWiki, but this is a problem with categories. We had some discussing already about the column "widget" that was introduced lately https://openacs.org/forums/message-view?message_id=1470107
It seems to me, as if the installed data model does NOT contain the column "widget" in the category_tree_map, but the query does. Maybe an incomplete rollback, since it seems to work under postgres?
What version of categories do you use?
The good news is that XoWiki seems to work well.
-gustaf