On Tue, Jan 25, 2000 at 08:58:50AM +1100, Hugh Irvine wrote:
> Hello Anand -
Hi Hugh,
> We have recently had a similar problem with another customer using a DBM
> Session Database on Solaris. It turned out that the Perl they were running had
> threading turned on and that seemed to be the problem. They have since turned
> threading off in Perl and moved to an SQL Session Database, and their problems
> have been resolved.
>
> Could you check the same things and let us know the result? BTW - if you don't
> want to use an SQL Session Database, you can also force Perl to use a different
> DBM library by editing the file Radius/SessDBM.pm:
>
> # This will cause perl to choose the 'best' DBM format available to
> # you. You can force it to use another format by setting $dbtype to
> # NDBM_File, DB_File, GDBM_File, SDBM_File or ODBM_File
> my $dbtype = 'AnyDBM_File';
OK. I've installed Berkeley DB on my machine, and I'm trying to use it
to see what happens. Just a note here: When I changed the above line in
Radius/SessDBM.pm, I got errors from radiator saying that it could not
tie using "AnyDBM_File.pm". I then discovered that in a number of places
in SessDBM.pm, "AnyDBM_File.pm" was hardcoded, instead of using the
$dbtype variable. Is this a bug?
I'm also including below the output from my system's perl -V. It seems
to indicate that threading if off, but perhaps you can confirm for me:
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos 5.7 s998_18 sun4u sparc sunw,ultra-1 '
hint=previous, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.8.1
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under solaris
Compiled at Oct 24 1998 01:11:27
@INC:
/usr/local/lib/perl5/5.00502/sun4-solaris
/usr/local/lib/perl5/5.00502
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005
.
--
See complete headers for more info
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.