Forum OpenACS Development: psql:acs-install.sql:170: ERROR:

Collapse
Posted by Antonio Laterza on
Hi, I already posted it in other thread (OpenACS4.x/Postgres7.x installation guide) maybe that isn't the right place... So:
I'm using RH 7.0
  • Unistalled old postregs7.0.3 and installed postgres-7.1*rpm distribution.
  • Installed Aolserver3.2+ad12
  • Changed the configuration section for postgres driver
    # section added for openacs 4.x
    ns_section ns/db/driver/postgres
        ns_param   pgbin        /usr/bin
    
  • Compiled ns_xml module
  • Started aolserver with ./bin/nsd -k .tcl
  • Start installation from http://:
Then the installation stop with the message:
psql:acs-install.sql:170: ERROR:  Function
'acs__magic_object_id(unknown)' does not exist
        Unable to identify a function that satisfies the given
argument types
        You may need to add explicit typecasts
psql:acs-install.sql:177: ERROR:  Function
'acs__magic_object_id(unknown)' does not exist
        Unable to identify a function that satisfies the given
argument types
        You may need to add explicit typecasts

    invoked from within
"db_source_sql_file -callback apm_ns_write_callback
acs-install.sql"
    invoked from within
"if { ![ad_acs_admin_node] } {
    ns_write "  <p><li> Completing Install
sequence.<p>
    <blockquote><pre>"
    cd [file join [acs_root_dir] packages..."
    (file
"/web/tahder/packages/acs-tcl/installer/packages-install.tcl"
line 34)
    invoked from within
"source $path"
Collapse
Posted by Don Baccus on
/acs-tcl/installer/packages-install.tcl
The acs-tcl installer directory no longer exists, I've made a new acs-bootstrap-installer package which does all the initial PG or Oracle install work.

Trying doing a cvs update -d -P to get new directories and to prune no longer needed directories, drop your db, recreate and start over.