New errors encountered !!!
My Installation:
OpenACS4.6/dotLRN from CVS + nsd4 from AOLserver_4-0_plus_2003-02-07.msi + Postgresql7.2.4 from CVS on cygwin
AOLserver boots up perfectly (dun really need to refresh a few times like before) but encountered some error messages in the command console and the cygwin bash shell as per below after installing the data model but still presented with the next button (after I do a refresh on the browser) with the message "Data model installed" in the browser.
Errors Message in c:\WINNT\System32\cm.exe - bin\nsd.exe -f -t openacs4.tcl
------------------------------------------------------------
[11/Mar/2003:21:57:56][1784.796][-conn:openacs4::0] Error: Error sourcing /web/o
penacs4/packages/acs-bootstrap-installer/installer/install-data-model.tcl:
psql:groups-body-create.sql:220: ERROR: ProcedureCreate: cannot change return t
ype of existing function.
Use DROP FUNCTION first.
invoked from within
"db_source_sql_file -callback apm_dummy_callback "acs-kernel-create.sql""
(file "/web/openacs4/packages/acs-bootstrap-installer/installer/install-data
-model.tcl" line 31)
invoked from within
"source $__file "
------------------------------------------------------------
1. Error Message (within dashed lines above) in cygwin bash shell where i run postmaster (postmaster -i)
Administrator@winsvr ~
$ postmaster -i
LOG: database system was shut down at 2003-03-11 21:53:27 MPST
LOG: checkpoint record is at 0/1748FF0
LOG: redo record is at 0/1748FF0; undo record is at 0/0; shutdown TRUE
LOG: next transaction id: 10048; next oid: 29345
LOG: database system is ready
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'acs_function_arg
s_pk' for table 'acs_function_args'
NOTICE: CREATE TABLE / UNIQUE will create implicit index 'acs_function_args_un'
<snip...>
NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s)
NOTICE: CreateTrigger: changing return type of function acs_permissions_lock_tr
() from OPAQUE to TRIGGER
NOTICE: CreateTrigger: changing return type of function membership_rels_in_tr()
from OPAQUE to TRIGGER
NOTICE: CreateTrigger: changing return type of function membership_rels_up_tr()
from OPAQUE to TRIGGER
NOTICE: CreateTrigger: changing return type of function membership_rels_del_tr(
) from OPAQUE to TRIGGER
------------------------------------------------------------
ERROR: ProcedureCreate: cannot change return type of existing function.
Use DROP FUNCTION first.
------------------------------------------------------------
NOTICE: CreateTrigger: changing return type of function composition_rels_del_tr
() from OPAQUE to TRIGGER
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'sec_session_prop
erties_pkey' for table 'sec_session_properties'
<snip...>
After clicking the next button the following error messages in both console windows, "Completing Install sequence by mounting the main site and other core packages." can be seen in the browser window
Error Messages after I click the next button:
<snip...>
[11/Mar/2003:21:55:21][1784.1752][-main-] Notice: Loading packages/acs-tcl/tcl/x
ml-2-procs.tcl...
[11/Mar/2003:21:55:21][1784.1752][-main-] Notice: Multiple definition of util_me
moize in /web/openacs4/packages/acs-tcl/tcl/memoize-procs.tcl and /web/openacs4/
packages/acs-bootstrap-installer/bootstrap.tcl
[11/Mar/2003:21:55:21][1784.1752][-main-] Notice: Installation is not complete -
sourcing the installer.
[11/Mar/2003:21:55:21][1784.1752][-main-] Notice: Sourcing files for postload...
[11/Mar/2003:21:55:21][1784.1752][-main-] Notice: Done.
[11/Mar/2003:21:55:21][1784.1752][-main-] Notice: Executing initialization code
blocks...
[11/Mar/2003:21:55:22][1784.1752][-main-] Notice: nsmain: AOLserver/4.0 running
[11/Mar/2003:21:55:22][1784.1356][-sched-] Notice: sched: starting
[11/Mar/2003:21:55:22][1784.1752][-main-] Notice: nssock: listening on 192.168.1
.1:80
[11/Mar/2003:21:55:22][1784.1644][-driver-] Notice: starting
[11/Mar/2003:21:55:22][1784.1644][-driver-] Notice: driver: accepting connection
s
------------------------------------------------------------
[11/Mar/2003:21:57:56][1784.796][-conn:openacs4::0] Error: Error sourcing /web/o
penacs4/packages/acs-bootstrap-installer/installer/install-data-model.tcl:
psql:groups-body-create.sql:220: ERROR: ProcedureCreate: cannot change return t
ype of existing function.
Use DROP FUNCTION first.
invoked from within
"db_source_sql_file -callback apm_dummy_callback "acs-kernel-create.sql""
(file "/web/openacs4/packages/acs-bootstrap-installer/installer/install-data
-model.tcl" line 31)
invoked from within
"source $__file "
------------------------------------------------------------
[11/Mar/2003:22:33:59][1784.796][-conn:openacs4::0] Notice: Loading acs-tcl init
file utilities-init.tcl
<snip...>
[11/Mar/2003:22:34:07][1784.796][-conn:openacs4::0] Notice: APM/QD = DONE loopin
g through files to load queries from
NOTICE: Adding missing FROM-clause entry for table "acs_object_id_seq"
------------------------------------------------------------
[11/Mar/2003:22:34:07][1784.796][-conn:openacs4::0] Error: <p><font color=red>Ac
s-core-docs not installed.</font>
<p> Error:
<pre><blockquote>no such cache: util_memoize</blockquote><blockquote>no such cac
he: util_memoize
while executing
"ns_cache flush util_memoize $script"
(procedure "util_memoize_flush" line 2)
invoked from within
"util_memoize_flush [list apm_package_installed_p_not_cached $package_key]&
quot;
(procedure "apm_package_install" line 139)
invoked from within
"apm_package_install -callback $callback $spec_file"</blockquote></pre
<blockquote>
</blockquote>
------------------------------------------------------------
[11/Mar/2003:22:34:07][1784.796][-conn:openacs4::0] Notice: APM/QD = loading up
package query files for skin
[11/Mar/2003:22:34:07][1784.796][-conn:openacs4::0] Notice: APM: Query files for
skin:
[11/Mar/2003:22:34:07][1784.796][-conn:openacs4::0] Notice: INSTALL-HACK-LOG-BEN
: version_id is 175
[11/Mar/2003:22:34:08][1784.796][-conn:openacs4::0] Notice: APM/QD = DONE loopin
g through files to load queries from
------------------------------------------------------------
[11/Mar/2003:22:34:08][1784.796][-conn:openacs4::0] Error: <p><font color=red>Sk
in not installed.</font>
<p> Error:
<pre><blockquote>no such cache: util_memoize</blockquote><blockquote>no such cac
he: util_memoize
while executing
"ns_cache flush util_memoize $script"
(procedure "util_memoize_flush" line 2)
invoked from within
"util_memoize_flush [list apm_package_installed_p_not_cached $package_key]&
quot;
(procedure "apm_package_install" line 139)
invoked from within
"apm_package_install -callback $callback $spec_file"</blockquote></pre
<blockquote>
</blockquote>
[11/Mar/2003:22:34:09][1784.796][-conn:openacs4::0] Error: Error sourcing /web/o
penacs4/packages/acs-bootstrap-installer/installer/packages-install.tcl:
psql:acs-install.sql:76: WARNING: Error occurred while executing PL/pgSQL funct
ion inline_0
psql:acs-install.sql:76: WARNING: line 20 at SQL statement
psql:acs-install.sql:76: ERROR: Relation "application_groups" does not exist
invoked from within
"db_source_sql_file -callback apm_dummy_callback acs-install.sql"
invoked from within
"if { ![ad_acs_admin_node] } {
ns_write " <p><li> Completing Install sequence by mounting the main site an
d other core packages.<p>
<blockquot..."
(file "/web/openacs4/packages/acs-bootstrap-installer/installer/packages-ins
tall.tcl" line 44)
invoked from within
"source $__file "
------------------------------------------------------------
2. Error Message (within dashed lines above) in cygwin bash shell after clicking the next button
NOTICE: Adding missing FROM-clause entry for table "acs_object_id_seq"
NOTICE: Adding missing FROM-clause entry for table "acs_object_id_seq"
ERROR: Relation "application_groups" does not exist
WARNING: Error occurred while executing PL/pgSQL function inline_0
WARNING: line 20 at SQL statement
Question 1
Any idea on the above errors?
Question 2
Should I used Postgres7.3.2-1 src that i downloaded via cygwin?, (It comes with some specific cygwin patches, installation of postgres was flawles if i use this version - i.e no funny error message while compiling) but decided to used the 7.2.x vesion as i read somewhere that dotLRN doesnt really work well with the 7.3.x revision.
Question 3
I was told to download the latest tarball for OpenACS 4.6.1 ver. beta 2 that will soon be a release. Will this clear up all the errors that I'm getting above?
Question 4
Somehow I'd never successfully run postmaster as a service as per the instrcutions in the OpenACS on Windows <http://empoweringminds.mle.ie/openacs/index.html>: Installing PostgreSQL
4. Install PostgreSQL as a service that depends on ipc-daemon. Run the following commands from a Win2k cmd prompt:
cygrunsrv -I postmaster -p /usr/bin/postmaster -a "-D /usr/share/postgresql/data -i" -y ipc-daemon -s INT -o
net start postmaster
It says starting service and then dies off with no specific error message execpt the service could not be started (My ipc-daemon is running)
Cheers and thanks again for your kind help !!!!