Discussion:
Amavisd fails to start. Missing UNIX::Syslog??
(too old to reply)
Stephen Davies
2016-03-15 06:19:14 UTC
Permalink
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??

Cheers and thanks,
Stephen
--
=============================================================================
Stephen Davies Consulting P/L Phone: 08-8177 1595
Adelaide, South Australia. Mobile:040 304 0583
Olivier Nicole
2016-03-15 07:17:34 UTC
Permalink
Post by Stephen Davies
Since running dnf update earlier today, amavisd has stopped working.
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.
/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
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.
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
Stephen Davies
2016-03-15 09:40:51 UTC
Permalink
Post by Olivier Nicole
Post by Stephen Davies
Since running dnf update earlier today, amavisd has stopped working.
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.
/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
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.
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.
--
=============================================================================
Stephen Davies Consulting P/L Phone: 08-8177 1595
Adelaide, South Australia. Mobile:040 304 0583
Noel Butler
2016-03-15 11:03:51 UTC
Permalink
What is "dnf" ?

What OS/flavor?

What was updated today?

What does maillog show when trying to start amavisd?

Multiple versions of perl?

Try running amavisd binary 'strace -f -o/tmp/FFFF amavisd start ' then
review /tmp/FFFF
and see if it gives more clues.
Post by Stephen Davies
Since running dnf update earlier today, amavisd has stopped working.
/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
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.
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??
--
If you have the urge to reply to all rather than reply to list, you best
first read http://members.ausics.net/qwerty/
Stephen Davies
2016-03-15 23:49:17 UTC
Permalink
Post by Stephen Davies
Post by Olivier Nicole
Post by Stephen Davies
Since running dnf update earlier today, amavisd has stopped working.
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.
/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
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.
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
Loading...