Amavisd fails to start. Missing UNIX::Syslog??

Stephen Davies sdavies at sdc.com.au
Wed Mar 16 00:49:17 CET 2016


On 15/03/16 20:10, Stephen Davies wrote:
> On 15/03/16 17:47, Olivier Nicole wrote:
>> Stephen Davies <sdavies at sdc.com.au> writes:
>>
>>> Since running dnf update earlier today, amavisd has stopped working.
>>> The systemctl status reads:
>>>
>>> amavisd.service - Amavisd-new is an interface between MTA and content
>>> checkers.
>>>      Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled; vendor
>>> preset: disabled)
>>>      Active: failed (Result: start-limit) since Tue 2016-03-15 16:33:46 ACDT;
>>> 8s ago
>>>        Docs: http://www.ijs.si/software/amavisd/#doc
>>>     Process: 31643 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
>>> (code=exited, status=255)
>>>
>>> Mar 15 16:33:46 mustang.sdc.com.au systemd[1]: Unit amavisd.service entered
>>> failed state.
>>> Mar 15 16:33:46 mustang.sdc.com.au systemd[1]: amavisd.service failed.
>>> Mar 15 16:33:46 mustang.sdc.com.au systemd[1]: amavisd.service holdoff time
>>> over, scheduling restart.
>>> Mar 15 16:33:46 mustang.sdc.com.au systemd[1]: start request repeated too
>>> quickly for amavisd.service
>>> Mar 15 16:33:46 mustang.sdc.com.au systemd[1]: Failed to start Amavisd-new is
>>> an interface between MTA and content checkers..
>>> Mar 15 16:33:46 mustang.sdc.com.au systemd[1]: Unit amavisd.service entered
>>> failed state.
>>> Mar 15 16:33:46 mustang.sdc.com.au systemd[1]: amavisd.service failed.
>>>
>>> and if I try to start it manually, I get:
>>>
>>> /usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
>>> fetch_modules: error loading required module Unix/Syslog.pm:
>>>     Can't load '/usr/local/lib64/perl5/auto/Unix/Syslog/Syslog.so' for module
>>> Unix::Syslog: libperl.so.5.18: cannot open shared object file: No such file or
>>> directory at /usr/lib64/perl5/DynaLoader.pm line 193.
>>>      at /usr/sbin/amavisd line 209.
>>>     Compilation failed in require at /usr/sbin/amavisd line 209.
>>> ERROR: MISSING REQUIRED BASIC MODULES:
>>>     Unix::Syslog
>>> BEGIN failed--compilation aborted at /usr/sbin/amavisd line 249.
>>>
>>> UNIX::Syslog is installed and
>>> /usr/local/lib64/perl5/auto/Unix/Syslog/Syslog.so exists.
>>>
>>> Amavis has been running successfully on this box for years so I can only blame
>>> the update.
>>> Any ideas as to what got broken??
>>
>> Install/reinstall Unix::Syslog (through your prefered method for
>> installing Perl modules, apt-get, cpan...)
>>
>> Best regards,
>>
>> Olivier
>>
> Tried that but it still fails.
>
>
I tried reloading Unix::Syslog again but this time I used the CPAN force command.
Amavisd now works again so all I need to do is to put 500+ spam messages 
through bogofilter training.
Cheers and thanks,
Stephen

-- 
=============================================================================
Stephen Davies Consulting P/L                             Phone: 08-8177 1595
Adelaide, South Australia.                                Mobile:040 304 0583


More information about the amavis-users mailing list