Search

Search for:
Language:  

No categories for selected product

Subscription creation fails with the error: "Unable to delete logrotate config"

Article ID: 11172 
Last Review: Apr, 16 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel 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:




Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products