========================================================================= Date: Fri, 29 May 1998 11:05:07 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Marc Goldberg Subject: Re: TCL extensions in C In-Reply-To: <199805282354.QAA02549@mail.netwiz.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII There is an example in the examples/c/tclcs directory. It's also available online at http://www.aolserver.com/server/docs/2.3/html/c-ch2.htm#27555 Hope this helps! On Thu, 28 May 1998, Jim Wilcoxson wrote: > Hi all - has anyone written TCL extensions in C for AOL Server? We wrote > one, and it works, but now want to write another. We want to load both > into the same .so but got multiple defines for NS_ModuleInit and > NS_ModuleVersion. > > Anybody been down this road? > > Thanks, > Jim > Marc -- Marc Goldberg, Sr System Admin and Team Lead, Screen Name: WebMarc AOL Partner Web Hosting Phone: 703.265.0906 ========================================================================= Date: Fri, 29 May 1998 00:58:38 -0400 Reply-To: philg@mit.edu Sender: Web Development with AOLserver From: Philip Greenspun Subject: getting spammed by your own server Comments: cc: doug@aol.net, prgrssor@bu.edu In-Reply-To: <199805290405.AAA06061@services.web.aol.com> (message from Automatic digest processor on Fri, 29 May 1998 00:04:04 -0400) Date: Thu, 28 May 1998 15:55:07 -0400 From: Doug McKee Subject: Re: Server Error Handling We are actually planning to add this functionality in an incremental post-2.3 release of AOLserver. What platform do you run on; we may be able to get a version before we post it to the web site. doug >Hi, > >We are currently in the debugging/testing phase of our site, and I was >wondering if there was a way to intercept server errors so that every time >a server error occurs the server would e-mail me with the cause of the >error (the Tcl error info). > >Can this be done? > >Thanks. > >======================================= >Stanislav "The Progressor" Krasilovskiy > -= prgrssor@bu.edu =- Doug: If you're building this, see if you can't put in a counter to limit the number of messages sent within some time period. I have some stuff like this in my services (email sent when a thread can't get an Illustra connection). When Illustra chokes, I'll get 100 email messages in a few seconds, all with the same complaint. I wouldn't want more than 100/hour (and then maybe a hundred and first saying "you have to check your error log"). Philip ========================================================================= Date: Thu, 4 Jun 1998 13:29:03 -0400 Reply-To: tom@aolstudios.com Sender: Web Development with AOLserver From: Thomas Degremont Subject: ns_db returns "invalid command name" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Situation: - just reinstalled aolserver 2.3 final release, as well a postgreSQL on an Indy running Irix 6.2 - installed the driver postgres.so and created a db pool - rebooted/restarted the server Problem: the db components do not seem to be installed, or are not responding to my proding: - trying to get the db handle by using: set db [ns_db gethandle] and I get a 'invalid command name "ns_db"' - there is no listing for Database Services on my virtual host's AOLserver Administration page. All I get is: About this Server/Access Control/TCL Scripting Question: does anyone have any ideas or has been confronted with this behavious before? Thanks for any help or feedback. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from : Thomas Degremont AOL Studios, 45 W 18th St - 7th floor, NY, 10011 v: 212.206.4556, f: 212.206.4592, e: tom@aolstudios.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ========================================================================= Date: Tue, 9 Jun 1998 16:08:36 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Robert A. Dennis" Subject: Solid db driver? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello all- Has anyone else noticed anything odd with the Solid db drivers? It seems to be related to having extended table info enabled. I see a lot of odd ODBC errors in the log. Something about function 'UPPER' no-existent.... These seems to be more of an announce than anything else. Error: ODBC message: SQLSTATE = S1000, Native err = 51, msg = '[Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL Error 51: non-existent function 'UPPER'' [09/Jun/1998:14:35:13 -0700][223.805][server1] Error: SQL(SELECT LCASE(c.column_name) FROM sys_tables t, sys_columns c, sys_keys k, sys_keyparts p WHERE t.id = c.rel_id and c.attr_type = 0 and t.id = k.rel_id and k.id = p.id and c.id = p.attr_id and p.keyp_no < key_nref and k.key_primary = 'YES' and t.table_name = UPPER('project_info') ORDER BY c.column_name):([Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL Error 51: non-existent function 'UPPER'). [09/Jun/1998:14:35:13 -0700][223.805][server1] Error: SQL(select t_table, t_key, t_value from ns2_tables where t_table = 'project_info'):([Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL Error 51: non-existent function 'UPPER'). [09/Jun/1998:14:35:13 -0700][223.805][server1] Error: SQL(select c_table, c_col, c_key, c_value from ns2_columns where c_table = 'project_info'):([Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL Error 51: non-existent function 'UPPER'). Things work, at least. However, I have a real problem now! Here's the log: [09/Jun/1998:15:59:46 -0700][223.8][server1] Warning: ODBC message: SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC Driver]String Data Right Truncation' [09/Jun/1998:15:59:48 -0700][223.8][server1] Warning: ODBC message: SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC Driver]String Data Right Truncation' [09/Jun/1998:15:59:48 -0700][223.8][server1] Warning: ODBC message: SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC Driver]String Data Right Truncation' [09/Jun/1998:15:59:49 -0700][223.8][server1] Warning: ODBC message: SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC Driver]String Data Right Truncation' [09/Jun/1998:15:59:49 -0700][223.8][server1] Warning: ODBC message: SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC Driver]String Data Right Truncation' [09/Jun/1998:15:59:49 -0700][223.8][server1] Warning: ODBC message: SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC Driver]String Data Right Truncation' These get logged when I try to put text longer than about 7554 characters into a field in a table. The column varchar(50000). I've tried changin it to long varchar, but the problem seems to be the AOLserver driver. Anyone have any similar experiences? Anyone have an idea what I can do to fix this? All ideas are greatly appreciated. Many thanks, Robert Dennis UCLA ========================================================================= Date: Tue, 9 Jun 1998 17:04:34 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: Re: Solid db driver? In-Reply-To: <357DC074.26C6B20C@ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Change MAX_DATA in ~nsadmin/examples/c/solid/solid.c, then rebuild it. Haven't done this myself, but I remember a post a while back from someone who did. I have rebuilt the solid driver on Linux - fairly easy. Good luck! Jim At 04:08 PM 6/9/98 -0700, you wrote: >Hello all- >Has anyone else noticed anything odd with the Solid db drivers? >It seems to be related to having extended table info enabled. I see a >lot of odd ODBC errors in the log. >Something about function 'UPPER' no-existent.... These seems to be more >of an announce than anything else. > > Error: ODBC message: SQLSTATE = S1000, Native err = 51, msg = >'[Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL Error 51: >non-existent function 'UPPER'' >[09/Jun/1998:14:35:13 -0700][223.805][server1] Error: SQL(SELECT >LCASE(c.column_name) FROM sys_tables t, sys_columns c, sys_keys k, >sys_keyparts p WHERE t.id = c.rel_id and c.attr_type = 0 and t.id = >k.rel_id and k.id = p.id and c.id = p.attr_id and p.keyp_no < key_nref >and k.key_primary = 'YES' and t.table_name = UPPER('project_info') ORDER >BY c.column_name):([Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL >Error 51: non-existent function 'UPPER'). >[09/Jun/1998:14:35:13 -0700][223.805][server1] Error: SQL(select >t_table, t_key, t_value from ns2_tables where t_table = >'project_info'):([Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL Error >51: non-existent function 'UPPER'). >[09/Jun/1998:14:35:13 -0700][223.805][server1] Error: SQL(select >c_table, c_col, c_key, c_value from ns2_columns where c_table = >'project_info'):([Solid][SOLID ODBC Driver][SOLID Server]SOLID SQL Error >51: non-existent function 'UPPER'). > >Things work, at least. >However, I have a real problem now! >Here's the log: >[09/Jun/1998:15:59:46 -0700][223.8][server1] Warning: ODBC message: >SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC >Driver]String Data Right Truncation' >[09/Jun/1998:15:59:48 -0700][223.8][server1] Warning: ODBC message: >SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC >Driver]String Data Right Truncation' >[09/Jun/1998:15:59:48 -0700][223.8][server1] Warning: ODBC message: >SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC >Driver]String Data Right Truncation' >[09/Jun/1998:15:59:49 -0700][223.8][server1] Warning: ODBC message: >SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC >Driver]String Data Right Truncation' >[09/Jun/1998:15:59:49 -0700][223.8][server1] Warning: ODBC message: >SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC >Driver]String Data Right Truncation' >[09/Jun/1998:15:59:49 -0700][223.8][server1] Warning: ODBC message: >SQLSTATE = 01004, Native err = 0, msg = '[Solid][SOLID ODBC >Driver]String Data Right Truncation' > >These get logged when I try to put text longer than about 7554 >characters into a field in a table. The column varchar(50000). I've >tried changin it to long varchar, but the problem seems to be the >AOLserver driver. >Anyone have any similar experiences? Anyone have an idea what I can do >to fix this? > >All ideas are greatly appreciated. > >Many thanks, > >Robert Dennis >UCLA > ========================================================================= Date: Wed, 10 Jun 1998 11:18:56 -0700 Reply-To: hheislex@ichips.intel.com Sender: Web Development with AOLserver From: Hal Heisler Subject: Looking For- nsd.h MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone have the file nsd.h? The nsodbc.dll source calls for it. It is not included with the NT 2.1 installation files (nt.exe). -Hal Heisler ========================================================================= Date: Sun, 14 Jun 1998 22:51:40 -0400 Reply-To: schu@pobox.com Sender: Web Development with AOLserver From: Alan Schunemann Subject: Virtual Hosting (part 2) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here's the solution to my previous posting. Since I'm running the server on port 81, I needed to include the port number in the following section of the nsd.ini file: [ns/server/server1/module/nsvhost] www.simple.com:81=simple Thanks, Alan ========================================================================= Date: Sun, 14 Jun 1998 22:09:22 -0400 Reply-To: schu@pobox.com Sender: Web Development with AOLserver From: Alan Schunemann Subject: Virtual Hosting MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I've read the manual and followed the directions exactly. I'm missing something though... How do I set the document root of the n-th virtual server? The documentation would be much better if it just gave a complete, simple, virtual server on a one server setup. I'm running server1 to test AOLserver (port 81). Now, I want to add the host ww.simple.com (simple) to the one and only server (server1) in my setup (again on port 81... I'm running Apache on port 80). What's the configuration like? How do I point it to a different document root? I've tried: [ns/server/simple] DirectoryFile=index.html, index.htm, index.shtml PageRoot=/home/simple/public_html Webmaster=bob@simle.com NoticeBgColor=#ffffff EnableTclPages=On but I still get the server1 document root. Please help. I have Apache running like a champ with 16 virtual hosts. No problems. Thanks for any help, Alan ========================================================================= Date: Mon, 15 Jun 1998 15:31:44 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: ns_db returns "invalid command name" Comments: To: tom@aolstudios.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:29 PM 6/4/98 -0400, Thomas Degremont wrote: >the db components do not seem to be installed, or are not responding to my >proding: > >- trying to get the db handle by using: set db [ns_db gethandle] and I get a >'invalid command name "ns_db"' Sounds like you need to check your nsd.ini... make sure there's a line under your /db section for nsdb, as in: [ns/server//db] Pools=* I'm not sure it's absolutely requred, but if that doesn't work, you could also try adding a line for nsdb under the /modules section: [ns/server//modules] nsdb=nsdb.so (Of course, the documentation at www.aolserver.com probably has better info than that...) Cheers, --Jeff Rawlings Board of Directors, Association of Internet Professionals jrawlings@association.org -- http://www.association.org Software Engineer, America Online rawlings@aol.net -- http://www.aol.com ========================================================================= Date: Tue, 16 Jun 1998 00:49:33 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Tom Kee Subject: Re: Distributing a patched driver for Solid In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi Branimir, I have submitted fixes to the solid db driver to Doug McKee at AOL in the past. What enhancements or fixes have you made. I know there are a few snags I have not investigated yet. Has some one since responded to this post? I'd be interested in hearing about what work you've done. Regards, Tom Kee MagNet, Inc. At 07:38 PM 5/19/98 +0200, you wrote: >I would like to give away patched versions of solid.c driver for AolServer >on Linux. Am I allowed to do so? The first line of the driver says: > > Copyright 1994-1996 America Online, Inc. > >Should I ask for the permission? Whom? Is there an E-mail address such >as "ask-for-permission @ a o l.com"? What if I just give the result of >diffing the two files ? I have no experience with this. Could somebody >help me? I think the enhancements and bug fixes made by my friend >Sebastian would be useful to everyone who uses AolServer on Linux. > >Thanks, > > -- Branimir Dolicki > -- Lavsa d.o.o. > > ========================================================================= Date: Tue, 16 Jun 1998 11:53:29 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: Re: Distributing a patched driver for Solid In-Reply-To: <3.0.5.32.19980616004933.00b2be00@magnets.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I am very interested in patches to the Solid driver! We have noticed web server hangs sometimes when SQL errors occur. The Solid DB driver keeps running, but we have to kill and restart AOLServer. Could I get a copy of your changes? THanks, Jim At 12:49 AM 6/16/98 -0700, Tom Kee wrote: >Hi Branimir, > >I have submitted fixes to the solid db driver to Doug McKee at AOL in the >past. What enhancements or fixes have you made. I know there are a few >snags I have not investigated yet. Has some one since responded to this post? > >I'd be interested in hearing about what work you've done. > >Regards, > >Tom Kee >MagNet, Inc. > > > >At 07:38 PM 5/19/98 +0200, you wrote: >>I would like to give away patched versions of solid.c driver for AolServer >>on Linux. Am I allowed to do so? The first line of the driver says: >> >> Copyright 1994-1996 America Online, Inc. >> >>Should I ask for the permission? Whom? Is there an E-mail address such >>as "ask-for-permission @ a o l.com"? What if I just give the result of >>diffing the two files ? I have no experience with this. Could somebody >>help me? I think the enhancements and bug fixes made by my friend >>Sebastian would be useful to everyone who uses AolServer on Linux. >> >>Thanks, >> >> -- Branimir Dolicki >> -- Lavsa d.o.o. >> >> > ========================================================================= Date: Wed, 17 Jun 1998 11:58:13 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Mark Dalrymple Subject: Re: distributing a patched driver for Solid Comments: cc: bdolicki@tel.hr, jim@meritnet.com, tom.kee@magnets.com Branimir sent me his patched solid.c awhile ago, and I haven't made time yet to check it into the mainline :-( (sorry! I really dropped the ball on this one). You can go ahead and distribute the modified driver source (and if ya'll could keep me in the loop on changes, I'd appreciate it. Once I make time I want to keep the solid driver up-to-date, since I plan on using it for my home db-backed website once I get a reasonably priced connection) This is from one of our legal folks: As long as he makes it clear that this is a modified version of what AOL has distributed (in other words, AOL has nothing to do with this particular version), I'm fine with it. So go for it! ++Mark Dalrymple, America Online Web Server Development "elvis is not death for me, inside in memory same the name is song elvis i love elvis." -- Chabot Tittley ========================================================================= Date: Wed, 17 Jun 1998 15:32:28 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Steve Lebo Organization: National Wildlife Federation Subject: Getting ns_db to work MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------0FAB5A972C8983E92338D251" This is a multi-part message in MIME format. --------------0FAB5A972C8983E92338D251 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello all, I have read previous posting about invalid command name "ns_db". I'm experiencing the same problem but on Windows NT. I have try the suggestions but with no results. Below I have included my ini file and a portion of the server log showing the error. Any suggestion would be appreciated. -Stevan Lebo Server Log [16/Jun/1998:20:09:44 -0400][197.239][blueclam] Notice: Ns_ModuleLoad(blueclam): Loading module: nsperm [16/Jun/1998:20:09:44 -0400][197.239][blueclam] Notice: Loading module: d:/aolserver/bin/nsperm.dll [16/Jun/1998:20:09:44 -0400][197.239][blueclam] Notice: Ns_ModuleLoad(blueclam): Loading module: nslog [16/Jun/1998:20:09:44 -0400][197.239][blueclam] Notice: Loading module: d:/aolserver/bin/nslog.dll [16/Jun/1998:20:09:44 -0400][197.239][blueclam] Notice: AccessLog: Opened: d:/AOLserver/servers/blueclam/modules/nslog/access.log [16/Jun/1998:20:09:44 -0400][197.239][blueclam] Notice: Ns_ModuleLoad(blueclam): Loading module: nsdb [16/Jun/1998:20:09:44 -0400][197.239][blueclam] Notice: Loading module: d:/aolserver/bin/nsdb.dll [16/Jun/1998:20:09:44 -0400][197.239] Notice: AOLserver/2.1 build 1 running. [16/Jun/1998:20:11:31 -0400][197.239][blueclam] Error: Tcl script failed: [16/Jun/1998:20:11:31 -0400][197.239][blueclam] Notice: 268 bytes of raw data to follow: invalid command name "ns_db" while executing "ns_db pools" invoked from within "string match "" [ns_db pools]..." invoked from within "if [string match "" [ns_db pools]]..." (procedure "nsp_dbadmin" line 3) invoked from within "nsp_dbadmin nsc3 {}" The ini file follows: [ns/db/drivers] odbc=nsodbc.dll extill=nsext.dll extsyb=nsext.dll illustra=nsill.dll [ns/db/pool/oracle] Driver=odbc Connections=2 DataSource=wgs_staging_orcl User=scott Password=tiger Verbose=Off ExtendedTableInfo=Off [ns/db/pools] oracle=oracle database [ns/parameters] home=D:\AOLserver Home=d:/AOLserver [ns/server/blueclam] DirectoryFile=index.html, index.htm, index.shtml PageRoot=d:/AOLserver/servers/blueclam/pages/ Verbose=Off TrailerFindEnd=On DirectoryListing=Simple HideDotFiles=On HeaderCase=Preserve MinThreads=0 MaxThreads=50 FlushContent=On CheckInterval=60 MinThreadAge=60 CheckModified=On MaxLine=8192 MaxHeaders=16384 MaxPost=65536 [ns/server/blueclam/db] Pools=oracle database DefaultPool=oracle [ns/server/blueclam/mimetypes] NoExtension=text/html Default=*/* [ns/server/blueclam/module/nslog] enablehostnamelookup=Off file=access.log logcombined=Off logrefer=Off loguseragent=Off maxbackup=5 rollday=* rollfmt=%y-%m-%d-%H:%M rollhour=0 rollonsignal=On [ns/server/blueclam/module/db] pools=* [ns/server/blueclam/module/nsperm] model=Small enablehostnamelookup=On [ns/server/blueclam/module/nssock] port=9000 timeout=120 [ns/server/blueclam/module/nsssl] Port=443 [ns/server/blueclam/modules] nssock=nssock.dll nsperm=nsperm.dll nslog=nslog.dll nsdb=nsdb.dll [ns/server/blueclam/tcl] Library=d:\AOLserver\servers\blueclam\TCLscripts [ns/servers] blueclam=blueclam [ns/setup] ContinueOnError=On Port=9876 Password=t2uRGWoXC.uFc [ns/db/driver/extill] LocalDaemon=nsillpd.exe [ns/db/driver/extsyb] RemoteHost=SybaseHost RemotePort=9090 --------------0FAB5A972C8983E92338D251 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for lebo@netscape.nwf.org Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: lebo@netscape.nwf.org n: ;lebo@netscape.nwf.org email;internet: lebo@netscape.nwf.org x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------0FAB5A972C8983E92338D251-- ========================================================================= Date: Thu, 18 Jun 1998 02:18:10 -0700 Reply-To: jeff@alienbob.com Sender: Web Development with AOLserver From: Jeff Huber Subject: Re: Getting ns_db to work MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Steven, Just by looking at your nsd.ini I see several problems with it. First, all of your database configuration for your virtual server should go in your ns/server/blueclaim/db section, not in the ns/server/blueclaim/module/db section. Also the pool that you point to in your ns/server/blueclaim/db section is not a valid pool name. I don't think leaving your ns/server/blueclaim/module/db section in will hurt anything, but you should still probably delete it. Then go into your ns/server/blueclam/db section and replace the line Pools=oracle database ..with.. Pools=oracle This line says to give the virtual server blueclam access to the database pool named oracle. You want to use the word 'oracle' instead of 'oracle database', 'oracle database' is the description of the pool, the name of the pool is oracle. You can also set the line to pools=* which would give your virtual server access to any database pools that you define in your ns/pools section. Of course, since currently you only have one pool defined in your ns/pools section this wouldn't change anything. Steve Lebo wrote: > > Hello all, > > I have read previous posting about invalid command name "ns_db". > I'm experiencing the same problem but on Windows NT. I have try the > suggestions but with no results. Below I have included my ini file and a > portion of the server log showing the error. Any suggestion would be > appreciated. > > -Stevan Lebo -- -------------------------------------------------------- | Jeff Huber | mailto:jeff@alienbob.com | | AM.net Programmer | AOLserver Mailing List Moderator | | http://am.net/ | http://www.aolserver.com/ | -------------------------------------------------------- -=- Visit Me on the Web: http://alienbob.com/ -=- ========================================================================= Date: Thu, 18 Jun 1998 10:31:36 -0400 Reply-To: tom@aolstudios.com Sender: Web Development with AOLserver From: Thomas Degremont Subject: Re: Getting ns_db to work Comments: To: lebo@nwf.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Stevan, I am not familiar with the NT version of AOLServer, or the install process on that platform. I solved my similar problem by erasing my nsd.ini file, (backing it up obviously), and bootstrapping the set-up server. (on SGI, from the install directory: bin/nsbootstrap) This created a clean version of my nsd.ini. I then configured driver and pools, and created a server. Finally, I used the new nsd.ini as a base, and copied the relevant sections from my old nsd.ini, and it all worked fine. Hope this helps Tom. >Hello all, > > I have read previous posting about invalid command name "ns_db". >I'm experiencing the same problem but on Windows NT. I have try the >suggestions but with no results. Below I have included my ini file and a >portion of the server log showing the error. Any suggestion would be >appreciated. > > -Stevan Lebo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from : Thomas Degremont AOL Studios, 45 W 18th St - 7th floor, NY, 10011 v: 212.206.4556, f: 212.206.4592, e: tom@aolstudios.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ========================================================================= Date: Mon, 22 Jun 1998 08:38:36 -0500 Reply-To: "J. Michael Roberts" Sender: Web Development with AOLserver From: "J. Michael Roberts" Subject: ns_httpget MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I've been playing with ns_httpget lately, and I've run into a problem. It looks as though AOLserver loops (100% of CPU) when called on a page which is marked "Content follows". This is a real bummer because I have a long-running report set up on just such a basis, and I was hoping to automate it using ns_httpget. Has anyone else seen similar behavior? I'm running 2.1 under Solaris (and also under Windows, which is why I'm still on 2.1). Michael ========================================================================= Date: Tue, 23 Jun 1998 16:53:14 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Deburr, Detrick" Subject: Form.Request error with Active Server Pages Mime-Version: 1.0 Content-Type: text/plain I am experiencing an error from AOL users when they are submitting a form. The form is processed by an Active Server Page. The error occurs on the request.form method. for example lname = request.form("l_name") where l_name is the name of the text input field on the form. Is there anything that I should know regarding AOL and Active Server Pages? TIA > ---------------------------------------------------------------------- > ------------------------------ > Detrick DeBurr > Decision Support Systems > 972-453-6865 > Get all the information you'll ever need from one place! > Go to http://sales.gtedc.gte.com/dss/ > > > > > ========================================================================= Date: Wed, 24 Jun 1998 11:21:44 +0200 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Branimir Dolicki Subject: ANNOUNCEMENT: Lusenet 98, solid.c with transactions MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I've finally made available for download: * Lusenet 98 - a modified version of Philip Greenspun's LUSENET, Web-based, database-backed threaded discussion system adapted for use with the Solid DBMS: http://www.lavsa.com/lusenet98/ * Sebastian's solid.c - a hacked version of AOL-distributed solid.c driver for connecting AolServer with Solid (necessary for Lusenet 98 to work). The main improvement is support for transactions: http://www.lavsa.com/aolsolid/ Send bug reports etc. to my email address. Enjoy, -- Branimir ------------------------------------ Branimir Dolicki bdolicki@tel.hr Lavsa d.o.o., Zagreb http://lavsa.com/bdolicki/ ____________________________________ ========================================================================= Date: Thu, 25 Jun 1998 22:04:00 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: TCL [read] and NULs Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" We're trying to use TCL to read web pages. Once in a while we run into a page containing a zero byte. I realize that TCL doesn't handle binary reads, and that zeros can't be put into TCL string variables. But what we are seeing is that a read of 4100 bytes, with a zero in the middle, will return maybe 2300 characters; 1800 characters following the zero byte go into a black hole. A) Can [read] be changed to strip out zero bytes? B) Can we write a new read TCL function? How do we map between TCL file handles like file23 and Unix file descriptors? C) Can we get a copy of the C source for the TCL interpreter and/or ns_xxx functions to make these changes? Thanks, Jim ========================================================================= Date: Sun, 28 Jun 1998 20:35:52 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Larry W. Virden, x2487" Subject: Re: TCL [read] and NULs In-Reply-To: <199806260204.TAA04176@oslo.rubylane.com> of Thu, 25 Jun 1998 22:04:00 -0400 > A) Can [read] be changed to strip out zero bytes? Well, if you have the source code for read you could do that. > > B) Can we write a new read TCL function? How do we map between TCL file > handles like file23 and Unix file descriptors? Yep - but you might be better off just to upgrade to Tcl 8.0, where input like this is handled naturally. > C) Can we get a copy of the C source for the TCL interpreter and/or ns_xxx > functions to make these changes? Well, true tcl is available from , but I don't know whether the folks writing aolserver have modified it any. -- Larry W. Virden INET: lvirden@cas.org <*> O- "We are all Kosh." Unless explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions.