[Pmwiki-users] Cannot Acquire Lockfile...can no longer fix

Patrick R. Michaud pmichaud
Tue Dec 21 19:59:07 CST 2004

On Tue, Dec 21, 2004 at 07:35:28PM -0500, Doug Porteous wrote:
> Following a few days after problems arising from my hosting service's PHP
> upgrade, I again cannot access my PmWiki-based site
> I'm familiar with the 'Cannot Aqcquire Lockfile" problem and have easily
> resolved it in the past. This time, however, short of creating a new wiki.d
> and transferring everything to it, I cannot fix things. (I note that PHP's
> safe_mode is set to 'On')

Rename the wiki.d directory to something else (e.g., wiki.d.bak), then
copy it and everything in it into a new wiki.d directory.  Give the
new wiki.d directory 777 permission.  That should fix the problem,
especially if your running pmwiki-2.0.beta10 or later.  If it doesn't,
write me back and I'll get right on it.

> 3. CHMOD 777 on the wiki.d folder
> Result from WS_FTP:
> 550 wiki.d: Operation not permitted
> ! Chmod failed. It may not be supported on remote site.
> Hope someone can suggest a solution...

The problem is that your site is in safe_mode and the wiki.d folder
is owned by the webserver account.  While this *used* to be okay for
most installations apparently it has problems now.  Doing the steps
I gave above (rename wiki.d, then copy back to wiki.d) should give
you ownership of the files and solve the problem.


More information about the pmwiki-users mailing list