amavisd Net server pid file already exists after system crash and startup

Posted by Simiyu on Server Fault See other posts from Server Fault or by Simiyu
Published on 2010-05-05T07:15:28Z Indexed on 2010/05/05 7:18 UTC
Read the original article Hit count: 243

Filed under:
|
|

Hi all,

whenever i have an unclean shutdown, which is often due to power failure most of the time i get problems with amavis starting up.

The error amavisd Net server pid_file already exists for running process comes when i start it under debug mode, so i always have to delete the amavisd.pid and amavisd.lock files manually before it starts.

Is there a way i can stop this from happening or get a way to delete the files during reboot in the case of an unclean shutdown.

Thanks

© Server Fault or respective owner

Related posts about amavis

Related posts about amavisd-new