{"id":64,"date":"2026-07-12T10:45:23","date_gmt":"2026-07-12T05:15:23","guid":{"rendered":"https:\/\/www.sushantmondal.com\/blog\/?p=64"},"modified":"2026-08-11T20:06:02","modified_gmt":"2026-08-11T14:36:02","slug":"amavisd-service-failed-error-when-installing-plesk-email-security-extension","status":"publish","type":"post","link":"https:\/\/www.sushantmondal.com\/blog\/2026\/07\/12\/amavisd-service-failed-error-when-installing-plesk-email-security-extension\/","title":{"rendered":"&#8220;amavisd.service failed&#8221; error when installing Plesk Email Security extension"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I was trying to install Plesk Email Security in my Plesk server, but an error popped up because <code class=\"\" data-line=\"\">amavisd.service<\/code> failed to start. The error was exactly quoted like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\" data-line=\"\">Execution systemctl has failed with exit code 1, stdout: , stderr: Job for amavisd.service failed because the control process exited with error code. See &quot;systemctl status amavisd.service&quot; and &quot;journalctl -xeu amavisd.service&quot; for details.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can directly use <code class=\"\" data-line=\"\">amavisd<\/code> to verify what caused the error: <code class=\"\" data-line=\"\">\/usr\/sbin\/amavisd -c \/etc\/amavisd\/amavisd.conf 2&gt;&amp;1<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the debug shows something about missing additional required dependencies (here, modules), like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\" data-line=\"\">ERROR: MISSING REQUIRED ADDITIONAL MODULES:\n  DBD::mysql\n  DBD::mysql<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then <code class=\"\" data-line=\"\">DBD::mysql<\/code> Perl module is missing. Simple fix:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-bash\" data-line=\"\"># Install\nsudo dnf install perl-DBD-MySQL -y\n\n# Then start amavisd.\nsudo systemctl start amavisd\n\n# Verify if amavisd started or not.\nsudo systemctl status amavisd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If it starts cleanly, go back to Plesk and retry installing the email security extension.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>amavisd fails due to a missing Perl module. Fix it with: sudo dnf install perl-DBD-MySQL -y, then restart the service.<\/p>\n","protected":false},"author":1,"featured_media":67,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","inline_featured_image":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[5],"tags":[7,6,8],"class_list":["post-64","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-hosting","tag-email","tag-plesk","tag-security"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.sushantmondal.com\/blog\/wp-content\/uploads\/2026\/07\/plesk-email-security-amavisd-installation-failed-error.png","_links":{"self":[{"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":12,"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":170,"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/posts\/64\/revisions\/170"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/media\/67"}],"wp:attachment":[{"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sushantmondal.com\/blog\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}