Article ID: 11172, created on Mar 25, 2011, last review on Feb 20, 2015

  • Applies to:
  • Plesk 10.1 for Windows

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"

Attachments

a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 c796c01d6951fa24ed54c7f1111667c6 df2db7f3302fe384002b885ca84f1a2f 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF