Bug#396944: exim4 giving me problems again (#396944)
Marc Haber
mh+debian-packages at zugschlus.de
Mon Jan 22 15:43:38 CET 2007
reopen #396944
retitle #396944 exim4 pid file vanishing between updates, possible race?
thanks
On Sun, Jan 21, 2007 at 02:21:10PM -0700, Bruce Sass wrote:
> I monitored the next two or three upgrades after the problem I was
> having disappeared, all went well so I removed the flag which was
> causing exim to spew debugging info out during the install... a few
> more upgrades later and the problem has reappeared. Exim is running,
> has no pid file in /var/run/exim, there is a non-empty error log, and I
> have not touched anything to do with exim4 manually (it has all been
> the packages scripts triggered by upgrades).
I would like to know when exactly the pid file vanishes.
A possible idea would be to have a cron job running every ten minutes:
#!/bin/bash
LOGFILE="/var/log/exim4/pidwatch.log.$(date +%Y%m%e)"
PIDDIR="/var/run/exim4"
date "+%Y-%m-%e %H:%M:%S" >> $LOGFILE
ls -li $PIDDIR >> $LOGFILE
for file in $(ls $PIDDIR 2>/dev/null); do
echo $file >> $LOGFILE
head -n 2 $PIDDIR/$file >> $LOGFILE
done
echo -e "\n" >> $LOGFILE
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-exim4-maintainers
mailing list