Report this

What is the reason for this report?

Error on installation the monitoring matric agent

Posted on January 19, 2020

Got the following error after run the installation script for monitoring matric agent

# curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash
Cleaning up old sources...OK
Verifying machine compatibility...OK
Verifying compatibility with script...OK
Installing apt repository...
Setting up sa-compile (3.4.2-0ubuntu0.18.04.2) ...
Running sa-compile (may take a long time)
Jan 19 10:52:00.814 [31705] info: config: failed to parse line, skipping, in "/etc/spamassassin/local.cf": use_dcc 0
sa-compile: not compiling; 'spamassassin --lint' check failed!
dpkg: error processing package sa-compile (--configure):
 installed sa-compile package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @attawit,

This seems to be related to SpamAssasin.

Please try out the following:

Uncomment

loadplugin Mail::SpamAssassin::Plugin::DCC

in /etc/spamassassin/v310.pre

If there is no such file, you can edit the configuration file /etc/spamassassin/local.cf, adding the following line before “use_dcc 0”:

loadplugin Mail::SpamAssassin::Plugin::DCC

Once you have added the above to the file,test again if the error will be experienced.

Regards, KDSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.