Articles in this section

Unable to install the Plesk Email Security: ERROR: Missing required additional modules: DBD::mysql

kb: technical ext: pes Plesk Obsidian for Linux ABT: Group A

Applicable to:

  • Plesk Obsidian for Linux

Symptoms

  • Unable to install the Plesk Email Security, the error below is shown:

    PLESK_ERROR: ***** problem report *****
    Warning: restart service amavisd failed
    , stderr: Job for amavisd.service failed because the control process exited with err or code. See "systemctl status amavisd.service" and "journalctl -xe" for details.
    ERR [panel] Execution pleskrc has failed with exit code 1, stdout: INFO: : Service: amavisd, Action: restart
    Trying to restart service amavisd... active
    example.com systemd[1]: amavisd.service: control proces s exited, code=exited status=255
    example.com systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    example.com systemd[1]: Unit amavisd.service entered failed state.
    example.com systemd[1]: amavisd.service failed.
    ***** problem report *****

  • In an attempt to execute the command from the error, the following messages are shown:

    # journalctl -xe
    Unit amavisd.service has begun starting up.
    example.com amavisd[22804]: ERROR: MISSING REQUIRED ADDITIONAL MODULES:
    example.com amavisd[22804]: DBD::mysql
    example.com amavisd[22804]: DBD::mysql

  • Email is stuck is queue

Cause

The package perl-DBD-MySQL that is required for the Amavis service is missed.

This is a Plesk extension bug with ID EXTPLESK-3895

Resolution

Until the bug is fixed, apply one of the solutions below:

For RHEL based systems (CentOS/CloudLinux)
  1. Log into the server via SSH.
  2. Execute the command below to install the perl-DBD-MySQL package:

    # yum install perl-DBD-MySQL

For Debian based systems (Ubuntu/Debian)
  1. Log into the server via SSH.
  2. Execute the command below to install the perl-DBD-MySQL package:

    # apt-get install libdbd-mysql-perl

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.