2007/7/30, Gary V <[EMAIL PROTECTED]>: > Luis wrote: > > > 2007/7/30, Gary V <[EMAIL PROTECTED]>: > >> Jason wrote: > >> > >> >> > Running Debian 4.x. My /var/amavis/amavisd.pid file keeps > >> >> > disappearing. I'm sure something in cron is doing it, but I have > >> > not > >> >> > located it yet. Does anyone know? > > > I've had a similar problem over two servers (debian Sarge), and it was > > tracked down to Logrotate requesting a reload of Amavis (and Amavis > > being unable to do it). Search the list files for it. > > See if this is your case. Anyway, it looks better to leave the pid > > file outside Amavis home dir, and throw it in /var/run/amavis. > > > Luix > > The cure for that is to log to syslog and not use logrotate. > $DO_SYSLOG = 1; > > I do remember where someone has trying to HUP amavisd-new in the > logrotate script but this has been deprecated for some time: > > http://marc.info/?l=amavis-user&m=117916137901389 > > Gary V
Yup... That was me... It happened because I ran the updated Amavisd-new with the old Debian startup script. As Gary and Marc pointed on that thread, HUPping isn't supportted anymore. Also, I set $DO_SYSLOG=1 because it makes it easier for my amavis-logwatch and some other cron-based statistics scripts to correctly compute and present the evolution of the mail traffic for my servers... Luix > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ > -- ------------------------------------------------- GNU-GPL: "May The Source Be With You... Linux Registered User #448382. When I grow up, I wanna be like Theo... ------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/