Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MultiPHP The system failed to release the lock on the file

Discussion in 'EasyApache' started by KalaniSanders, Jul 15, 2017.

  1. KalaniSanders

    KalaniSanders Registered

    Joined:
    Jul 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    So Cal
    cPanel Access Level:
    Root Administrator
    Hello, I'm getting an error when trying to apply php changes in Multi PHP Manager.

    It seems to be a permissions issue.

    The system failed to release the lock on the file "[REMOVED].htaccess” because of an error: Permission denied at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 389.

    Here's the permissions of the current directory and the .htaccess:

    drwxr-xr-x. 2 wwwrun wwwrun 16384 Jul 15 13:26 .
    -rw-r--r--. 1 wwwrun wwwrun 0 Jul 15 13:26 .htaccess

    I've tried deleting the file outright so it could be recreated. I also tried setting permissions to 777 for it, but MultiPHP just hangs after applying.

    Changing ownership to "nobody" causes this error:
    The system failed to set the permissions on one or more inodes to “0644” (as EUID: 1000, EGID: 1002 1002) because of the following error: Permission denied

    And assistance would be appreciated.
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Can you provide the output of:

    Code:
    lsattr .htaccess
    make sure you run that in the directory where the .htaccess resides
     
  3. KalaniSanders

    KalaniSanders Registered

    Joined:
    Jul 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    So Cal
    cPanel Access Level:
    Root Administrator
    lsattr: Inappropriate ioctl for device While reading flags on .htaccess

    This particular folder is on NFS.
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Ah that's probably why, definitely a good thing to note in your original post ;) cPanel doesn't support NFS so not sure how much help you'll get even if its a bug within
    a cPanel script.

    Just as a test, are you able to delete the .htaccess using File Manager? Just curious.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    While network-based filesystems are often configured for backup purposes, we actually don't support it for home directories. This is mentioned under the Filesystem Requirements section in our installation documentation:

    Thank you.
     
Loading...

Share This Page