Hello,
I'm new to aolserver administration. I adjusted some parameters in
hrs.tcl (not related to the database as far as I know), restarted the
server, and began to get these errors:
command "ns_db" is not enabled
I stopped the server, shut Postgres down, restarted it, then restarted
the Aols
Paul,
Take a close look at your server log where the db stuff is initialized and
nspostgres is loaded. ns_db is disabled if nspostgres can't connect to the
database. You should have some info there. You may need to turn on debug.
/s.
> Hello,
>
> I'm new to aolserver administration. I adjuste
Look in the nsd.log file for the server and make sure that the modules
have loaded correctly. This will give you the best indication if something
is wrong.
Darren
Darren Ferguson
Software Engineer
Openband
On Wed, 12 Dec 2001, Paul Warner wrote:
> Hello,
>
> I'm new to aolserver administration
On Wednesday, December 12, 2001, at 01:16 PM, Scott Goodwin wrote:
> Take a close look at your server log where the db stuff is initialized and
> nspostgres is loaded. ns_db is disabled if nspostgres can't connect to the
> database. You should have some info there. You may need to turn on debug.
I
I think the ns_db command will work if the database cannot be connected to.
At start time, nspostgres is loaded and reads it's section from the nsd.tcl
file. If there is an error in that section (typo, not configured properly
etc.) then nspostgres fails to load and ns_db is disabled. Paul has an
e
=
prince [EMAIL PROTECTED]@[EMAIL PROTECTED]:234
82 222418 :234 82 441544
__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.c
On Wednesday, December 12, 2001, at 01:38 PM, Scott Goodwin wrote:
> nspostgres does not to my knowledge try to connect to the database until
> the first sql statement you issue, so it'll start up properly even if your
> database isn't around.
Makes sense. Thanks.
The AOLserver weekly chat takes place tomorrow, 2001-12-13, and
every Thursday. Common topics include AOLserver, Tcl, SQL, ACS,
and general web-related questions.
The place: AIM chatroom "AOLserver" on exchange 4
The time: 20:00 UTC
During the summer, that time is
4 PM US/Eastern
3 PM US
Scott,
Thanks for your help. One of my coworkers took a look and noticed that I
hadn't sourced the right files before starting the server (and therefore
hadn't set LD_LIBRARY_PATH). Setting that variable fixed it. Sorry for the
trouble.
Thanks,
Paul
Scott Goodwin wrote:
> Your nsd.tcl file
Scott,
Sure, glad to help in exchange for the help you gave me. :-)
We are running FreeBSD 4.4, Aolserver 3.4, and Postgres 7.0.something. We
will upgrade to the current Postgres soon.
postgres.so lives in /usr/local/aolserver/bin
nsadmin owns the directory and the file with read, write and ex
10 matches
Mail list logo