Forum OpenACS Q&A: Re: OpenACS 5.1.0 & Solaris Install problem

Collapse
Posted by azlina danyal on
Hi,

error.log with debug true, I'm still not sure what's the problem here.

Thanks,
ina...

18/Jun/2004:03:08:42][3274.1][-main-] Notice: nssock: listening on 10.5.13.231:8000
[18/Jun/2004:03:08:42][3274.12][-driver-] Notice: starting
[18/Jun/2004:03:08:42][3274.12][-driver-] Notice: driver: accepting connections
[18/Jun/2004:03:10:33][3274.6][-conn:service0::0] Debug: NO FULLQUERY FOR dbqd.acs-tcl.tcl.00-database-procs.db_table_exists\
.table_count --> using default SQL
[18/Jun/2004:03:10:33][3274.6][-conn:service0::0] Notice: Querying '
                select count(*) from pg_class
                where relname = lower('apm_packages') and
                    relname !~ '^pg_' and relkind = 'r';'
[18/Jun/2004:03:10:33][3274.6][-conn:service0::0] Notice: dbinit: sql(localhost::service0): '
                select count(*) from pg_class
                where relname = lower('apm_packages') and
                    relname !~ '^pg_' and relkind = 'r'
            '
[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Debug: NO FULLQUERY FOR dbqd.acs-tcl.tcl.00-database-procs.db_table_exists\
.table_count --> using default SQL
[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Notice: Querying '
                select count(*) from pg_class
                where relname = lower('acs_objects') and
                    relname !~ '^pg_' and relkind = 'r';'
[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Notice: dbinit: sql(localhost::service0): '
                select count(*) from pg_class
                where relname = lower('acs_objects') and
                    relname !~ '^pg_' and relkind = 'r'
            '
[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Debug: NO FULLQUERY FOR dbqd.acs-bootstrap-installer.installer.install_do_\
data_model_install.db_types_exists --> using default SQL
[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Notice: Querying '
        select case when count(*) = 0 then 0 else 1 end from apm_package_db_types;'
[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Error: Ns_PgExec: result status: 7 message: ERROR:  relation "apm_package_\
db_types" does not exist

[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Error: dbinit: error(localhost::service0,ERROR:  relation "apm_package_db_\
types" does not exist
): '
        select case when count(*) = 0 then 0 else 1 end from apm_package_db_types'
[18/Jun/2004:03:11:36][3274.7][-conn:service0::1] Error: Error sourcing /var/lib/aolserver/service0/packages/acs-bootstrap-i\
nstaller/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/service0/packages/acs-bootstrap-installer/installer/install.tcl" line 37)
    invoked from within
"source $__file "