Results 1 to 2 of 2

Thread: Clamav unstable after upgrade

  1. #1
    Join Date
    Jul 2005
    Location
    Paris, KY
    Posts
    27

    Unhappy Clamav unstable after upgrade

    I am having issues with clamav after I upgraded to the latest version. The clamd daemon is very unstable and will just randomly die. When this happens, exim stops delivering mail and smtp breaks. Does anyone know of any code I can add to the exim.conf to allow mail delivery even if clamd stops? I am also looking for a healthcheck script that will notify me when clamd stops and possibly restart it. I have been trying to troubleshoot this for several days. I turned on debug in the clamav conf, but never got any useful info in my logs. I cannot find out why clamd just stops. I also have issues with restarting clamd. I have to stop dovecot and exim, then start clamd, and restart dovecot & exim. If I try to start/restart clamd without stopping exim and dovecot, it fails. It will not not create a clamd.pid. Start appears successful in the logs but no process runs and I get a message that subsys is locked. Any ideas? Thanks in advance.

  2. #2
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    I don't believe the exim control language is sophisticated enought to see if a process is running. I suppose you could run a daemon just to check on clamav and post it's status in the form of a file. For exmple: if clamav is running, then a file exists called /etc/clamav.is.running and if it stops running your daemon could delete the file.

    Then you could make custom changes to exim.conf to not route through clamav if the file didn't exist.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

Similar Threads

  1. How to upgrade clamav version?
    By Richard G in forum CustomBuild
    Replies: 13
    Last Post: 06-22-2013, 02:49 PM
  2. upgrade to clamav 0.93.3
    By bigboy in forum FreeBSD 5.x
    Replies: 3
    Last Post: 09-10-2008, 06:07 AM
  3. exim clamav problem after upgrade
    By CentOS5 in forum E-Mail
    Replies: 3
    Last Post: 07-02-2008, 01:04 PM
  4. Replies: 17
    Last Post: 09-03-2005, 02:59 PM
  5. mailscanner, clamav after DA upgrade?
    By travelbuff in forum E-Mail
    Replies: 2
    Last Post: 10-21-2004, 05:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •