Michael Scheidell a écrit :
> don't know why, I can't find any log entries to tell me, and it never 
> happened before, not on this one, or any of the others.
> but, amavisd stopped, (no log entries).
> 
> amavisd start
> Missing process ID in file /var/amavis/amavisd.pid at 
> /usr/local/sbin/amavisd line 13932.
> ls -l /var/amavis/amavisd.pid
> -rw-r-----  1 vscan  vscan  0 May  9 08:36 /var/amavis/amavisd.pid
> 
> (its 10:27 now).  Looks like it happened right after a crash and reboot.
> 
> for amavisd, I would suggest that it ignore a zero length pid file.

more generally: if the file does not contain a valid pid. so a file
containing "junk" shouldn't stop amavisd-new from starting. (after all,
it's not a real problem since if amavisd starts again, it wouldn't be
able to bind()...).

> for freebsd, I can set a check in rc.d to delete it if its zero length.
> 


------------------------------------------------------------------------------

_______________________________________________
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/ 

Reply via email to