• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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