Has anyone had any problems with failure to write locks on Apache:ASP 
under Solaris or any other platform? Getting quite a number of the 
following in the log files...

[Tue Nov  7 10:23:11 2000] [error] [asp] [6708] [error] can't write 
lock /usr/apache/asp.global/.state/57/57d8991eb40ed4d6e886304ac5806101.l
ock: Bad file 
number, /usr/local/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 4670

...but not very consistent. Most of the time, it works just fine. 

When it does fail, it seems to trigger a bug in the UnLock module in 
that the global $UNLOCK value gets set to LOCK_SH|LOCK_EX (which is 
invalid) in the code that is commented as being written for QNX. For 
some reason, Fcntl::FUNLCK is returning LOCK_SH|LOCK_EX on Solaris, and 
the next time the module attempts to unlock a lock file, the call to 
flock($file, ($UNLOCK || LOCK_UN)) [line 4687 or thereabouts] fails 
with an 'Invalid argument' error. 

Anyway, ending up with some really weird issues using ASP on Solaris. 
We have one code base for a client that is used on both NT and Solaris 
(spent a fair bit of time getting that to work). But now, even some 
form values in the Solaris version appear to be getting corrupted 
somehow. For some unknown reason, a form that is submitted is getting a 
key value that is not at all what is in the form - it almost appears to 
be coming from another instance of the same form from another user on 
the system at the time.

We're using the latest version of the ASP code so if anyone has any 
ideas, it would be most useful. Thanks in advance!

Daniel.
begin:vcard
n:Little;Daniel
fn:Daniel Little
tel;cell:(204) 955-0300
tel;fax:(204) 487-6680
tel;work:(204) 837 5503
url:http://www.metrex.net
org:Metrex Systems Consulting Inc.;
version:2.1
email;internet:[EMAIL PROTECTED]
title:President
end:vcard

Reply via email to