Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

amavisd stops after reload

26 views
Skip to first unread message

Martin Fuxa

unread,
Jun 11, 2013, 5:19:28 PM6/11/13
to
after upgrade from 2.6.6 to 2.8.0 stops working
amavisd reload

same with 2.8.1-rc1

On terminal prints
Signalling a SIGHUP to a running daemon [4756]

in log
Jun 11 23:12:53 anta3 amavis[4756]: (!)Net::Server: 2013/06/11-23:12:53
HUP'ing server

but no one instance isn't runing after reload.

same with kill -s SIGHUP $pid

system is CentOS release 5.9 (Final), in up2date state.
Net-Server version: perl-Net-Server-0.99-1.el5.rf

something is wrong?

Regards Martin

Patrick Ben Koetter

unread,
Jun 12, 2013, 2:33:07 AM6/12/13
to
* Martin Fuxa <fuxa...@unihost.cz>:
Who owns /etc/amavisd.conf? It should be the user running amavisd.

p@rick

--
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


Martin Fuxa

unread,
Jun 12, 2013, 4:03:41 AM6/12/13
to
owner/mode is
-rw-r--r-- 1 root root 117117 Jun 11 22:54 /etc/amavisd.conf

when I changed owner of conf to amavisd user, as you suggest, I got:
Config file "/etc/amavisd.conf" should be owned by root (uid 0), at
/usr/local/sbin/amavisd line 2098.

and HUP is not performed.

Thanks Martin



> after upgrade from 2.6.6 to 2.8.0 stops working
> amavisd reload
>
> same with 2.8.1-rc1
>
> On terminal prints
> Signalling a SIGHUP to a running daemon [4756]
>
> in log
> Jun 11 23:12:53 anta3 amavis[4756]: (!)Net::Server:
> 2013/06/11-23:12:53 HUP'ing server
>
> but no one instance isn't runing after reload.
>
> same with kill -s SIGHUP $pid
>
> system is CentOS release 5.9 (Final), in up2date state.
> Net-Server version: perl-Net-Server-0.99-1.el5.rf
>
> something is wrong?

Who owns /etc/amavisd.conf? It should be the user running amavisd.

p at rick

Andreas Schulze

unread,
Jun 12, 2013, 7:20:38 AM6/12/13
to
Am 12.06.2013 10:03 schrieb Martin Fuxa:
> and HUP is not performed.
you may set $log_level = 5, restart, then reload and watch the log.

--
Andreas Schulze
Internetdienste | P252

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Dipl.-Kfm. Dr. Robert Mayr
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen

Michael Orlitzky

unread,
Jun 12, 2013, 9:12:22 AM6/12/13
to
On 06/11/2013 05:19 PM, Martin Fuxa wrote:
> after upgrade from 2.6.6 to 2.8.0 stops working
> amavisd reload
>
> same with 2.8.1-rc1
>
> On terminal prints
> Signalling a SIGHUP to a running daemon [4756]
>
> in log
> Jun 11 23:12:53 anta3 amavis[4756]: (!)Net::Server: 2013/06/11-23:12:53
> HUP'ing server
>
> but no one instance isn't runing after reload.
>

Usually caused by unreadable files specified somewhere in amavisd.conf.
For example, these always get me:

@virus_lovers_maps = ( read_hash("/etc/postfix/maps/rfc_addresses") );
@spam_lovers_maps = ( read_hash("/etc/postfix/maps/rfc_addresses") );

Pretty please: =)

http://lists.amavis.org/pipermail/amavis-users/2012-July/001738.html

0 new messages