Forum OpenACS Q&A: Re: OpenACS 5.0 tarball

Collapse
7: Re: OpenACS 5.0 tarball (response to 1)
Posted by Chris Davies on
actually no, I changed that

set user_account        www-data

ns_section ns/db/pool/pool1
ns_param  maxidle            1000000000
ns_param  maxopen            1000000000
ns_param  connections        5
ns_param  verbose            $debug
ns_param  extendedtableinfo  true
ns_param  logsqlerrors      $debug
#if { $database == "oracle" } {
#    ns_param  driver            ora8
#    ns_param  datasource        {}
#    ns_param  user              $db_name
#    ns_param  password          $db_password
#} else {
    ns_param  driver            postgres
    ns_param  datasource        localhost::${db_name}
    ns_param  user              $user_account
    ns_param  password          ""
#}

pool2 and 3 are similarly adjusted

Collapse
8: Re: OpenACS 5.0 tarball (response to 7)
Posted by bill kellerman on
hmm...  i don't think the error you are getting has anything to do with oacs (i could be wrong).  are you sure you compiled the postgres driver correctly?

if you haven't already, you might try downloading and compiling the nspostgres4.0beta1 driver on aolserver.com.  it's the only one i've ever used.  make sure to add the ACS=1 option to your configure statement.