Thank you for your help with this problem. The problem is now solved.
Here is the problem:
[04/May/2007:08:48:19][31994.3083773632][-main-] Warning: modload:
could not load /usr/local/aolserver/bin/nspostgres.\so: libpq.so.3:
cannot open shared object file: No such file or directory
I have recently installed aolserver 4.5.
Everything seems to be working, except I get this error when I try to use
the ns_db command:
error: Tcl exception:
invalid command name ns_db
while executing
ns_db gethandle $pool
invoked from within
set db [ns_db gethandle $pool]
ns_info works
We'll need more information, most notably your config file. Make sure
to redact any passwords, hostnames, etc. My guess is that you're either
not loading the database driver, or not configuring the ns_db section
properly.
Rusty
Thorpe Mayes wrote:
I have recently installed aolserver 4.5.
Make sure you are loading the nsdb.so module.
Example:
ns_section ns/server/server1/modules
ns_param nsdb nsdb.so
Hope that helps!
- n
On 5/3/07, Thorpe Mayes [EMAIL PROTECTED] wrote:
I have recently installed aolserver 4.5.
Everything seems to be working, except I get this error when
Hey Thorpe
is nsdb loaded in your nsd config file, along with the db actual driver
?
And are the driver dependencies on your LD_LIBRARY_PATH?
If your using mysql check to make sure the library path is right, some
versions of mysql keep
the libs in mysql/lib/mysql, which I usually screw up.
On 2007.05.03, Nathan Folkman [EMAIL PROTECTED] wrote:
Make sure you are loading the nsdb.so module.
Example:
ns_section ns/server/server1/modules
ns_param nsdb nsdb.so
Hope that helps!
It might be useful for us to include a stub ns_db Tcl proc that looks
like:
proc ns_db args
On 2007.05.03, Thorpe Mayes [EMAIL PROTECTED] wrote:
I have recently installed aolserver 4.5.
Everything seems to be working, except I get this error when I try to use
the ns_db command:
...
I know I am missing the obvious.
Did you load nsdb.so in the modules section?
-- Dossy
--
Dossy
This only happens if the nsdb module is not loaded, it has nothing to do with
configuration of your database driver. The ns_db command itself is missing.
Also, I think this is new, but the ns_getcsv command is now part of the nsdb
module. You get the same error as below if you try to execute
Thanks to all who replied.
I did load the nsdb.so file, and that solved the ns_db issue.
However, I now have a database pool issue when I try to set the
database handle:
Error: Tcl exception:
no access to pool: tmayes
while executing
ns_db gethandle $pool
invoked from within
set db
On 2007.05.03, Thorpe Mayes [EMAIL PROTECTED] wrote:
However, I now have a database pool issue when I try to set the
database handle:
Error: Tcl exception:
no access to pool: tmayes
while executing
ns_db gethandle $pool
invoked from within
set db [ns_db gethandle $pool]
Your
Here is an example of a multi-server startup, including a printout of the
effective configuration file (at the top):
http://rmadilo.com/m2/multi-server-example/sample-startup.txt
tom jackson
On Thursday 03 May 2007 11:29, Thorpe Mayes wrote:
Thanks to all who replied.
I did load the nsdb.so
11 matches
Mail list logo