Re: [AOLSERVER] weird segfault ver 2

2002-10-16 Thread jerome

On Thursday 17 October 2002 11:49, you wrote:
> On Thu, 17 Oct 2002, jerome wrote:
> > i tried downloading postgres
> > driver in openacs and [bad French omitted]
>
> Before you grabbed the OpenACS pg driver, were you running the latest from

yes.

> the AOLserver SourceForge repository?  Wasn't someone working on getting
> the AOLserver SF version of the PG driver up-to-date?



[AOLSERVER] ArsDigita 13 encoding patches for 3.4.2?

2002-10-16 Thread Eric Lee

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] weird segfault ver 2

2002-10-16 Thread Peter M. Jansson

On Thu, 17 Oct 2002, jerome wrote:

> i tried downloading postgres
> driver in openacs and [bad French omitted]

Before you grabbed the OpenACS pg driver, were you running the latest from
the AOLserver SourceForge repository?  Wasn't someone working on getting
the AOLserver SF version of the PG driver up-to-date?



Re: [AOLSERVER] ns_writecontent and POST'ing data to AOLserver 3.5.0

2002-10-16 Thread Peter M. Jansson

On Wed, 16 Oct 2002, Patrick Spence wrote:

> Just to be sure its clear, since you seem to be implying that the stack size
> thing is in 3.5.0 here.. I am running 3.4.2 not 3.5 and I had to increase
> the stack space.

The stack space thing appears to be related to updates to RedHat Linux
beyond 7.3, and is not specific to a particular version of AOLserver, from
the evidence available so far.

Pete.



Re: [AOLSERVER] weird segfault ver 2

2002-10-16 Thread jerome

i was able to fix the problem...  i suspected that seg fault comes after a
select version() .. so i assumed the problem came from my postgres driver (
hehehe ) pretty good it was a good hunch i tried downloading postgres
driver in openacs and whaalaaa... a working aolserver + openacs 4.5



On Thursday 17 October 2002 08:47, Daniel P. Stasinski wrote:
>  > can someone tell me howto make this work..
>
> Try increasing the stack size as outlined in other "weird bug" messages
> and see if it helps.



Re: [AOLSERVER] ns_writecontent and POST'ing data to AOLserver 3.5.0

2002-10-16 Thread Patrick Spence

- Original Message -
From: "Dossy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 7:08 PM
Subject: [AOLSERVER] ns_writecontent and POST'ing data to AOLserver 3.5.0


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

Just to be sure its clear, since you seem to be implying that the stack size
thing is in 3.5.0 here.. I am running 3.4.2 not 3.5 and I had to increase
the stack space.

Which, incidentally, has cured my problems I was having with some PHP
scripts causing a segfault randomly...



--
  Patrick Spence 
  www.RandomRamblings.com
  www.Ariven.com



[AOLSERVER] ns_writecontent and POST'ing data to AOLserver 3.5.0

2002-10-16 Thread Dossy

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

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

2002-10-16 Thread Daniel P. Stasinski

 > can someone tell me howto make this work..

Try increasing the stack size as outlined in other "weird bug" messages
and see if it helps.

--
Daniel P. Stasinski
Software Engineer
Mayor Pharmaceutical Laboratories
[EMAIL PROTECTED]



[AOLSERVER] weird segfault ver 2

2002-10-16 Thread jerome

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  to continue, or q  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,
command=0x815f23a "\nif { [file isfile $bootstrap_file] } {\nsource
$bootstrap_file\n} else {\nns_log \"Error\" \"$bootstrap_file does not
exist. Aborting the OpenACS load process.\"\n}\n\n", length=167, flags=0)
at ../generic/tclParse.c:932
#28 0x080de522 in Tc

Re: [AOLSERVER] AOL Web Server Installation Error's

2002-10-16 Thread Durga

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: nsmain: security info:
uid=4410, euid=4410, gid=4400, egid=4400
[16/Oct/2002:16:54:12][21439.1][-main-] Notice: nsmain: max files:
FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[16/Oct/2002:16:54:12][21439.1][-main-] Notice: adp: mapped /*.adp
[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



-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Durga
Sent: Wednesday, October 16, 2002 1:46 PM
To: [EMAIL PROTECTED]
Subject: [AOLSERVER] AOL Web Server Installation Error's


Hello,

We are trying to install the AOL web server on SUN Solaris 7. Here is the
following ERROR message we have got:

command: gmake install PREFIX={$my_directory}

ERROR:
make[1]: Entering directory `/users/WWW/AOL/aolserver-3.5.0-src/nsthread'
make[1]: TCL_CC@: Command not found
make[1]: *** [cond.o] Error 127
make[1]: Leaving directory `/users/WWW/AOL/aolserver-3.5.0-src/nsthread'
make: *** [all] Error 1


Can you help me what is this error message?..or how to fix this?

Thanks in advance for any comments!

-Durga

PS: My previous message was sent to list address - [EMAIL PROTECTED]
..sorry for any inconvenience!



[AOLSERVER] AOL Web Server Installation Error's

2002-10-16 Thread Durga

Hello,

We are trying to install the AOL web server on SUN Solaris 7. Here is the
following ERROR message we have got:

command: gmake install PREFIX={$my_directory}

ERROR:
make[1]: Entering directory `/users/WWW/AOL/aolserver-3.5.0-src/nsthread'
make[1]: TCL_CC@: Command not found
make[1]: *** [cond.o] Error 127
make[1]: Leaving directory `/users/WWW/AOL/aolserver-3.5.0-src/nsthread'
make: *** [all] Error 1


Can you help me what is this error message?..or how to fix this?

Thanks in advance for any comments!

-Durga

PS: My previous message was sent to list address - [EMAIL PROTECTED]
..sorry for any inconvenience!



Re: [AOLSERVER] Segfault when using ns_httpget and ns_sockopen

2002-10-16 Thread Daniel P. Stasinski

Try adding this and see if suddenly all is well:

# Thread library (nsthread) parameters
ns_section "ns/threads"
ns_param   stacksize [expr 256*1024]

Something in the latest glibc is causing all apps to use a lot
more stack.  It has something to do with resolving hostnames and
ip's.

Daniel P. Stasinski
Software Engineer
Mayor Pharmaceutical Laboratories
[EMAIL PROTECTED]

- Original Message -
From: "Kevin Lawver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 8:51 AM
Subject: [AOLSERVER] Segfault when using ns_httpget and
ns_sockopen


I've tried everything I can think of to fix this problem, but
nothing
seems to work.   I'm running RedHat 8.0 (although the problem
started in 7.2)
on a dual CPU Intel box.  I've tried the prebuilt 3.4.2 from
aolserver.com,
prebuilt 3.5.0 from aolserver.com, my old installation of 3.4.2,
and a fresh
build of 3.4.2.



Re: [AOLSERVER] Segfault when using ns_httpget and ns_sockopen

2002-10-16 Thread Peter M. Jansson

Try doubling your stack...that seems to help folks running newer RedHat
versions.

Also, see if you can get a core dump or run the AOLserver under gdb and
get a stack backtrace -- we'll be able to tell what kind of a segfault you'
re having.

Pete.

On Wednesday, October 16, 2002, at 11:51 AM, Kevin Lawver wrote:

> Hi all,
>I've tried everything I can think of to fix this problem, but
> nothing
> seems to work.   I'm running RedHat 8.0 (although the problem started in
> 7.2)
> on a dual CPU Intel box.  I've tried the prebuilt 3.4.2 from
> aolserver.com,
> prebuilt 3.5.0 from aolserver.com, my old installation of 3.4.2, and a
> fresh
> build of 3.4.2.
>Whenever I try to use ns_sockopen or ns_httpget, the server crashes
> with what it reports as a segmentation fault.  Has anyone seen this before
> with RedHat?  Any clues as to how to fix it?
>
> Kevin Lawver



Re: [AOLSERVER] Segfault when using ns_httpget and ns_sockopen

2002-10-16 Thread Dave Bauer

Kevin,

Check the stacksize parameter in your config file.

If its less than 50 or so, bump it up and try again.

Dave

On Wed, Oct 16, 2002 at 11:51:46AM -0400, Kevin Lawver wrote:
> Hi all,
>I've tried everything I can think of to fix this problem, but nothing
> seems to work.   I'm running RedHat 8.0 (although the problem started in 7.2)
> on a dual CPU Intel box.  I've tried the prebuilt 3.4.2 from aolserver.com,
> prebuilt 3.5.0 from aolserver.com, my old installation of 3.4.2, and a fresh
> build of 3.4.2.
>Whenever I try to use ns_sockopen or ns_httpget, the server crashes
> with what it reports as a segmentation fault.  Has anyone seen this before
> with RedHat?  Any clues as to how to fix it?
>
> Kevin Lawver



[AOLSERVER] Segfault when using ns_httpget and ns_sockopen

2002-10-16 Thread Kevin Lawver

Hi all,
   I've tried everything I can think of to fix this problem, but nothing
seems to work.   I'm running RedHat 8.0 (although the problem started in 7.2)
on a dual CPU Intel box.  I've tried the prebuilt 3.4.2 from aolserver.com,
prebuilt 3.5.0 from aolserver.com, my old installation of 3.4.2, and a fresh
build of 3.4.2.
   Whenever I try to use ns_sockopen or ns_httpget, the server crashes
with what it reports as a segmentation fault.  Has anyone seen this before
with RedHat?  Any clues as to how to fix it?

Kevin Lawver



[AOLSERVER] [ aolserver-Support Requests-624002 ] Server Fatal Exception

2002-10-16 Thread Ms. Source Forge

Support Requests item #624002, was opened at 2002-10-16 05:21
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=624002&group_id=3152

Category: Configuration: Other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: jhon clevend (myjv)
Assigned to: Nobody/Anonymous (nobody)
Summary: Server Fatal Exception

Initial Comment:
We have a SUN based  platform and we´ve got these
following messages  on /var/adm/messages

Oct 16 03:42:54 sdp13a AOLserver[1147]:
Oct 16 03:42:54 sdp13a Server fatal exception -
exiting.
Oct 16 03:48:08 sdp13a AOLserver[22028]:
Oct 16 03:48:08 sdp13a Server fatal exception -
exiting.

How could I get more information about those codes
[1147] and [22028] to know what  caused those
messages and how to act.

Thanks in advance!
Jhon

--

>Comment By: Peter M. Jansson (petej)
Date: 2002-10-16 07:42

Message:
Logged In: YES
user_id=20577

The numbers are likely process IDs, not any codes from
AOLserver.  The string "Server fatal exception" does not
appear in the core AOLserver code.  What modules or database
drivers are you using?

--

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=624002&group_id=3152



[AOLSERVER] [ aolserver-Support Requests-624002 ] Server Fatal Exception

2002-10-16 Thread Ms. Source Forge

Support Requests item #624002, was opened at 2002-10-16 09:21
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=624002&group_id=3152

Category: Configuration: Other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: jhon clevend (myjv)
Assigned to: Nobody/Anonymous (nobody)
Summary: Server Fatal Exception

Initial Comment:
We have a SUN based  platform and we´ve got these
following messages  on /var/adm/messages

Oct 16 03:42:54 sdp13a AOLserver[1147]:
Oct 16 03:42:54 sdp13a Server fatal exception -
exiting.
Oct 16 03:48:08 sdp13a AOLserver[22028]:
Oct 16 03:48:08 sdp13a Server fatal exception -
exiting.

How could I get more information about those codes
[1147] and [22028] to know what  caused those
messages and how to act.

Thanks in advance!
Jhon

--

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=624002&group_id=3152