SWKeyExFatalError : Repository is not opened
I came across this error for the first time on a Plesk 10.3.1 installation.
Repository is not opened
The first place I looked for a clue was in /var/log/sw-cp-server/error_log. This didn't say much different that what the web browser provided:
Could not open Repository at "/etc/sw/keys": Cannot open file
I checked the parallels forums and found a discussion with this exact issue but there was no definitive answer as to the cause, and it seems different paths were taken for resolution to this issue.
The solution path I took was the recursive user permission change in /etc/sw. By comparison of another Plesk 10.3.1 installation, files and directories under this path are a user ownership of psaadm. This particular container had root user ownership, so I changed it:
~# cd /etc/sw
~# chown -R psaadm keys
~# /etc/init.d/psa restart
Plesk then operated as expected