00395: New Installation can't Acquire Lockfile

Summary: New Installation can't Acquire Lockfile
Created: 2005-03-17 20:57
Status: Closed
Category: PHP Compatibility
From: pvmeer?
Assigned:
Priority: 3
Version: 2.0b26
OS: FreeBSD 4.9-RELEASE-p11; PHP 4.3.8

Description: First installation of pmwiki. When I upload the pmwiki dir to the public_html file and chmod to 777, the default installation comes up, wiki.d is made. All is well, can add to and modify at will. When I chmod back to 755 (or just the wiki.d and config to 666), I get the error " Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in /home/*****/public_html/*****/pmwiki.php on line 344 PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience. " Afterward, even if chmod the dir back to 777, continue to get the same error message.

I apologise if this isn't the place for this. I'm early in learning all this.

Any help would be appreciated.


Sounds like a problem with PHP's safe_mode; try creating the wiki.d/ directory manually and see if that helps.


I just followed the above advice and it worked like a charm.


In the case of Windows Vista give user IUSR permissions on the wiki.d directory.