• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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