By attawit
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.