Knowledgebase
Unable to delete logrotate config: logrot_mng failed: Execute websrvmng --update-log-rotation
Posted by on 25 August 2012 09:54 PM

APPLIES to PLESK 10 installed on MSSQL Server Database.


SYMPTOM:
You created a domain earlier and got an error, yet it created the domain in Plesk, but not seen in IIS.

"Unable to delete logrotate config: logrot_mng failed: Execute websrvmng --update-log-rotation "--vhost-name=domain name" failed with error code 1"


SOLUTION:
You have to use dbclient.exe.

Navigate to Plesk's bin folder, and enter the following command:
"%plesk_bin%\dbclient.exe" --direct-sql --sql="select * from domains"

 

(This displays all the domains within the database)

 

To delete the domain enter the following command:
"%plesk_bin%\dbclient.exe" --direct-sql --sql="DELETE FROM domains where id=10"

 

where 10 is your domain ID. (This deletes the domain).

 

You may also want to delete the Post office for the deleted domain from your Mail Server Software e.g. "MailEnable".

(2 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).