Subj: File: "GNNDEVELOPER-L LOG9901"
Date: 10/08/99 14:37:35 Eastern Daylight Time
From: LISTSERV@SERVICES.WEB.AOL.COM (L-Soft list server at SERVICES.WEB.AOL.COM (1.8b))
To: Kriston@AOL.COM (Kriston J. Rehberg)

=========================================================================
Date: Tue, 5 Jan 1999 11:08:44 -0500
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: Jim Wilcoxson
Subject: [cd] problems w/AOLserver 2.3.2 Linux
Comments: cc: bugs@aolserver.com
In-Reply-To: <199809141844.OAA22695@circle.office.aol.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

We're seeing some weird problems related to the TCL [cd] function. We have
a script that does:

cd ~nsadmin/anteq/new
set mailmsgs [lsort [glob -nocomplain *]]

It seems like there are race conditions here. We have a bunch of threads
that start up at once, and 99% of the time this code works, but sometimes
"mailmsgs" is set to a directory listing for the wrong directory.

Anybody else seen weirdness with cd?

Thanks. -Jim
=========================================================================
Date: Tue, 5 Jan 1999 10:51:31 -0500
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: Do It Sports Staff
Subject: sybase configuration
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

I'm having some difficulty getting Sybase (11.0.3.3.1 on Linux) to talk to
AOLServer (2.3.2). I can't find the documentation on setting the
'datasource' variable in the nsd.ini file.

Within the AOLServer documentation, there are references to Postgres,
Illustra, and SOLID, but nothing on Sybase.

Any help would be greatly appreciated.

Thanks.
+-------------------------------------------------------------+
| |
| o _ _ _ |
| _o /\_ _ \\o (_)\__/o (_) |
| _< \_ _>(_) (_)/<_ \_| \ _|/' \/ |
| (_)>(_) (_) (_) (_) (_)' _\o_ |
| --------^ ---^--- ---^--- ------- ----------- |
| |
+-------------------------------------------------------------+
"Doesn't matter where you finish, as long as
it's not behind slow people!"
-DoMan
Brad Chick doman@doitsports.com
Do It Sports, Inc. Tel: (734) 998-0007 x27
150 S. Fifth Ave. Fax: (734) 998-0056
Suite C, Ann Arbor, MI 48014 http://www.doitsports.com
=========================================================================
Date: Tue, 5 Jan 1999 15:37:26 -0500
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: "J. Michael Roberts"
Subject: Re: [cd] problems w/AOLserver 2.3.2 Linux
In-Reply-To: <4.1.19990105104226.034059a0@london.rubylane.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I never use cd, actually; I build fully qualified filenames -- but the ~
resolution is based on your username; are you sure that you're always the
same user? Just a thought. That's the only thing I can think of.

On Tue, 5 Jan 1999, Jim Wilcoxson wrote:

> We're seeing some weird problems related to the TCL [cd] function. We have
> a script that does:
>
> cd ~nsadmin/anteq/new
> set mailmsgs [lsort [glob -nocomplain *]]
>
> It seems like there are race conditions here. We have a bunch of threads
> that start up at once, and 99% of the time this code works, but sometimes
> "mailmsgs" is set to a directory listing for the wrong directory.
>
> Anybody else seen weirdness with cd?
>
> Thanks. -Jim
>
=========================================================================
Date: Tue, 5 Jan 1999 14:04:10 -0800
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: Igor Baikalov
Subject: Re: [cd] problems w/AOLserver 2.3.2 Linux
In-Reply-To: <4.1.19990105104226.034059a0@london.rubylane.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I had. To solve this problem, I create shell scripts which accept directory
name as an argument, f.ex. in your case,=20
create glob.csh:

#!/usr/bin/csh
ls $1/$2

and change Tcl code to:

set mailmsgs [exec glob.csh ~nsadmin/anteq/new *]

Hope AOL team can fix it in the future release.

Igor

At 11:08 AM 1/5/99 -0500, you wrote:
>We're seeing some weird problems related to the TCL [cd] function. We have
>a script that does:
>
> cd ~nsadmin/anteq/new
> set mailmsgs [lsort [glob -nocomplain *]]
>
>It seems like there are race conditions here. We have a bunch of threads
>that start up at once, and 99% of the time this code works, but sometimes
>"mailmsgs" is set to a directory listing for the wrong directory.
>
>Anybody else seen weirdness with cd?
>
>Thanks. -Jim
> =20
Igor Baikalov
UCLA-DOE Lab of Structural Biology=A0=A0=A0=A0=A0=A0=A0=20
and Molecular Medicine

http://www.doe-mbi.ucla.edu/
=========================================================================
Date: Wed, 6 Jan 1999 10:51:16 -0500
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: Mark Dalrymple
Subject: Re: Sybase configuration

Hey Brad,

> I'm having some difficulty getting Sybase (11.0.3.3.1 on Linux) to talk to
> AOLServer (2.3.2). I can't find the documentation on setting the
> 'datasource' variable in the nsd.ini file.

The datasource looks something like this:

DataSource=HOSTFNORD2_SYB:aolserver

Here's a complete setup that I'm using:

[ns/db/pool/sybase]
Driver=extsyb
Connections=2
DataSource=HOSTFNORD2_SYB:aolserver
User=markd
Password=peekaboo
Verbose=On
LogSQLErrors=On
ExtendedTableInfo=On

Where the equivalent isql invocation is:

isql -S HOSTFNORD2_SYB -P peekaboo -U markd
use aolserver


Cheers,
++Mark Dalrymple, America Online Web Server Development. markd@aol.net
"Quality cannot be independently derived from either mind or
matter. But it can be derived from the relationship of mind and matter
with each other. Quality occurs at the point at which subject and
object meet. Quality is not a thing. It is an event."
-- Robert M. Pirsig,
=========================================================================
Date: Wed, 6 Jan 1999 12:08:30 -0500
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: Jim Wilcoxson
Subject: Re: [cd] problems w/AOLserver 2.3.2 Linux
Comments: To: Mark Dalrymple
Comments: cc: bugs@aolserver.com
In-Reply-To: <199901061540.KAA02982@circle.office.aol.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Ok, thanks Mark.

cd is useful for a couple of reason with [glob]: if the directory is
large, using something like:

set dir /home/nsadmin/servers/rl/files/spider
foreach df [glob $dir/*] {
set f [string range $f [expr [string length $dir]+1] end]
}

is a pain compared to:

cd /home/nsadmin/servers/rl/files/spider
foreach f [glob *] {
do something with $f
}

I'd vote you remove cd altogether if it doesn't work 100%, especially since
it works 99% and could cause major problems:

cd /home/nsadmin/servers/rl/files/spider
foreach f [glob *] {
ns_unlink $f
}

We actually have code that does this. I'd sort of hate to wipe out the
wrong directory because another thread happens to be doing a cd...

Jim


At 10:40 AM 1/6/99 , Mark Dalrymple wrote:
>Hey Jim,
>
>> We're seeing some weird problems related to the TCL [cd] function. We have
>> a script that does:
>
>> cd ~nsadmin/anteq/new
>> set mailmsgs [lsort [glob -nocomplain *]]
>
>The cd function should be avoided, since it bangs a global state that can
>be stomped on by other threads (and for that reason we don't do any testing
>of the cd function) The use of full paths (either explicitly, or constructed
>from ns_info values) is recommended.
>
>Cheers,
>++Mark Dalrymple, America Online Web Server Development. markd@aol.net
> "Internet chat is one of satan's tools, contributing to the global
> lobotimization of youth even more so that USENET, and providing future
> rehabilitative surgeons a financial bonanza of carpal tunnel, lower
> back, and neck disorders." -- rolf@gitdown.com
=========================================================================
Date: Wed, 6 Jan 1999 16:20:43 -0500
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: "R. Matthew Emerson"
Subject: nsssl.so for irix

i know the aolserver team isn't distributing the 128 bit
nsssl module, but if anyone has it (for irix) i'd really
like to get a copy.

please send me mail; i'd be happy to defray expenses
of anyone willing to help.

-matt
=========================================================================
Date: Wed, 6 Jan 1999 08:55:17 +0000
Reply-To: Web Development with AOLserver
Sender: Web Development with AOLserver
From: Hal Heisler
Subject: Roaming Access Profiles
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Has anyone used AOLServer to maintain Netscape 4.5 Roaming Profiles?

-Hal


----------------------- Headers --------------------------------
Return-Path: <>
Received: from rly-zd05.mx.aol.com (rly-zd05.mail.aol.com [172.31.33.229]) by air-zd04.mail.aol.com (vx) with ESMTP; Fri, 08 Oct 1999 14:37:35 -0400
Received: from services.web.aol.com (services.web.aol.com [152.163.212.69]) by rly-zd05.mx.aol.com (v61.13) with ESMTP; Fri, 08 Oct 1999 14:37:32 -0400
Received: from services.web.aol.com (services.web.aol.com [152.163.212.69]) by services.web.aol.com (8.7.3/8.7.3) with ESMTP id OAA11570 for ; Fri, 8 Oct 1999 14:59:36 -0400 (EDT)
Message-Id: <199910081859.OAA11570@services.web.aol.com>
Date: Fri, 8 Oct 1999 14:59:35 -0400
From: "L-Soft list server at SERVICES.WEB.AOL.COM (1.8b)"

Subject: File: "GNNDEVELOPER-L LOG9901"
To: "Kriston J. Rehberg"