<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I came to the same conclusion, but Apache::Session doesn't appear in
the codebase. Is it possible that other files could be being used
outside the web root?<br>
<br>
What do you think might require permissions? I have added the
/sessions/ folder and given it ownership of www-data (same as
Apache) and even tried permissions 777. Are there other folders I
should be lookign at? Or particular users I should try executing
processes as?<br>
<br>
To my knowledge the OS hasn't been changed recently, but I don't
think it was a well-maintained box. When I restarted it last week
Apache complained about missing files from sites that had been
decommissioned, but their definitions not removed from sites-enabled
- so someone had been tinkering in there and not properly tidying up
after themselves. No idea when the box was last restarted, but it's
quite possible modules were uninstalled or changed months ago and no
one would have noticed until the box was restarted last week<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 3/12/12 2:06 PM, Benjamin wrote:<br>
</div>
<blockquote
cite="mid:CAAZQHSty64JZm8mWeZaoxAGbjwKh114He65LTx-TYJ52TWF3Dw@mail.gmail.com"
type="cite"><br>
Appears to be using Apache::Session somewhere in there and sounds
a lot like permission issues.<br>
<br>
Have you recently moved the site to a new environment or upgraded
the host OS?<br>
<br>
Can you grep the Perl source for the application for
"Apache::Session" and grab the chunk of related code?<br>
<br>
Ben<br>
<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Dec 3, 2012 at 1:59 PM, Rick
Giner <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rickginer@gmail.com" target="_blank">rickginer@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> I wonder if anyone
can help. This may only take a short time to debug for
someone in the know. More than happy to compensate for any
time spent on it... <br>
<br>
It's been a long while since I have worked with Perl, I am
in a Ruby role right now but we have an old (12 year old)
Perl website that stopped working after the server
rebooted. The shopping cart did, anyway. <br>
<br>
It seems to be trying to read session information relating
to the shopping cart, the error showing up in the log is a
"Could not open file
'/var/lock/session/Apache-Session-blah.lock' for writing:
No such file or directory at <i><span>/</span>usr/share/perl/5.8/CGI/Carp.pm
line 314". The /session<span>/</span></i> folder it
refers to doesn't actually exist, though even after I
created it the error persists and no session files are
being written. <br>
<br>
If anyone has any time to help, we would greatly
appreciate it and can arrange for a console into the
server and much beer + cash prizes for anyone that helps
solve our problem! <br>
<br>
Many thanks, <br>
<br>
Rick Giner <br>
<a moz-do-not-send="true" href="tel:0416%20500%20924"
value="+61416500924" target="_blank">0416 500 924</a> </div>
<br>
_______________________________________________<br>
Melbourne-pm mailing list<br>
<a moz-do-not-send="true" href="mailto:Melbourne-pm@pm.org">Melbourne-pm@pm.org</a><br>
<a moz-do-not-send="true"
href="http://mail.pm.org/mailman/listinfo/melbourne-pm"
target="_blank">http://mail.pm.org/mailman/listinfo/melbourne-pm</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>