• 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

ERROR: SWKeyExFatalError Repository is not opened

Sorry. It is not. It is plesk 9.5 on centos 5.4 dedicated. My problem started updating frim 9.3 to 9.5. It seems that soemthig broke but don't know what. Thanks.
 
rename or remove registry.xml file which is under /etc/sw/keys/.

Restart Plesk.

Now new registry.xml file will be created. Plesk control panel will work fine now

Issue solved :)
 
Hi,
same problem,

ERROR: SWKeyExFatalError
error: Cannot open file

0: common_func.php3:4536
of_get_key_by_product(string 'plesk-unix')
1: common_func.php3:4536
getPleskKey()
2: common_func.php3:4615
getKeyProp(string 'demo')
3: auth.php3:48

The permisions in /etc/sw/keys are right

I did:
# stat /etc/sw/keys
File: `/etc/sw/keys'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 902h/2306d Inode: 328241 Links: 7
Access: (2770/drwxrws---) Uid: ( 501/ psaadm) Gid: ( 502/swkey-data)
Access: 2010-10-11 21:15:46.000000000 +0000
Modify: 2010-10-12 04:02:03.000000000 +0000
Change: 2010-10-12 04:02:03.000000000 +0000

root@server7 /etc/sw # ldconfig -v | grep libxmlrpc.so
root@server7 /etc/sw # rpm -qa |grep xmlrpc
sw-xmlrpc-c-1.06.10-7.centos5

I do this every day, it fixes, but the problem comes back in few hours.
# cd /etc/sw/
# chown psaadm.swkey-data keys -R
# /etc/rc.d/init.d/psa restart

Plesk 9.5.2
Centos 5.4 64bit

I deleted the registry.xml file, the plesk recreates the file regularly

Is there a fix please. I as i see there are many people having this issue.
 
Is it Virtuozzo container? As far as I remember there was similar problem on Debian based containers and it was related to Virtuozzo file system vzfs bug. Not sure that you have the same reason but container's file system should be checked if it is Virtuozzo.
 
Thanks for your reply
No it is not a Virtuozzo container, is a single physical server

Any other suggestion, i am getting crazy with this.
 
Make sure that you have the following permissions within /etc/sw/keys/ :
For files : 644
For folders: 755
 
Thanks, some dirs were 750. i changed them, i will wait if this was the problem..
 
Hello. The problem after 5 hours, comes back.

Is there something else i can check?
Thanks
 
I don't know if this helps but i noticed that Plesk comes back if i run the

chown psaadm.swkey-data keys -R

I don't have to restart the psaadm... strange
 
Is there somebody can me a help please?

Today morning, the same situation. Before running the
# chown psaadm.swkey-data keys -R
i noticed that the /etc/sw/keys/registry.xml file was changed to root/root.
So my question is. How this file changes to root/root ?!
 
Maybe you have something in crontab if it occurs at the same time?
 
Similar problem !!!

Hi everybody,

On Ubuntu64 + PLESK 10, my system changes every X hours the file :

/etc/sw/keys/registry.xml to > root:swkey-data

So I'm unable to login at all in PLESK (error...).
I use next command line :

chown psaadm:swkey-data /etc/sw/keys/registry.xml

and without restart PSA or nothing, it works fine again (for a few hours)...

But EVERY XX hours it comes back again to root:swkey-data...
so I neeed regularly to connect to SSJ to change... ANY IDEA ?

How to add ability to root to execute the file, or add "psaadm" in root group ?

Thanks for support
 
ERROR: SWKeyExFatalError

To continue on my problem, I noticed than rights to file :

/etc/sm/keys/registry.xml

backs on every PLESK daily update at ~06:30

rights back from psaadm to root... so I get this error :

ERROR: SWKeyExFatalError

I tried each file in /etc/cron.daily without success...

Maybe a way to add psaadm to "root" group ? so there will be no problems to access pannel ?

My /etc/groups file is :

root:x:0:psaadm
psaadm:x:1001:sw-cp-server,psaadm

Maybe something to change this way ?

So I should normally have it to work ?
How to repair "groups" ?
 
Last edited:
Back
Top