• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Reset system permissions

KevinStone

New Pleskian
Hi,

Does anyone know how to reset the system permissions?

I have posted this before but I think the title was misleading.

Looking in /etc/sw/keys/ I have the following:

drwxrws--- 2 root swkey-data 4096 Aug 19 07:13 backup
-rw-r--r-- 1 root swkey-data 22 Aug 19 07:13 info
drwxrws--- 2 root swkey-data 4096 Aug 8 2012 instances
drwxrws--- 2 root swkey-data 4096 Aug 19 07:13 keys
drwxrws--- 2 root swkey-data 4096 Sep 24 09:04 lock
-rw-rw---- 1 root swkey-data 19129 Sep 25 04:02 registry.xml
drwxrws--- 2 root swkey-data 4096 Sep 24 09:10 restart

I believe it should look more like this:

drwxrws--- 2 psaadm swkey-data 4096 Jul 7 05:27 backup
-rw-r--r-- 1 psaadm swkey-data 22 May 4 12:36 info
drwxrws--- 2 root swkey-data 4096 Apr 30 03:24 instances
drwxrws--- 2 psaadm swkey-data 4096 Jul 7 05:27 keys
drwxrws--- 2 psaadm swkey-data 4096 May 11 06:01 lock
-rw-rw---- 1 root swkey-data 5451 Jul 13 05:50 registry.xml
drwxrws--- 2 psaadm swkey-data 4096 May 11 06:02 restart

At the moment Plesk does not work at all and I get the following error message when I log in.

ERROR: SWKeyExFatalError

UPDATE: now can't login at all! Error: Unable to check password:

Any help greatly appreciated!

Thanks

Kevin
 
Last edited:
Thanks for the help which has overcome the logging in problem.

I am now back to the ERROR: SWKeyExFatalError issue which is something to do with permissions.

There must be someway to reset to the default permissions, hopefully somebody out there knows..

Thanks again
 
Last edited:
It seems that the registry.xml file has got corrupted on your server. You need to take below steps to resolve this issue.

1. Through SHELL Navigate to /etc/sw/keys/
2. Check the size of registry.xml file and rename or delete this file if the size is 0 Kb.
3. Restart the Plesk services. This will create new registry.xml file.
 
Hi Abdi,

thanks for that I have already checked that and the file was 19.1k do you think it should be deleted if it isn't empty?

Kevin
 
Do not delete it then, instead just rename it to something else just incase you need to revert back to it ...
 
Have you monitored the log files for any possible error clues? ie

Code:
tail -f /usr/local/psa/admin/logs/panel.log
 
Back
Top