Forum OpenACS Q&A: OpenACS Newbie: Installation error on solaris
I've checked out dotlrn-2-1-1-final from cvs and tried to install it on a solaris box. I have aolserver40r10 and postgresql 7.4.6 installed. I get the following error. Can anybody help me out?
Thanks,
Freddy.
[16/Feb/2005:13:06:55][16329.9][-driver-] Notice: driver: accepting connections
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Debug: NO FULLQUERY FOR dbqd.acs-tcl.tcl.00-database-procs.db_table_exists.table_count --> using default SQL
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Notice: Querying '
select count(*) from pg_class
where relname = lower('acs_objects') and
relname !~ '^pg_' and relkind = 'r';'
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Notice: dbinit: sql(localhost::lams): '
select count(*) from pg_class
where relname = lower('acs_objects') and
relname !~ '^pg_' and relkind = 'r'
'
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Notice:
DAVEB pghost = '' pgport = '' pguser = '-U lamsdev'
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Debug: NO FULLQUERY FOR dbqd.acs-bootstrap-installer.installer.install_do_data_model_install.db_types_exists --> using default SQL
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Notice: Querying '
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types;'
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Error: Ns_PgExec: result status: 7 message: ERROR: relation "apm_package_db_types" does not exist
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Error: dbinit: error(localhost::lams,ERROR: relation "apm_package_db_types" does not exist
): '
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types'
[16/Feb/2005:13:07:10][16329.8][-conn:lams::4] Error: Error sourcing /var/lib/aolserver/lams/packages/acs-bootstrap-installer/installer/install.tcl:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
ERROR: relation "apm_package_db_types" does not exist
SQL:
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types
while executing
"ns_pg_bind 0or1row nsdb0 {
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types}"
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
("postgresql" arm line 2)
invoked from within
"switch $driverkey {
oracle {
return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
}
..."
invoked from within
"db_exec 0or1row $db $full_name $sql"
invoked from within
"set selection [db_exec 0or1row $db $full_name $sql]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
set selection [db_exec 0or1row $db $full_name $sql]
}"
(procedure "db_string" line 8)
invoked from within
"db_string db_types_exists "
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types""
(procedure "install_do_data_model_install" line 16)
invoked from within
"install_do_data_model_install"
invoked from within
"if { ![install_good_data_model_p] } {
install_do_data_model_install
} else {
ns_write "Kernel data model already installed."
# If kernel i..."
(file "/var/lib/aolserver/lams/packages/acs-bootstrap-installer/installer/install.tcl" line 37)
invoked from within
"source $__file "
[16/Feb/2005:13:07:11][16329.8][-conn:lams::4] Warning: tclfilter: install_handler return invalid result:
[16/Feb/2005:13:07:12][16329.8][-conn:lams::4] Debug: apm_attribute_value domNode0x81725a8 name --> dotlrn
[16/Feb/2005:13:07:12][16329.8][-conn:lams::4] Debug: apm_attribute_value domNode0x81725a8 pretty-name dotlrn --> .LRN
[16/Feb/2005:13:07:12][16329.8][-conn:lams::4] Debug: apm_attribute_value domNode0x81725a8 home --> https://openacs.org/projects/dotlrn
[16/Feb/2005:13:07:12][16329.8][-conn:lams::4] Debug: apm_attribute_value domNode0x81725a8 min_stack_size 128 --> 512
[16/Feb/2005:13:07:12][16329.8][-conn:lams::4] Debug: NO FULLQUERY FOR dbqd.acs-tcl.tcl.00-database-procs.db_table_exists.table_count --> using default SQL
[16/Feb/2005:13:07:12][16329.8][-conn:lams::4] Notice: Querying '
select count(*) from pg_class
where relname = lower('apm_packages') and
relname !~ '^pg_' and relkind = 'r';'
[16/Feb/2005:13:07:12][16329.8][-conn:lams::4] Notice: dbinit: sql(localhost::lams): '
select count(*) from pg_class
where relname = lower('apm_packages') and
relname !~ '^pg_' and relkind = 'r'
'