Bobcares

SA-compile update fails with Plesk Email Security

by | Jan 2, 2022

Stuck with SA-compile update fails with Plesk Email Security? We can help you.

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.

Let’s take a look at how our Support Team help a customer  deal with this plesk error.

How to resolve SA-compile update fails with Plesk Email Security?

Plesk is a commercial web hosting and server data center automation software.

It has a control panel developed for Linux and Windows-base retail hosting service providers.

Also, it automates various tasks and processes on a single or multiple servers.

Managing spam and viruses is one of the most used features when hosting email.

Invest in the Plesk Email Security offering to protect your business from the expanding cyber threat landscape, and mitigate damages inflicted upon your business.

Usually, sa-compile package on a Plesk server fails to update:

sa-compile:not compiling ; ‘spamassassin –lint’ check failed! dpkg: error processing package sa-compile (–configure)

The following errors are found in /var/log/plesk/install/autoinstaller3.log:

Setting up sa-compile (3.4.2-1~deb9u3) …
Running sa-compile (may take a long time)
Mar 25 16:25:26.226 [14869] info: config: failed to parse line, skipping, in “/etc/spamassassin/local.cf”: use_auto_whitelist 1
Mar 25 16:25:26.226 [14869] info: config: failed to parse line, skipping, in “/etc/spamassassin/local.cf”: auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
Mar 25 16:25:26.227 [14869] info: config: failed to parse line, skipping, in “/etc/spamassassin/local.cf”: user_awl_dsn DBI:mysql:emailsecurity:localhost
Mar 25 16:25:26.227 [14869] info: config: failed to parse line, skipping, in “/etc/spamassassin/local.cf”: user_awl_sql_username ************
Mar 25 16:25:26.227 [14869] info: config: failed to parse line, skipping, in “/etc/spamassassin/local.cf”: user_awl_sql_password ********************

The following messages are receive from cron each hour:

run-parts: /etc/cron.hourly/imunify360-php-i360-rules exited with return code 100

Generally, this issue occurs if SpamAssassin plugin required by Plesk Email Security is disable by default.

Today, let us see the steps followed by our Support Techs to resolve it.

1. Firstly, connect to the server via SSH.

2. Next, enable the plugin:

sed -i.BAK ‘/Plugin::AWL/s/^#//g’ /etc/spamassassin/v310.pre

3. Then, restart spamassassin:

service spamassassin restart

4. Then, reconfigure spamassassin:

spamassassin –lint

5. Finally, update packages:

apt update && apt upgrade

[Need a solution to another query? We are just a click away.]

Conclusion

Today, we saw steps followed by our Support Engineers to resolve SA-compile update fail error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.