The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

email stuck, could be a clamav problem

Discussion in 'E-mail Discussions' started by dmgens, Apr 11, 2007.

  1. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Folks,

    The email on our server just stopped after this showed up in the maillog:

    Apr 10 17:27:50 ip-208-109-23-94 ClamAV-autoupdate[21582]: ClamAV update warning: ERROR: getpatch: Can't download $
    Apr 10 18:25:14 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: getfile: Error while read$
    Apr 10 18:25:14 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: getpatch: Can't download $
    Apr 10 18:25:45 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: getfile: Error while read$
    Apr 10 18:25:45 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: getpatch: Can't download $
    Apr 10 18:26:21 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: getfile: Error while read$
    Apr 10 18:26:21 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: getpatch: Can't download $
    Apr 10 18:28:24 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: getfile: Error while read$
    Apr 10 18:28:25 ip-208-109-23-94 ClamAV-autoupdate[14229]: ClamAV update warning: ERROR: Can't download daily.cvd $
    Apr 10 18:28:26 ip-208-109-23-94 MailScanner[17837]: ClamAV Module ERROR:: Could not load databases from /usr/local/share/clamav

    I need to know how to recover the database.

    I have tried freshclam

    after which I had the following in the /usr/local/share/clamav folder:

    drwxrwxr-x 5 clamav clamav 4096 Apr 11 15:36 ./
    drwxr-xr-x 6 root root 4096 Apr 10 10:14 ../
    drwx------ 2 clamav clamav 4096 Apr 10 18:28 clamav-e3157ad50669eaa96b7f4e62fd6aeef9/
    drwx------ 2 clamav clamav 4096 Apr 11 15:24 daily.inc/
    drwxr-xr-x 2 clamav clamav 4096 Apr 10 18:24 main.inc/
    -rw------- 1 clamav clamav 884 Apr 11 15:36 mirrors.dat

    The error message about the missing database persists


    Any Ideas are more than wlecome
     
  2. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Did you try reinstalling ClamV from WHM >> cPanel Addons..??
     
  3. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Reinstalled ClamAv

    Yes, Not from WHM but using chirpy's example to install version 0.75 to install 0.90.1. He knows his stuff. The problem was in the access to the folder /usr/local/share/clamav/daily.inc once I fixed that all was well. It has been awhile since I dealt with unix type file systems at the sysadmin level and it takes me awhile to grok the obvious. My customers are sifting though loads of email now, and wondering why they ever wanted it to work.:rolleyes:
     
Loading...

Share This Page