Mailing List Archive

3.4.3 fails to start
Exists 3.4.2 install. After using ports to update to 3.4.3 I tried to restart sa-spamd as I usually do after an update:

# service sa-spamd restart
Stopping spamd.
Waiting for PIDS: 11957.
Starting spamd.
child process [51792] exited or timed out without signaling production of a PID file: exit 255 at /usr/local/bin/spamd line 3034.
/usr/local/etc/rc.d/sa-spamd: WARNING: failed to start spamd

A little bit of googling tells me that I need to run sa-update, so I do that:

# sa-update
plugin: failed to parse plugin (from @INC): Can't locate BSD/Resource.pm in @INC (you may need to install the BSD::Resource module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28) at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
Compilation failed in require at (eval 435) line 1.

plugin: failed to parse plugin (from @INC): Attempt to reload Mail/SpamAssassin/Plugin/ResourceLimits.pm aborted.
Compilation failed in require at (eval 502) line 1.

# pkg provides sa-update
Name : spamassassin-3.4.2_3
Desc : Highly efficient mail filter for identifying spam
Repo : FreeBSD
Filename: usr/local/share/spamassassin/sa-update-pubkey.txt
usr/local/lib/perl5/site_perl/man/man1/sa-update.1.gz
usr/local/bin/sa-update

So… now what?



--
HILLBILLIES ARE PEOPLE TOO Bart chalkboard Ep. AABF11
Re: 3.4.3 fails to start [ In reply to ]
On 14 Dec 2019, at 18:49, @lbutlr <kremels@kreme.com> wrote:
> child process [51792] exited or timed out without signaling production of a PID file: exit 255 at /usr/local/bin/spamd line 3034.
> /usr/local/etc/rc.d/sa-spamd: WARNING: failed to start spamd

On a lark I ran sa-compile which threw some perl errors, but did compile the rules at which point sa-spamd was able to start.

plugin: failed to parse plugin (from @INC): Can't locate BSD/Resource.pm in @INC (you may need to install the BSD::Resource module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28) at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
Compilation failed in require at (eval 119) line 1.

Dec 14 18:51:24.743 [42670] info: generic: base extraction starting. this can take a while...
Dec 14 18:51:24.743 [42670] info: generic: extracting from rules of type body_0
100% [===========================================] 90.59 rules/sec 00m08s DONE
100% [===========================================] 813.19 bases/sec 00m03s DONE
… etc



--
'Nothing works against magic. Except stronger magic. And then the
only thing that beats stronger magic is even stronger magic. And
the next thing you know...' 'Phooey?' —Sourcery
Re: 3.4.3 fails to start [ In reply to ]
On Sat, Dec 14, 2019 at 06:49:17PM -0700, @lbutlr wrote:
>
> # sa-update
> plugin: failed to parse plugin (from @INC): Can't locate BSD/Resource.pm in @INC (you may need to install the BSD::Resource module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28) at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
> BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
> Compilation failed in require at (eval 435) line 1.
>
> plugin: failed to parse plugin (from @INC): Attempt to reload Mail/SpamAssassin/Plugin/ResourceLimits.pm aborted.
> Compilation failed in require at (eval 502) line 1.

Install the perl BSD::Resource module as suggested or disable ResourceLimits
plugin in your *.pre. It is not enabled by default in SA, so either you or
ports did it.
Re: 3.4.3 fails to start [ In reply to ]
On 15 Dec 2019, at 00:42, Henrik K <hege@hege.li> wrote:
On Sat, Dec 14, 2019 at 06:49:17PM -0700, @lbutlr wrote:

# sa-update
plugin: failed to parse plugin (from @INC): Can't locate BSD/Resource.pm in @INC (you may need to install the BSD::Resource module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28) at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/ResourceLimits.pm line 79.
Compilation failed in require at (eval 435) line 1.

plugin: failed to parse plugin (from @INC): Attempt to reload Mail/SpamAssassin/Plugin/ResourceLimits.pm aborted.
Compilation failed in require at (eval 502) line 1.

Install the perl BSD::Resource module as suggested or disable ResourceLimits
plugin in your *.pre. It is not enabled by default in SA, so either you or
ports did it.

Oddly, the errors have gone away entirely since I ran sa-compile.



--
I WILL NOT PLEDGE ALLEGIANCE TO BART Bart chalkboard Ep. 7F09