Symptoms
Subscription creation fails with the following error:Error: Unable to delete logrotate config: logrot_mng failed: Execute websrvmng --update-log-rotation "--vhost-name=domain.tld" failed with error code 1: Cannot find hosting by domain ID 2
Cause
Issue is caused by the password length. Parallels Plesk Panel only accepts passwords less then 14 symbols long.Resolution
The problem has been fixed in Parallels Plesk Panel 10.2.As a workaround, you can use a password that is less than 14 symbols long.
Also, hot-fix can be applied on the server. Replace the file %plesk_dir%\admin\plib\constants.php3 with the file from the attachment.
Do not forget to copy the original file.
Additional information
Use the following instructions for deleting the domain, which was created with the errors below:1. Try to delete the domain from the Control Panel. You will receive a similar error as the error you received for the domain creation.
Error: Unable to delete logrotate config: logrot_mng failed: Execute websrvmng --update-log-rotation "--vhost-name=domain.tld" failed with error code 1: Cannot find hosting by domain ID 2
2. Execute the following command for deleting the domain from the mail server. Replace domain.tld with the domain name.
"%plesk_bin%\mailmng.exe" --remove-domain "--domain-name=domain.tld"3. Execute the following command for deleting the domain from the Plesk database:
%plesk_bin%\dbclient --direct-sql --sql=" delete from domains where the name=domain.tld"