develooper Front page | perl.perl5.porters | Postings from October 2002

[aaronp@critd.com: Storable error: can't get shared lock]

From:
Raphael Manfredi
Date:
October 29, 2002 14:23
Subject:
[aaronp@critd.com: Storable error: can't get shared lock]
Message ID:
20021029232222.A21295@nice.ram.loc
----- Forwarded message from Aaron Paetznick <aaronp@critd.com> -----

Date: Tue, 29 Oct 2002 16:19:16 -0600
From: Aaron Paetznick <aaronp@critd.com>
Subject: Storable error: can't get shared lock
To: Raphael Manfredi <Raphael_Manfredi@pobox.com>
Organization: Critical Distinction, Inc.
X-getcost: -105


Before I start pulling hairs, is Storable-2.0.5 supposed to work on 
Solaris 9?  I get the following errors:

[Tue Oct 29 16:15:09 2002] [error] can't get shared lock on 
/usr/local/www/resources/www.bee-eater.com/testing/pagekit//View/pkit_cache/index.Default.en: 
Bad file number at 
/usr/local/lib/perl5/site_perl/5.8.0/Apache/PageKit/View.pm line 297


I believe this is an issue with Storable that PageKit is using.  I'm 
unsure of the state of flock() on Solaris 9.  Here is some output from 
perl -V:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
   Platform:
     osname=solaris, osvers=2.9, archname=sun4-solaris
     uname='sunos solaris 5.9 generic sun4u sparc sunw,ultra-5_10 '
     config_args='-Dcc=gcc -B/usr/ccs/bin/'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
     optimize='-O',
     cppflags='-fno-strict-aliasing'
     ccversion='', gccversion='3.1', gccosandvers='solaris2.9'
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
     libpth=/usr/local/lib /usr/lib /usr/ccs/lib
     libs=-lsocket -lnsl -ldb -ldl -lm -lc
     perllibs=-lsocket -lnsl -ldl -lm -lc
     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version=''
   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):
   Compile-time options: USE_LARGE_FILES
   Built under solaris
   Compiled at Jul 22 2002 04:42:16
   @INC:
     /usr/local/lib/perl5/5.8.0/sun4-solaris
     /usr/local/lib/perl5/5.8.0
     /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
     /usr/local/lib/perl5/site_perl/5.8.0
     /usr/local/lib/perl5/site_perl
     .


Thanks in advance for any help you can give.


--Aaron






----- End forwarded message -----



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About