Results 1 to 8 of 8

Thread: PmWiki Problem

  1. #1
    Orca Whisperer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,899

    PmWiki Problem

    Well, I downloaded PMwiki and I installed it on my personal webserver (Apache2). I tried to run the "pmwiki.php" program and at first it balked that there was no "wiki.d" directory. I believe "pmwiki.php" is supposed to create it automatically but it didn't, so I had to create it manually and give proper permissions. Okay, then I try running pmwiki.php again and bango... it balks and says "cannot acquire lockfile".

    So I check this and the remedy is remove the hidden .flock file from the wiki.d directory. But there is no .flock file present.. Yes, I ran "ls -a" to show .hidden files.

    I am thinking now maybe it's a general problem with permissions. Being that pmwiki.php couldn't create the "wiki.d" directory methinks somehow pmwiki isn't finding the proper permissions so it isn;t able to create the lockfile .flock. I guess I'll have to see what user is apache running as and double check the ownership and permissions of the servers file system,.

    I doubt it is a SELINUX problem as I shut down SELINUX and the problem still happens. I am going to play around with it later but right now I have some other stuff to do.

    In the mean time, has anyone else run into this issue ? Any ideas ?
    Last edited by n2ize; 02-18-2012 at 03:26 PM.
    I keep my 2 feet on the ground, and my head in the twilight zone.

  2. #2
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    http://www.pmwiki.org/wiki/PmWiki/Installation

    Step 3:

    chmod 2777 .

    Then, perform the install. Make sure the files are owned, and writable by the web server account. SELinux shouldn't interfere with the app.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  3. #3
    Orca Whisperer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,899
    Quote Originally Posted by KC2UGV View Post
    http://www.pmwiki.org/wiki/PmWiki/Installation

    Step 3:

    chmod 2777 .

    Then, perform the install. Make sure the files are owned, and writable by the web server account. SELinux shouldn't interfere with the app.
    I'll give it a shot and see what happens. Thanks.
    I keep my 2 feet on the ground, and my head in the twilight zone.

  4. #4
    Orca Whisperer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,899
    Yep, it seems to have worked. Now as per the instructions I can proceed to change the permissions to 755 or something more secure.

    Also, a jump ahead question. Does PMwiki need to be installed on the same server on which the web site I will be building and maintaining ? Or can it work across the network (Internet) ?
    I keep my 2 feet on the ground, and my head in the twilight zone.

  5. #5
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    Quote Originally Posted by n2ize View Post
    Yep, it seems to have worked. Now as per the instructions I can proceed to change the permissions to 755 or something more secure.

    Also, a jump ahead question. Does PMwiki need to be installed on the same server on which the web site I will be building and maintaining ? Or can it work across the network (Internet) ?
    PmWiki IS the website you are building :) So, yes, it has to be on the same server.

    PmWiki (And all other wiki softwares) are Content Management Systems: They give you a frame work to present content in a uniform fashion.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  6. #6
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    As an aside, if you desire, let me know after you THINK you have it configured correctly, and I can go after you and make sure you didn't leave yourself open to wikispam.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  7. #7
    Orca Whisperer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,899
    Quote Originally Posted by KC2UGV View Post
    PmWiki IS the website you are building :) So, yes, it has to be on the same server.

    PmWiki (And all other wiki softwares) are Content Management Systems: They give you a frame work to present content in a uniform fashion.
    Okay, thanks. I am sort of new to these tools.
    I keep my 2 feet on the ground, and my head in the twilight zone.

  8. #8
    Orca Whisperer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,899
    Quote Originally Posted by KC2UGV View Post
    As an aside, if you desire, let me know after you THINK you have it configured correctly, and I can go after you and make sure you didn't leave yourself open to wikispam.
    OK sounds good. I am going to mess around with it a little more later on.
    I keep my 2 feet on the ground, and my head in the twilight zone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •