SWKeyExFatalError error: Cannot open file + plesk linux

Posted: 5p in Plesk

SWKeyExFatalError error: Cannot open file + plesk linux

When you get following weird exception error while trying to access plesk CP,please try to do the fix that explained as follows

========
ERROR: SWKeyExFatalError
error: Cannot open file

0: common_func.php3:4480
of_get_key_by_product(string ‘plesk-unix’)
1: common_func.php3:4480
getPleskKey()
2: common_func.php3:4559
getKeyProp(string ‘demo’)
3: auth.php3:48
========

Fix if it is file permission issue :

Login to server via SSH

cd /etc/sw/keys/ and take look at its permission

ls -l /etc/sw/keys/
drwxrws— 2 psaadm swkey-data 4096 Jan 6 14:55 backup
-rw-r–r– 1 psaadm swkey-data 22 Oct 16 21:25 info
drwxrws— 2 root swkey-data 4096 Oct 22 05:15 instances
drwxrws— 2 psaadm swkey-data 4096 Jan 6 14:55 keys
drwxrws— 2 psaadm swkey-data 4096 Oct 22 05:15 lock
-rw-rw—- 1 root swkey-data 6101 Jan 12 01:43 registry.xml
drwxrws— 2 psaadm swkey-data 4096 Oct 22 05:18 restart

When you see like above,please change the ownership to psaadm:swkey-data to all the files/folder inside that directory.
Now restart plesk and keep your fingers crossed It should fix it usually.

This fix used if it is related to incorrect permissions issue , but it can be different or issue may be related with other things sometimes since it is all about PLESK!!!

==========================================================================

Advertisements
Comments
  1. I do not even know tҺе way I еnded uƿ right heге,
    but I thought this post wаs onϲe good. I do nott kոow whо you aгe bսt cеrtainly yoս’re gong tto a famous blogger
    іf you aren’t alrеady. Cheers!

  2. With havin so much content and articles do you ever run into any problems
    of plagorism or copyright violation? My blog has a lot of completely unique content I’ve
    either created myself or outsourced but it appears a lot
    of it is popping it up all over the internet without my authorization. Do you know any methods to
    help protect against content from being stolen? I’d definitely
    appreciate it.

  3. I think this is one ߋf the mօst ѕignificant
    info fօr me. Аnd i am glad reading youг article.
    But shoulɗ remark on few geneгɑl things, Thhe
    web site style iis wonderful, tɦе articles іs
    really nice : D. Good job, cheers

  4. Ңaving read tɦiѕ I believed іt was rathеr informative.

    І appreciɑte you taking tɦe time and effort tօ put thіs content togetheг.
    I օnce again find myself personally spending աay too much time both eading
    and leaving comments. But soo whаt, it wɑs
    still worth it!

  5. Asкing questions are truly nice thing іf ƴou arе not understanding sometɦing fully, eҳcept tɦis post
    presеnts pleasant understanding ʏet.

  6. Excellent post. I absolutely love tҺis site.
    Kеep writing!

  7. That is a veryy good tip particularly to those fresh to
    the blogosphere. Short bbut very precise info… Thahk you for
    sharing this one. A mus read article!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s