Amavisd-new fails start after downgrading to perl 5.24

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Fri Apr 20 02:52:31 UTC 2018


On 18 Apr 2018, at 0:09 (-0400), 後藤 潔 wrote:

> Amavisd-new 2.10.1_5 used to be working with MacPorts base version 
> 2.4.2 on MacOSX 10.8.5.  When I have tried to upgrade amavisd-new to 
> 2.10.1_6 from 2.10.1_5, perl version was upgraded to 5.26.  However 
> ‘sudo port upgrade amavisd-new’ command was unable to install new 
> mysql57 5.7.17.  I filed a ticket to report a bug , and was assigned 
> as #56270, which was closed owing to duplicate of #55238.
>
> After downgrading perl to 5.24 from 5.26, amavisd-new 2.10.1_5 failed 
> to start.
>
> The current versions related to amavisd-new of my system are as 
> follows.
>
> MacOSX 10.8.5
> MacPorts base version 2.4.3
>   amavisd-new @2.10.1_5+perl5_24 (active)
>   ossp-uuid @1.6.2_10+perl5_24 (active)
>   p5.24-libwww-perl @6.330.0_0 (active)
>   p5.24-perl-ostype @1.10.0_0 (active)
>   perl5 @5.24.2_0+perl5_24 (active)
>   perl5.24 @5.24.3_1 (active)
>   mysql5 @5.1.72_2 (active)
>   mysql56 @5.6.34_0 (active)
>   mysql_select @0.1.2_3 (active)
>   p5.24-dbd-mysql @4.46.0_0+mysql5 (active)
>   p5.24-berkeleydb @0.550.0_0+db53 (active)
>   db53 @5.3.28_0+sql (active)
>
> The output on console with commands are as follows.
> ----------
> $ sudo amavisd debug-sa
> ...
> Apr 18 09:11:13.629 hoge.ac.jp /opt/local/sbin/amavisd[15968]: 
> (!!)TROUBLE in pre_loop_hook: config: no rules were found!  Do you 
> need to run 'sa-update'?
> Suicide () TROUBLE in pre_loop_hook: config: no rules were found!  Do 
> you need to run 'sa-update'?
>
> $ sudo /opt/local/libexec/perl5.24/sa-update -D
> ...
>  4 18 09:11:53.772 [15977] dbg: diag: updates complete, exiting with 
> code 1

That should have produced MUCH more output. The fact that sa-update 
exited with code 1 means that it failed. The reason for that will be in 
its other output.

-- 
Bill Cole
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steady Work: https://linkedin.com/in/billcole


More information about the macports-users mailing list