http://aolserver.com/docs/admin/dbadmin.html
or the reference config:
http://aolserver.com/docs/admin/config-reference.tcl.txt
and not even in the reference db config:
http://aolserver.com/docs/admin/sample-db-config.tcl.txt
no wonder it catches everyone! :-)
thanks Steve! now how do we get this info into all the appropriate docs?
--dan
----------------------------------------
dan chak
web: http://www.chak.org
cell: 617-308-7699
home: 206-329-2259
fax: 240-248-8089
On Dec 13, 2004, at 12:59 AM, Steve Manning wrote:
Dan
You now have to load the nsdb module separately but don't worry cos this catches everyone out when they move from 3 to 4.
In your
ns_section ns/server/${server}/modules
add
ns_param�� nsdb�������������� ${bindir}/nsdb.so
��� Steve
On Mon, 2004-12-13 at 04:28, Dan Chak wrote:
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.
Steve Manning
Systems Engineer
Du Maurier Ltd
Tel: +44 (0)116 284 9661
Fax: +44 (0)116 284 9145
Email: [EMAIL PROTECTED]
Any views expressed in this email and any attachments are the senders own and do not represent the views of Du Maurier Limited. This email and any attachments should only be read by those persons to whom it is addressed. Accordingly, we disclaim all responsibility and accept no liability (including negligence) for the consequences of any person other than the intended recipients acting , or refraining from acting, on such information. If you have received this email in error, please accept our apologies and we simply request that you delete the email and any attachments. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this email is strictly prohibited.
Du Maurier Limited, Tel +44 (0)116 2849661. Fax +44 (0)116 2849145
--
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.
