|
||||||||
|
||||||||
|
|
Công Cụ | Xếp Bài |
18-10-2013, 04:51 PM | #1 |
Guest
Trả Lời: n/a
|
Fix lỗi: SWKeyExFatalError error: for Plesk linux and Plesk Windows
Fix lỗi: SWKeyExFatalError error: for Plesk linux and Plesk Windows 1. 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 Gõ lệnh sau:chown psaadm:swkey-data * để thay đổi lại quyền Restart lại Plesk (service psa restart, service httpd restart) và kiểm tra ================================================== ======================== 2. SWKeyExFatalError error: Cannot open file + plesk windows Lỗi It is not possible to access Parallels Plesk Panel. Browser displays one of the following errors: ERROR: SWKeyExFatalError xmlrpc error: XML parsing failed 0: common_func.php3:4523 of_get_key_by_product(string 'plesk-win') 1: common_func.php3:4523 getPleskKey() 2: common_func.php3:4602 getKeyProp(string 'demo') 3: auth.php3:54 Fatal error: Call to undefined function of_get_key_by_product() in C:\plesk\admin\plib\common_func.php3 on line 4501 It is also not possible to retrieve the key number with the utility keymng.exe, due to an unexpected error: >"%plesk_bin%\keymng.exe" --get-key-number Unexpected error Nguyên nhân The above error indicates that registry.xml file may have gone corrupted. Xử lý fix Check the size of the file %plesk_dir%\admin\repository\registry.xml. If the file is empty and equals 0KB, delete this file. Once it is deleted, try to access Parallels Plesk Panel again. A new file should have been generated automatically. |
|
|