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/

Reply via email to