Continual amavisd restarts

Stephen Davies sdavies at sdc.com.au
Tue Aug 11 02:57:34 CEST 2015


On 10/08/15 19:19, Benning, Markus wrote:
>> I'm afraid that this change had no effect on the restarts:-((
>>
>> Amavisd is still restarting and the log looks exactly the same except
>> that DB databases are no longer deleted/created.
>
> If there is no amavis error output in your log you may check:
>
> dmesg | egrep -i 'killed process'
>
> Or try running amavisd in foreground.
> Stop the service and start amavisd like this:
>
> amavisd -c <path-to-your>/amavisd.conf -m 1 debug
>
>
> Markus
>
Thanks Markus.

There is nothing relevant in dmesg but running amavisd in foreground does seem 
to stop the restarts.
The debug log output is very extensive. What do you think I should be looking for?

Here is my amavisd.service. I see the Restart entry but can't see any "failure".

Cheers,
Stephen


[Unit]
Description=Amavisd-new is an interface between MTA and content checkers.
Documentation=http://www.ijs.si/software/amavisd/#doc
After=network.target
Wants=clamd at amavisd.service
Wants=sendmail.service

[Service]
Type=forking
User=amavis
Group=amavis
PIDFile=/var/run/amavisd/amavisd.pid
ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf
ExecReload=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf reload
Restart=on-failure
PrivateTmp=true
PrivateDevices=true
NoNewPrivileges=true

[Install]
WantedBy=multi-user.target
-- 
=============================================================================
Stephen Davies Consulting P/L                             Phone: 08-8177 1595
Adelaide, South Australia.                                Mobile:040 304 0583
Records & Collections Management.


More information about the amavis-users mailing list