[AOLSERVER] Reminder: Weekly chat today (Thursday, October 17, 2002)
The AOLserver weekly chat takes place today, Thursday, October 17, 2002, at 20:00 UTC, which translates to: 4 PM US/Eastern 3 PM US/Central 2 PM US/Mountain 1 PM US/Pacific + Arizona Common topics include AOLserver, Tcl, SQL, OpenACS, and general web-related questions. You do NOT need to be an AOL subscriber to access the chat room. The place: AIM chatroom AOLserver on exchange 4 For Windows AIM client users, the URL for the chat room is: aim:GoChat?RoomName=AOLserver For all other AIM compatible clients, you simply invite yourself into the room AOLserver to join. If you need more help getting on AIM or getting into the chat room, please see http://dqd.com/~mayoff/aolserver/weekly-chat.html
Re: [AOLSERVER] ns_writecontent and POST'ing data to AOLserver 3.5.0
Heh, I discovered it was more errors relating to nsunix/nsvhr ... I guess I didn't get it 100% right. The upside is that I'm closer to having nsunix/nsvhr working again with AOLserver 3.5.0. :-) -- Dossy On 2002.10.16, Dossy [EMAIL PROTECTED] wrote: I'm seeing some weird error and I'm not sure what's causing it. [16/Oct/2002:19:56:27][600.80903][-conn3-] Error: Error writing content: resourc e temporarily unavailable Error writing content: resource temporarily unavailable while executing ns_writecontent $fd (procedure registered_wikit_intranet_proc line 59) invoked from within registered_wikit_intranet_proc cns19 {} Guess AOLserver 3.5.0 isn't a clean upgrade from 3.4.2 ... ;-) Other than the recent stacksize increase issue, anyone else run up against other changes that need to be made? I'm currently busy poking around in gdb, but if anyone else has something to contribute, either reply or ping me on IM, s/n DossyNJ. -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on. (p. 70)
Re: [AOLSERVER] weird segfault ver 2
I think you might have the broken nspostgres.so. Try patching it or getting a better one. There is a patch at www.aolserver.com. Ian A. Harding Programmer/Analyst II Tacoma-Pierce County Health Department (253) 798-3549 [EMAIL PROTECTED] [EMAIL PROTECTED] 10/17/02 01:24AM can someone tell me howto make this work.. TIA infos.. im using RH8.0 + Openacs + Aolserver 3.4 modules loaded... ns_section ns/server/${server}/modules ns_param nssock ${bindir}/nssock.so ns_param nslog ${bindir}/nslog.so ns_param nssha1 ${bindir}/nssha1.so ns_param nscache ${bindir}/nscache.so ns_param nsxml ${bindir}/nsxml.so this is the last line i saw when i run it in the foreground [17/Oct/2002:16:20:09][18299.8192][-main-] Notice: nspostgres: opened connection to '192.168.6.40::gmanmi' [17/Oct/2002:16:20:09][18299.8192][-main-] Notice: dbinit: sql(192.168.6.40::gmanmi): 'select version()' [17/Oct/2002:16:20:09][18299.8192][-main-] Error: Program received signal SIGSEGV, Segmentation fault. this is gdb's backtrace output. #0 0x4207a4cb in strlen () from /lib/i686/libc.so.6 #1 0x4204a390 in vfprintf () from /lib/i686/libc.so.6 #2 0x4204c651 in buffered_vfprintf () from /lib/i686/libc.so.6 #3 0x4204c0af in vfprintf () from /lib/i686/libc.so.6 #4 0x08072c0d in Log (severity=Error, fmt=0x40017c20 nspostgres: result status '%s', message '%s', argsPtr=0xbfffbf70) at log.c:442 #5 0x080725db in ns_serverLog (severity=Error, fmt=0x40017c20 nspostgres: result status '%s', message '%s', vaPtr=0xbfffbf70) at log.c:144 #6 0x08072613 in Ns_Log (severity=Error, fmt=0x40017c20 nspostgres: result status '%s', message '%s') at log.c:153 #7 0x400150d1 in Ns_PgExec (handle=0x8157fc0, sql=0x817ea38 create function __test__() returns integer as 'begin end;' language 'plpgsql') at nspostgres.c:546 #8 0x08068606 in Ns_DbExec (handle=0x8157fc0, sql=0x817ea38 create function __test__() returns integer as 'begin end;' language 'plpgsql') at dbdrv.c:415 #9 0x08068449 in Ns_DbDML (handle=0x8157fc0, sql=0x817ea38 create function __test__() returns integer as 'begin end;' language 'plpgsql') at dbdrv.c:326 #10 0x0806b53e in NsTclDbCmd (dummy=0x0, interp=0x814cb00, argc=4, argv=0xbfffc3a0) at dbtcl.c:414 #11 0x08095d52 in TclInvokeStringCommand (clientData=0x8153c20, interp=0x814cb00, objc=4, objv=0x813c154) at ../generic/tclBasic.c:1752 #12 0x080b9a56 in TclExecuteByteCode (interp=0x814cb00, codePtr=0x8180488) at ../generic/tclExecute.c:845 #13 0x08096b20 in Tcl_EvalObjEx (interp=0x814cb00, objPtr=0x8144690, flags=0) at ../generic/tclBasic.c:2733 #14 0x080e6d32 in TclObjInterpProc (clientData=0x817e3b0, interp=0x814cb00, objc=3, objv=0x813c148) at ../generic/tclProc.c:1001 #15 0x080b9a56 in TclExecuteByteCode (interp=0x814cb00, codePtr=0x8164b18) at ../generic/tclExecute.c:845 #16 0x08096b20 in Tcl_EvalObjEx (interp=0x814cb00, objPtr=0x81427b8, flags=0) at ../generic/tclBasic.c:2733 #17 0x0809b461 in Tcl_CatchObjCmd (dummy=0x0, interp=0x814cb00, objc=2, objv=0xbfffcb80) at ../generic/tclCmdAH.c:261 #18 0x080ddc5e in EvalObjv (interp=0x814cb00, objc=2, objv=0xbfffcb80, command=0x8162858 catch {\n\n# Load the special bootstrap tcl library.\n\nset files [glob -nocomplain \$root_directory/packages/acs-bootstrap-installer/tcl/*-procs.tcl\]\nif { [llength $files] == 0 } {\n\terror \U..., length=3119, flags=0) at ../generic/tclParse.c:932 #19 0x080de522 in Tcl_EvalEx (interp=0x814cb00, script=0x8162858 catch {\n\n# Load the special bootstrap tcl library.\n\nset files [glob -nocomplain \$root_directory/packages/acs-bootstrap-installer/tcl/*-procs.tcl\]\nif { [llength $files] == 0 } {\n\terror \U..., numBytes=3119, flags=0) at ../generic/tclParse.c:1393 #20 0x080de095 in Tcl_EvalTokens (interp=0x814cb00, tokenPtr=0xbfffcf18, count=1) at ../generic/tclParse.c:1192 #21 0x080de482 in Tcl_EvalEx (interp=0x814cb00, script=0x8162058 # /packages/acs-tcl/bootstrap/bootstrap.tcl\n#\n# Code to bootstrap OpenACS, invoked by /tcl/0-acs-init.tcl.\n#\n# @creation-date 12 May 2000\n# @author Jon Salz [[EMAIL PROTECTED]]\n# @cvs-id bootstrap.t..., numBytes=5746, flags=0) at ../generic/tclParse.c:1381 ---Type return to continue, or q return to quit--- #22 0x080d36e5 in Tcl_EvalFile (interp=0x814cb00, fileName=0x815f808 /web/gmanmi/packages/acs-bootstrap-installer/bootstrap.tcl) at ../generic/tclIOUtil.c:323 #23 0x080a3c3e in Tcl_SourceObjCmd (dummy=0x0, interp=0x814cb00, objc=2, objv=0x813c140) at ../generic/tclCmdMZ.c:857 #24 0x080b9a56 in TclExecuteByteCode (interp=0x814cb00, codePtr=0x815fa98) at ../generic/tclExecute.c:845 #25 0x08096b20 in Tcl_EvalObjEx (interp=0x814cb00, objPtr=0x8142818, flags=0) at ../generic/tclBasic.c:2733 #26 0x0809f02b in Tcl_IfObjCmd (dummy=0x0, interp=0x814cb00, objc=5, objv=0xbfffd590) at ../generic/tclCmdIL.c:267 #27 0x080ddc5e in EvalObjv (interp=0x814cb00, objc=5, objv=0xbfffd590,
Re: [AOLSERVER] ArsDigita 13 encoding patches for 3.4.2?
Eric, We have created a patch for 3.4.2 with the encoding changes from AD+13: http://sourceforge.net/tracker/index.php?func=detailaid=570072group_id=315 2atid=303152 We use AOLserver 3.4.2 with this patch in production in a Linux environment, but we do not exercise the full range of encoding functions - we only serve and receive UTF-8 encoded content. We have not looked at porting this patch to 3.5 yet, and probably won't for at least a few months. On the general topic, we are certainly in agreement that the handling of character encoding in stock AOLserver is woefully inadequate for internationally oriented applications, and the release notes for v3.5 do not suggest that this has been corrected. We are fervently hoping that international character encodings (particularly UTF-8 encoding) will be better supported in v4.0 , but I can't recall any specific comments from the AOLserver development team on the topic of encoding in spite of multiple postings by a variety of users...which makes me very afraid that this is not on the v4.0 feature list. I would, of course, be happy to receive clarification to the contrary. :-) Eric Eric Larkin Chief Technology Officer bom.com [EMAIL PROTECTED] 650 937-1032 -Original Message- From: AOLserver Discussion [mailto:AOLSERVER;LISTSERV.AOL.COM]On Behalf Of Eric Lee Sent: Wednesday, October 16, 2002 9:33 PM To: [EMAIL PROTECTED] Subject: [AOLSERVER] ArsDigita 13 encoding patches for 3.4.2? Has anyone ported the ArsDigita 13 patches that allow one to specify encoding to be used for data written from TCL pages to AOLserver 3.4.2? Or does anyone know if this has or hasn't been incorporated into 3.5? Thanks, Eric Lee
Re: [AOLSERVER] Failed to Load nssock.so
Can someone help me?.. Error from server.log is: [16/Oct/2002:16:54:12][21439.1][-main-] Notice: nsmain: AOLserver/3.5.0 starting [16/Oct/2002:16:54:12][21439.1][-main-] Notice: modload: loading'/pub/msp0/bin/nssock.so' [16/Oct/2002:16:54:12][21439.1][-main-] Warning: modload: no such symbol'Ns_ModuleInit' in module '/pub/AOLserver/bin/nssock.so' [16/Oct/2002:16:54:12][21439.1][-main-] Fatal: modload: failed to load module '/pub/AOLserver/bin/nssock.so' -Durga -Original Message- From: AOLserver Discussion [mailto:AOLSERVER;LISTSERV.AOL.COM]On Behalf Of Durga Sent: Wednesday, October 16, 2002 5:14 PM To: [EMAIL PROTECTED] Subject: Re: [AOLSERVER] AOL Web Server Installation Error's Hello Folks, I have fixed that previous ERROR message about installation error's Now, I installed the AOL server successfully. However, I have trouble in starting the web server. Here is the error message from log file: [16/Oct/2002:16:54:12][21439.1][-main-] Notice: nsmain: AOLserver/3.5.0 starting [16/Oct/2002:16:54:12][21439.1][-main-] Notice: modload: loading '/pub/msp0/bin/nssock.so' [16/Oct/2002:16:54:12][21439.1][-main-] Warning: modload: no such symbol 'Ns_ModuleInit' in module '/pub/msp0/bin/nssock.so' [16/Oct/2002:16:54:12][21439.1][-main-] Fatal: modload: failed to load module '/pub/msp0/bin/nssock.so' any idea?..Can somebody help me what's this for? Thanks a lot in advance! -Durga
Re: [AOLSERVER] Failed to Load nssock.so
Thanks a lot for your reply!.. Here is the information about Platform and How I installed: Platform: SunOS 5.7 sun4u sparc SUNW,Ultra-1 Installation Info. : -- Obtained AOLserver from www.aolserver.com -- I installed as per the README file which comes along the BUILD. % gunzip tcl8.4.0-src.tar.gz | tar xvf - % cd tcl8.4.0/unix % ./configure --prefix=/usr/local/aolserver --enable-threads % make install % gunzip aolserver-3.5.0.src.tar.gz | tar xvf - % cd aolserver-3.5.0 % ./configure % make install --with-tcl=/pub/lib/ --prefix=/pub/msp/ Thanks! -Durga -Original Message- From: AOLserver Discussion [mailto:AOLSERVER;LISTSERV.AOL.COM]On Behalf Of Peter M. Jansson Sent: Thursday, October 17, 2002 12:30 PM To: [EMAIL PROTECTED] Subject: Re: [AOLSERVER] Failed to Load nssock.so On Thursday, October 17, 2002, at 12:32 PM, Durga wrote: [16/Oct/2002:16:54:12][21439.1][-main-] Warning: modload: no such symbol'Ns_ModuleInit' in module '/pub/AOLserver/bin/nssock.so' [16/Oct/2002:16:54:12][21439.1][-main-] Fatal: modload: failed to load module '/pub/AOLserver/bin/nssock.so' Your nssock.so is bad, somehow. Either it's been built incorrectly, or installed incorrectly. Hard to know which, or to be more precise without more information, such as platform, how you obtained AOLserver, how you installed it, and so on.
Re: [AOLSERVER] Failed to Load nssock.so
On Thursday, October 17, 2002, at 03:15 PM, Durga wrote: % ./configure % make install --with-tcl=/pub/lib/ --prefix=/pub/msp/ Since you didn't give a --prefix arg to ./configure, it should have installed in /usr/local/aolserver, and not /pub/AOLserver. Also, your tcl ./configure specified --prefix=/usr/local/aolserver, yet you make AOLserver with --with-tcl=/pub/lib, which is not /usr/local/aolserver. I don't think you have things installed in the right places. What is in /pub/AOLserver, and how did it get there? [16/Oct/2002:16:54:12][21439.1][-main-] Warning: modload: no such symbol'Ns_ModuleInit' in module '/pub/AOLserver/bin/nssock.so' [16/Oct/2002:16:54:12][21439.1][-main-] Fatal: modload: failed to load module '/pub/AOLserver/bin/nssock.so' Your nssock.so is bad, somehow. Either it's been built incorrectly, or installed incorrectly. Hard to know which, or to be more precise without more information, such as platform, how you obtained AOLserver, how you installed it, and so on.
Re: [AOLSERVER] Failed to Load nssock.so
Hi Jansson, I really appreciate your quick response! I am very sorry, looks like something is missing in my previous mailHowever, I did the installation as mentioned in the README file..but still I couldn't bring up the web server. Again, here is the actual installation commands as I did: For TCL: % gunzip tcl8.4.0-src.tar.gz | tar xvf - % cd tcl8.4.0/unix % ./configure --prefix=/pub/msp0/ --enable-threads ## /pub/msp0 is homedir for AOLserver # % make test % make install For AOLserver: % gunzip aolserver-3.5.0.src.tar.gz | tar xvf - % ./configure --with-tcl=/pub/msp0/lib --prefix=/pub/msp0/ % make test % make install (I didn't see any error messages while installing ) Anyways, I am trying re-installe the AOLserver again.. Also, we would like to connect to the INFORMIX database, there is not much information for Informix. Can you please suggest where can I get the DRIVERS? The web site mentioned on AOLserver.com is nolonger exists. Please suggest if you can.. Thanks! -Durga -Original Message- From: AOLserver Discussion [mailto:AOLSERVER;LISTSERV.AOL.COM]On Behalf Of Peter M. Jansson Sent: Thursday, October 17, 2002 2:20 PM To: [EMAIL PROTECTED] Subject: Re: [AOLSERVER] Failed to Load nssock.so On Thursday, October 17, 2002, at 03:15 PM, Durga wrote: % ./configure % make install --with-tcl=/pub/lib/ --prefix=/pub/msp/ Since you didn't give a --prefix arg to ./configure, it should have installed in /usr/local/aolserver, and not /pub/AOLserver. Also, your tcl ./configure specified --prefix=/usr/local/aolserver, yet you make AOLserver with --with-tcl=/pub/lib, which is not /usr/local/aolserver. I don't think you have things installed in the right places. What is in /pub/AOLserver, and how did it get there? [16/Oct/2002:16:54:12][21439.1][-main-] Warning: modload: no such symbol'Ns_ModuleInit' in module '/pub/AOLserver/bin/nssock.so' [16/Oct/2002:16:54:12][21439.1][-main-] Fatal: modload: failed to load module '/pub/AOLserver/bin/nssock.so' Your nssock.so is bad, somehow. Either it's been built incorrectly, or installed incorrectly. Hard to know which, or to be more precise without more information, such as platform, how you obtained AOLserver, how you installed it, and so on.
Re: [AOLSERVER] Failed to Load nssock.so
On 2002.10.17, Durga [EMAIL PROTECTED] wrote: % make test % make install Durga, You need to use GNU make, or gmake. I assume you have, but just making sure ... ruling out the obvious things. -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on. (p. 70)
[AOLSERVER] compiling php for aolserver
Hi, I'm having problems gettig php to work with Aolserver. this is the command I am using: ./configure --with-aolserver=/usr/local/aolserver/ \ --with-aolserver-src=/usr/local/src/oacs/aolserver/ \ --with-pgsql no errors, then I compile it. no errors again. but in my modules directory, there isn't any php module in there. am I supposed to copy it over manually or have I done something wrong? edwin
Re: [AOLSERVER] compiling php for aolserver
This is what I use: ./configure --enable-mbstring --with-aolserver-src=/usr/local/aolserver-3.4. 2 --with-aolserver=/aolserver --with-mysql --with-pgsql Then make then make install which puts the .so into the bin dir appropriately for me. Make SURE you also consider setting your stacksize parameter in your config... ns_section ns/threads ns_param stacksize [expr 256*1024] the default stacksize is 128*1024 and on newer versions of RedHat there is evidence of problems with the defaults when using PHP. -- Patrick Spence arivenATarivenDOTcom www.RandomRamblings.com www.Ariven.com - Original Message - From: Edwin Ho [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 17, 2002 4:20 PM Subject: [AOLSERVER] compiling php for aolserver Hi, I'm having problems gettig php to work with Aolserver. this is the command I am using: ./configure --with-aolserver=/usr/local/aolserver/ \ --with-aolserver-src=/usr/local/src/oacs/aolserver/ \ --with-pgsql no errors, then I compile it. no errors again. but in my modules directory, there isn't any php module in there. am I supposed to copy it over manually or have I done something wrong? edwin