• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

SWKeyExFatalError. Repository is not opened

saramaganta

New Pleskian
Hi people!

I have a problem accesing my Plesk. I see:

ERROR: SWKeyExFatalError
Repository is not opened

in the logs:


[2015-07-31 15:40:02] ERR [panel] Unable to get key: Repository is not opened
[31-Jul-2015 15:40:02 Europe/Berlin] SWKeyExFatalError: Repository is not opened
file: /opt/psa/admin/plib/functions.php
line: 3352
code: 0
trace: #0 /opt/psa/admin/plib/functions.php(3352): of_get_all_keys()
#1 /opt/psa/admin/plib/Key/Primary/InfoForm.php(155): pkey_fetch_key_list()
#2 /opt/psa/admin/plib/Key/Primary/InfoForm.php(64): Key_Primary_InfoForm->get_bye_online_url('new', '')
#3 /opt/psa/admin/htdocs/server/key_info.php(44): Key_Primary_InfoForm->assign()
#4 {main}

I followed the resolution steps in:

http://kb.odin.com/en/111684

restart de psa service with no problems and the owner/group and permissions seem ok, so:

$ sudo ls -ld /etc/sw /etc/sw/keys /etc/sw/keys/lock /etc/sw/keys/lock/repository
drwxr-xr-x 3 root root 4096 Jul 3 10:14 /etc/sw
drwxrws--- 7 root swkey-data 4096 Jul 31 15:20 /etc/sw/keys
drwxrws--- 2 root swkey-data 4096 Jul 3 10:17 /etc/sw/keys/lock
-rw-rw---- 1 root swkey-data 0 Jun 6 2014 /etc/sw/keys/lock/repository


$ sudo su -l psaadm -s /bin/sh -c 'id -Gn'
psaadm lock-manager swkey-data psaserv psasb


Any suggestions? Thanks in advance.

(By the way:
Version: $ cat /usr/local/psa/version
12.0.18 Debian 7.0 1200150615.10
)
 
Last edited:
Back
Top