1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Error in Plesk 9.0.1 Cent OS

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Cubehouse, Jul 14, 2009.

  1. Cubehouse

    Cubehouse Guest

    0
     
    Been googling this for days and trying to fix this myself.
    Absolutely no idea what's wrong. When I login, I get this error in the main frame of the page:
    Fatal error: error: /etc/sw/keys/lock/repository: cannot create: Permission denied in /usr/local/psa/admin/plib/common_func.php3 on line 4808

    It was working fine and just suddenly stopped. Any ideas?

    Thanks
     
  2. Nataliya Zagr

    Nataliya Zagr Regular Pleskian

    21
    87%
    Joined:
    Apr 14, 2009
    Messages:
    242
    Likes Received:
    0
    Hello,

    Please, check the permissions of the common_func.php3 file:

    # ls -la /usr/local/psa/admin/plib/common_func.php3
    -rw-r--r-- 1 root root 139541 Apr 22 13:33 /usr/local/psa/admin/plib/common_func.php3

    If the permissions are not the same, try to change them.
     
  3. Cubehouse

    Cubehouse Guest

    0
     
    Result:
    -rw-r--r-- 1 root root 139388 Jul 23 23:30 /usr/local/psa/admin/plib/common_func.php3

    Seems to be the same for me.
     
  4. Maa

    Maa Guest

    0
     
    You can check this thing also:

    # ls -la /etc/sw/keys/lock/repository
    -rw-rw---- 1 psaadm swkey-data 0 May 13 19:02 /etc/sw/keys/lock/repository

    # grep swkey /etc/group
    swkey-data:x:502:psaadm
     
  5. Cubehouse

    Cubehouse Guest

    0
     
    My results:

    # ls -la /etc/sw/keys/lock/repository
    -rwx------ 1 psaadm swkey-data 0 Jul 14 09:44 /etc/sw/keys/lock/repository

    # grep swkey /etc/group
    swkey-data:x:502:psaadm

    I've changed the permissions on the repository to match yours, still not working
     
  6. Maa

    Maa Guest

    0
     
    What's left is recursive 755 on all /etc/sw/
    It is a bit unsecure but you may wish to try it anyway.
     
Loading...