Hi

Change:
ns_section      "ns/db/pool1"

To:
ns_section ns/db/pool/pool1

and the same for your other pools

t

On Friday, June 27, 2003, at 02:47 PM, Kulcsár Ferenc wrote:

Hello All,

I have an AOLserver installed on NetBSD-current with Zoran's help. It
works fine but I can't connect to a postgres database. The PostgreSQL
version is 7.3.3, the AOLserver version is 4b8, the nspostgres driver
version is 4.0-beta1. After the server startup it gives the following
messages (with "embedded" fprintf functions for "traceing" in the
nsdb/dbinit.c file):

$ /usr/pkg/aol.4b8/bin/nsd -ft /usr/pkg/aol.4b8/sample-config.tcl
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Warning: config.tcl:
nsssl not loaded -- key/cert files do not exist.
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: encoding:
loaded: iso8859-1
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: nsmain:
AOLserver/4.0 starting
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: nsmain: max
files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 0
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: adp[server1]:
mapped /*.adp
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: adp[server1]:
mapped /*.u_adp
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: adp[server1]:
mapped /*.gb_adp
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: adp[server1]:
mapped /*.sjis_adp
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: modload:
loading '/usr/pkg/aol.4b8/bin/nssock.so'
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: modload:
loading '/usr/pkg/aol.4b8/bin/nslog.so'
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: nslog: opened
'/usr/pkg/aol.4b8/servers/server1/modules/nslog/access.log'
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: modload:
loading '/usr/pkg/aol.4b8/bin/nssha1.so'
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: modload:
loading '/usr/pkg/aol.4b8/bin/nsdb.so'
NsDbInitPools after Ns_SetKey dbinit.c pool: pool1
NsDbInitPools after Ns_ConfigGetPath dbinit.c path: (null)
NsDbInitPools after Ns_ConfigGetValue dbinit.c driver: (null)
DB driver CreatePool (dbinit.c): (null)
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Error: dbinit: no
driver for pool 'pool1'
NsDbInitServer dbinit.c path: ns/server/server1/db
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Error: dbinit: no
such default pool 'pool1'
Ns_ModuleInit server, module (nsdb.c Ns_ModuleInit) server1     nsdb
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: conf:
[ns/server/server1]enabletclpages = 0
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: stats: web
stats enabled for '/aolserver/stats'
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: nsmain:
AOLserver/4.0 running
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[27/Jun/2003:22:21:13][28575.3216769024][-main-] Notice: nssock:
listening on 192.168.0.11:8000
[28/Jun/2003:00:21:13][28575.1216086016][-sched-] Notice: sched:
starting
[28/Jun/2003:00:21:13][28575.1216348160][-driver-] Notice: starting
[28/Jun/2003:00:21:13][28575.1216348160][-driver-] Notice: driver:
accepting connections

The server config file is attached.
Am I doing something wrong?

TIA


-- 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.
Feri<sample-config.tcl>

--


You can SAVE THE WORLD!
Vote Kucinich, stop compromising your values -- look where that got us
;)
 http://www.kucinich.us

"As fighting in Iraq intensifies, President Bush delivered his
supplemental war budget to Congress. The money will cover 30 days of
fighting, then we'll be sent one war every other month until we cancel
our subscription." —- by Craig Kilborn
http://politicalhumor.about.com/library/bliraqwarjokes.htm

"In Dr. Johnson's famous dictionary, patriotism is defined as the last
resort of a scoundrel. I beg to submit that it is the first."    --
Ambrose Bierce

STOP BUSH, support
    http://www.votewithavengeance.com/action.html
    http://www.moveon.org
    http://www.fcnl.org
    http://www.afsc.org

 "Naturally the common people don't want war,  but after all it is the
leaders who determine the policy, and it is always a simple matter to
drag the people along, whether it is a democracy, or a fascist
dictatorship, or a parliament, or a communist dictatorship. Voice or no
voice, the people can always be brought to the bidding of the leaders.
That is easy. All you have to do is to tell them they are being
attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country."
Hermann Goering, Germany, 1946
http://www.stopbush.com/project.htm

Surveys routinely demonstrate an awkward fact: The American public
almost never knows the simplest facts about public policy matters (no
matter how seminal those policy matters may be). The American people
may be pretty sharp. But they’re also constantly misinformed, and it’s
time we discussed that more freely. In fact, some powerful entities
make voter ignorance their goal.
http://www.dailyhowler.com

[EMAIL PROTECTED]

Subverge LLC
2554 Lincoln Blvd, # 215
Venice, CA 90291
www.subverge.com
direct  310.314.1901
fax     310.314.0792


-- 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