• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Error in Plesk 9.0.1 Cent OS

C

Cubehouse

Guest
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
 
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.
 
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.
 
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
 
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
 
What's left is recursive 755 on all /etc/sw/
It is a bit unsecure but you may wish to try it anyway.
 
Back
Top