[AOLSERVER] nspostgres driver problem?
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 Description: Tcl script
Re: [AOLSERVER] nspostgres driver problem?
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, Kulcsr 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. Ferisample-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
Re: [AOLSERVER] nspostgres driver problem?
On Friday 27 June 2003 02:47 pm, you 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): Well ... it's not that the driver can't connect to the database, but rather it's the fact that for some reason the driver's not been loaded at all. Have you defined nspostgres.so in your database drivers section? Like this? ns_section ns/db/drivers ns_parampostgres nspostgres.so ns_section ns/db/pool/pool1 ns_param Driver postgres -- 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.
Re: [AOLSERVER] nspostgres driver problem?
On Fri, 27 Jun 2003 14:52:10 -0700 tammy [EMAIL PROTECTED] wrote: Hi Change: ns_section ns/db/pool1 To: ns_section ns/db/pool/pool1 and the same for your other pools Thank you for the quick response. The database driver works fine. I must buy an eye-glasses. 8-)) Kind Regards, Feri -- 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.