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?
> >>
> >> Do you mean /var/run/amavis/amavisd.pid?
>
> > I do, but mine is located in /var/amavis
>
> >> grep ! /var/log/mail.log
>
> > Nope.
>
> >>
> >> look at:
> >> /etc/cron.daily/amavisd-new
> >> and:
> >> /etc/cron.d/amavisd-new
>
> > They don't exist.  (This is a manual install)
>
> Maybe you have some script or command that is supposed to remove
> temp directories in /var/amavis that is also deleting this file.
> I might suggest setting:
>
> $pid_file  = "/var/run/amavis/amavisd.pid";
> $lock_file = "/var/run/amavis/amavisd.lock";
>
> mkdir /var/run/amavis
> chown -R vscan:vscan /var/run/amavis
>
> (or whatever you have set for $daemon_user and $daemon_group)
>
> You may need to change entries in your initscript too.
>
> Gary V
>
>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>
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
-- 
-------------------------------------------------
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
[email protected]
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