Hello,

I'm trying to upgrade from AOLServer 3.4.2 to 4.0.9.  I get the error:

command "ns_db" is not enabled

when I start the server.  I have compiled the nspostgres driver (both the 3
and 4 series) and otherwise left my configuration file the same.  In the
working 3.4.2 server, I see these messages instead:

Notice: dbdrv: opening database 'postgres:localhost:5432:chak-dev'

However, there's no dbdrv failure message in 4.0.9 before getting the ns_db
error.  The relevant portion of my config is included below.

Any idea how I can fix this?  Everything works fine in 3.4.2....

Thanks,
Dan Chak

#
# postgres
#
ns_section "ns/db/drivers"
ns_param postgres nspostgres.so

ns_section "ns/db/pool/chak"
ns_param Driver       "postgres"
ns_param Connections  "64"
ns_param DataSource   "localhost:5432:chak-dev"
ns_param Verbose      "On"
ns_param ExtendedTableInfo "On"

ns_section "ns/db/pool/subquery"
ns_param Driver       "postgres"
ns_param Connections  "16"
ns_param DataSource   "localhost:5432:chak"
ns_param Verbose      "On"
ns_param ExtendedTableInfo "On"

ns_section "ns/db/pool/log"
ns_param Driver       "postgres"
ns_param Connections  "16"
ns_param DataSource   "localhost:5432:chak-dev"
ns_param Verbose      "On"
ns_param ExtendedTableInfo "On"

ns_section "ns/db/pool/extra"
ns_param Driver       "postgres"
ns_param Connections  "16"
ns_param DataSource   "localhost:5432:chak-dev"
ns_param Verbose      "On"
ns_param ExtendedTableInfo "On"

ns_section "ns/db/pool/extra2"
ns_param Driver       "postgres"
ns_param Connections  "16"
ns_param DataSource   "localhost:5432:chak-dev"
ns_param Verbose      "On"
ns_param ExtendedTableInfo "On"

ns_section "ns/db/pools"
ns_param chak        "chak"
ns_param subquery   "subquery"
ns_param log         "log"
ns_param extra        "extra"
ns_param extra2       "extra2"

ns_section "ns/server/$server/db"
ns_param Pools          "*"
ns_param DefaultPool    "chak"


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to