• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Error removing domain

R

rewilson

Guest
Can anyone tell me how to fix this? I"m guessing I'm going to have to do a database edit.

Error: Unable to remove domains: Problems occured while removing domains: Unable to turn the domain OFF: domainmng failed: Execute websrvmng --stop-vhost "--vhost-name=oasiscomputersales.com" failed: Cannot find log rotation by ID 70.
 
Hello,

First of all you need to find out the esact database type where your Plesk database is stored. You can find it in the registry:

Start > Run > regedit
HKEY_LOCAL_MACHINE\SOFTWARE\PLESK\PSA Config\Config\PLESK_DATABASE_PROVIDER_NAME

As far as I know there Plesk 7.6.x and later versions can store its database in three types of essense:

1) MySQL;
2) MSSQL;
3) Jet;

Depending on the type, you need to open Plesk database in the correspondent software (MySQL Server, MSSQL Server or MDBViewer for Jet). After that try to add missing record in Plesk database. For example, for MySQL the whole cycly will look like:

> %plesk_dir%\MySQL\bin\mysql.exe -uadmin -pYOUR_PLESK_ADMIN_PASSWORD -P8306 psa
mysql> INSERT INTO log_rotation (id, period_type, period, max_number_of_log_files, compress_enable, email, turned_on) VALUES ('70', 'by_time', '2073741824', '1', 'true', NULL, 'false');

Actually this query is the same for all types of database as SQL syntax is independent and can be interpreted by any of database providers. The only difference is the connection method.
 
Back
Top