• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

plesk repair: drweb restore error

B_P

Regular Pleskian
TITLE:
plesk repair: drweb restore error
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Ubuntu 16.04.6 LTS‬
Plesk Onyx, Version 17.8.11 Update #48
PROBLEM DESCRIPTION:
Today I had to try to repair a system with using the command "plesk repair installation". This commands runs through quite a few activities.

Besides quite a few package warnings (see The "plesk repair installation" utility shows warnings on Ubuntu: "failed to get permissions for package diverts others to" OR "Skip fixing") the mail part seems to fail.

In more detail the section Reconfiguring mail subsystem... fails and the logfile shows the result below, indicating that restoring drweb fails.
STEPS TO REPRODUCE:
run either
Code:
# plesk repair installation


or
Code:
# plesk sbin mchk

or
Code:
# /usr/lib/plesk-9.0/mail_drweb_restore
ACTUAL RESULT:
Reconfiguring mail subsystem...
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... ok
==> Checking for: mail_spam_restore... ok
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_dmarc_restore... ok
==> Checking for: mail_drweb_restore... fail
==> Checking for: mail_outgoing_restore... ok
==> Checking for: mail_transport_restore... ok
Errors occured in mail restore procedure
Some utilities have exited with errors:
/usr/lib/plesk-9.0/mail_drweb_restore
EXPECTED RESULT:
Provide a helpful reason why mail_drweb_restore fails and/or repair this.
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Help with sorting out
 
Update: this problem is related to Premium Antivirus service fails to start: Plesk authorization failed: HTTP request error: In certain cases, "plesk repair installation" seems to remove TLSv1 from the sw-cp-server configuration. If you then re-run "plesk repair installation", the DrWeb part fails when using DrWeb with < 10 mail addresses without a separate license. Since my first run failed due to a different issue, I found this issue... When changing the DrWeb issue as explained in the attached article, the repair command succeeds. Thus, finally it would be time to require the DrWeb update!

Side note: "plesk repair installation" also does annoying changes to /etc/postfix/main.cf: existing smtp_bind_address[6] lines receive comments and new lines with just the same values are added instead.
 
Back
Top