COMMAND TO DROP USER:
Login into SQl With User Root and Run:
Error message : ProtDir_IIS::update() failed: Add Protected Directory failed: columns siteId, path are not unique (Error code 1)
"%plesk_cli%\repair.exe" --synchronize-protected-directories-storage
%plesk_dir%\admin\logs\W3SVC<IIS site ID>\ex<date>.log
%plesk_dir%\admin\logs\php_error.log
%plesk_dir%\admin\logs\panel.log
%plesk_dir%\admin\logs\plesklog_debugXXXXXXXX.log
(create DWORD value Debug=1 in "HKLM\SOFTWARE\PLESK\PSA Config\Config")net stop plesksrv /Y
net start plesksrv && net start poppassd
net stop plesksrv /Y && net start plesksrv && net start poppassd
%plesk_dir%\admin\php.ini
%plesk_dir%\admin\conf\panel.ini
%plesk_dir%\sb\logs\
%plesk_dir%\sb\tmp\
%plesk_dir%\sb\config
%plesk_dir%\admin\logs\W3SVC<IIS site ID>\ex<date>.log
%plesk_dir%\admin\htdocs\domains\databases\phpMyAdmin\config.inc.php
%plesk_vhosts%\sqladmin\myLittleAdmin\2005\config.xml
%plesk_dir%\Mail Servers\Mail Enable\Logging
net stop meimaps && net stop melcs &&
net stop memtas && net stop mepops && net stop mepocs
&& net stop mesptpcs
net start meimaps && net start melcs &&
net start memtas && net start mepops && net start
mepocs && net start mesptpcs
net stop meimaps && net stop melcs &&
net stop memtas && net stop mepops && net stop mepocs
&& net stop mesptpcs && net start meimaps && net
start melcs && net start memtas && net start mepops
&& net start mepocs && net start mesptpcs
%plesk_dir%\Mail Servers\Mail Enable\Bin\MailEnable.msc
net stop named
net start named
net stop named && net start named
%plesk_dir%\dns
/var/log/sw-cp-server/error_log
and /var/log/sw-cp-server/sw-engine.log
/usr/local/psa/admin/logs/httpsd_access_log
/usr/local/psa/admin/logs/panel.log
/etc/init.d/psa stop
/etc/init.d/psa start
/etc/init.d/psa restart
/usr/local/psa/admin/conf/php.ini
/usr/local/psa/admin/conf/panel.ini
/etc/sw-cp-server/conf.d/plesk.conf
/usr/local/psa/admin/logs/sitebuilder.log
/usr/local/sb/tmp/
/usr/local/sb/config
/etc/sw-cp-server/conf.d/plesk.conf
/usr/local/psa/admin/conf/php.ini
/var/log/sw-cp-server/error_log
/var/log/sso/sso.log
/usr/local/psa/bin/sso
/etc/sso/sso_config.ini
/etc/sw-cp-server/conf.d/sso.inc
/usr/local/psa/PMM/logs/backup-<datetime>
/usr/local/psa/PMM/logs/restore-<datetime>
/etc/psa/psa.conf
/usr/local/psa/PMM/logs/migration-<datetime>
/usr/local/psa/admin/logs/health-alarm.log
/etc/init.d/sw-collectd stop
/etc/init.d/sw-collectd start
/etc/init.d/sw-collectd restart
/usr/local/psa/admin/conf/health-config.xml
/usr/local/psa/var/custom-health-config.xml
/etc/sw-collectd/collectd.conf
/usr/local/psa/admin/logs/health-alarm.log
/etc/init.d/psa-health-monitor-notificationd stop
/etc/init.d/psa-health-monitor-notificationd start
/etc/init.d/psa-health-monitor-notificationd restart
/usr/local/psa/admin/conf/health-config.xml
/usr/local/psa/var/custom-health-config.xml
/var/log/mysqld.log
/etc/init.d/mysqld stop
/etc/init.d/mysqld start
/etc/init.d/mysqld restart
/etc/my.cnf
/etc/mysql/my.cnf
(Debian/Ubuntu)/var/lib/pgsql/pgstartup.log
/etc/init.d/postgresql stop
/etc/init.d/postgresql start
/etc/init.d/postgresql restart
/var/lib/pgsql/data/postgresql.conf
/var/log/httpd/
/var/www/vhosts/<domain>/logs
/etc/init.d/httpd stop
/etc/init.d/httpd start
/etc/init.d/httpd restart
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/zz010_psa_httpd.conf
(includes generated configuration files with the rest of the vhosts and server configuration)/var/log/apache2
and the path to configs is /etc/apache2
./var/log/nginx/error.log
/var/log/nginx/access.log
/var/www/vhosts/<domain>/logs/proxy_access*_log
/etc/init.d/nginx stop
/etc/init.d/nginx start
/etc/init.d/nginx restart
/etc/nginx/nginx.conf
/etc/nginx/conf.d/zz010_psa_nginx.conf
(includes generated configuration files with the rest of the vhosts' and server configuration)/var/log/tomcat5/*
/etc/init.d/tomcat5 stop
/etc/init.d/tomcat5 start
/etc/init.d/tomcat5 restart
/etc/tomcat5/server.xml
/usr/local/psa/var/log/xferlog
/var/log/secure
/etc/xinetd.d/ftp_psa
/etc/proftpd.conf
/etc/proftpd.include
/var/log/messages
/etc/init.d/xinetd stop
/etc/init.d/xinetd start
/etc/init.d/xinetd restart
/etc/xinetd.conf
/etc/xinetd.d/*
(files with "." in the name are ignored)/var/log/messages
/etc/init.d/named stop
/etc/init.d/named start
/etc/init.d/named restart
/etc/named.conf
xmlrpc error: Expected <param> to have 1 children, found 0
---------------------- Debug Info -------------------------------
0: common_func.php3:4675
of_get_all_keys()
1: common_func.php3:4675
pkey_fetch_key_list()
2: KeyInfoForm.php:171
KeyInfoForm->get_bye_online_url(string 'new', string '')
3: KeyInfoForm.php:77
KeyInfoForm->assign()
4: key_info.php:43
require(string 'C:\Program Files\Parallels\Plesk\admin\htdocs\server\key_info.php')
5: plesk.php:66
%plesk_dir%
\admin\repository\registry.xml
is empty.%plesk_dir%
\admin\repository\registry.xml
.APPLIES TO:
Parallels Plesk 11.5 for Linux
Parallels Plesk 11.5 for Windows
Symptoms
An attempt to delete an IP address from Parallels Plesk Panel failwith the following error:
Error: The IP address `<ip_address>` is already used for hosting.
However, in Tools & Settings > IP Addresses, no sites are shown to use this IP address.
Cause
This is caused by a Plesk database inconsistency. The psa.IpAddressesCollections table
was not correctly updated when IP addresses were changed for domains.
Resolution
Create a psa database backup.
Windows:
"%plesk_dir%\MySQL\bin\mysqldump.exe" -uadmin -P8306 -p<PleskPasswordHere> psa > c:\psadump.sql
Linux:
mysqldump -uadmin -pcat /etc/psa/.psa.shadow psa > /tmp/psa.date +%F_%H.%M.sql
Find out which id is assigned to the IP address in question, and find any (sub)domains that have this IP address assiged:
mysql> select @ip_id := id from IP_Addresses where ip_address='10.10.10.10';
mysql> SELECT d.name, d.webspace_id, ipac.ipCollectionId,ip.ip_address FROM DomainServices ds INNER JOIN IpAddressesCollections ipac ON ds.ipCollectionId = ipac.ipCollectionId INNER JOIN domains d ON d.id = ds.dom_id JOIN IP_Addresses ip on ipac.ipaddressid=ip.id WHERE (ds.type = 'web' OR ds.type = 'mail') and ipac.ipAddressId = @ip_id;
Make sure the 10.10.10.10 IP address is replaced with the one to be deleted.
Find records in the IpAddressesCollections table that correspond to the IP address in question:
mysql> select * from IpAddressesCollections where ipaddressid=@ip_id;
Find out which id is assigned to the IP address that
should be used for the (sub)domains from the previous output, then
update the corresponding records of the IpAddressesCollections table:
For example, the 10.10.10.11 IP address should be assigned to example.com:
mysql> set @domain_name := 'example.com';
mysql> select @ip_id_new := id from IP_Addresses where ip_address='10.10.10.11';
mysql> update IpAddressesCollections ipac INNER JOIN DomainServices ds ON ds.ipCollectionId = ipac.ipCollectionId INNER JOIN domains d ON d.id = ds.dom_id JOIN IP_Addresses ip on ipac.ipaddressid=ip.id set ipac.ipAddressId=@ip_id_new WHERE (ds.type = 'web' OR ds.type = 'mail') and ipac.ipAddressId = @ip_id and d.name=@domain_name;
Ref:http://kb.sp.parallels.com/en/122207
ERROR: SWKeyExFatalError
xmlrpc error: XML parsing failed
Along with the following stack trace: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
Alternatively, you may see an error like this: xmlrpc error: Expected <param> to have 1 children, found 0
---------------------- Debug Info -------------------------------
0: common_func.php3:4684
of_get_all_keys()
1: common_func.php3:4684
pkey_fetch_key_list()
2: KeyInfoForm.php:171
KeyInfoForm->get_bye_online_url(string 'new', string '')
3: KeyInfoForm.php:77
KeyInfoForm->assign()
4: key_info.php:4
%plesk_dir%\admin\repository\registry.xml
file and/or one of the license key files from %plesk_dir%\admin\repository\keys\
is corrupt.'%plesk_dir%\admin\repository\registry.xml'
file and try to access Plesk again. A new file should have been
generated automatically. Alternatively, rename the corrupted file and
execute the command below: C:\Parallels\Plesk\admin\bin>keymng.exe --get-key-number
If this does not resolve the issue, one or several license key files from '%plesk_dir%\admin\repository\keys\'
could be corrupt. You can use the following algorithm to resolve the issue:'%plesk_dir%\admin\repository\keys\'
folder. If it contains only one license key file, this is probably the
main Plesk license. If it is corrupt (improper XML syntax or the file is
just empty), please obtain the valid license file from your provider
and install using the following command:"%plesk_bin%\keymng.exe" --install --source-file=<path_to_file>
Now Plesk should be working.<core:description>
<core:keytype>Parallels Plesk Panel 10.x/11.x and Later for Windows </core:keytype>
<core:product core:type="string">plesk-win</core:product>
Only leave the main Plesk license file in '%plesk_dir%\admin\repository\keys\'
and make sure you can log into Plesk. If not, proceed with item one.