I had trouble while trying to create subscription/domain on Plesk 10.1.1, I got 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 x”
I still can’t figure out why the problem was caused but the solution was simple: Using another IP.
According to Parallels this was a password lenght issue but using shorter password did not resolve the problem: kb.parallels.com/11172
We can’t delete the domain from Plesk also so we have to use commands to delete it. Open command prompt and execute following commands:
- 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” - Command for deleting the domain from the Plesk database:
%plesk_bin%\dbclient –direct-sql –sql=” delete from domains where displayName=’domain.tld’”
Related links:
Error: Unable to delete logrotate config: logrot_mng failed: Execute websrvmng –upda
Unable to delete logrotate config: logrot_mng failed: Execute websrvmng –update-log-rotation




