Results 1 to 6 of 6

Thread: [SOLVED] Freshclam not running after upgrade

  1. #1
    jriddle is offline New Member
    Join Date
    Jul 2008
    Location
    Lancaster, PA
    Posts
    4
    Rep Power
    7

    Default [SOLVED] Freshclam not running after upgrade

    Hi,
    After upgrading from 5.0.9 to 5.0.10 I noticed that Freshclam was not running every two hours to update the virus database.
    The clamd log records the selfcheck every half hour, nothing else.
    The freshclam log indicates ClamAV update process starts but it complains about an error with the log file. After two hours no virus database updates.
    Code:
    ClamAV update process started at Thu Oct 30 20:10:59 2008
    ERROR: Problem with internal logger (UpdateLogFile = /opt/zimbra/log/freshclam.log).
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Local version: 0.93.3 Recommended version: 0.94
    DON'T PANIC! Read http://www.clamav.net/support/faq
    Downloading main-48.cdiff [100%]
    Downloading main-49.cdiff [100%]
    main.cld updated (version: 49, sigs: 437972, f-level: 35, builder: sven)
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Current functionality level = 33, recommended = 35
    DON'T PANIC! Read http://www.clamav.net/support/faq
    WARNING: getfile: daily-7652.cdiff not found on remote server (IP: 155.98.64.86)
    WARNING: getpatch: Can't download daily-7652.cdiff from db.us.clamav.net
    WARNING: getfile: daily-7652.cdiff not found on remote server (IP: 155.98.64.86)
    WARNING: getpatch: Can't download daily-7652.cdiff from db.us.clamav.net
    WARNING: getfile: daily-7652.cdiff not found on remote server (IP: 155.98.64.86)
    WARNING: getpatch: Can't download daily-7652.cdiff from db.us.clamav.net
    WARNING: Incremental update failed, trying to download daily.cvd
    Downloading daily.cvd [100%]
    daily.cvd updated (version: 8545, sigs: 17496, f-level: 35, builder: ccordes)
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Current functionality level = 33, recommended = 35
    DON'T PANIC! Read http://www.clamav.net/support/faq
    Database updated (455468 signatures) from db.us.clamav.net (IP: 155.98.64.86)
    Clamd successfully notified about the update.
    The freshclam.log file exists in /opt/zimbra/log with permissions 640, owned by zimbra. There isn't a freshclam process id file in the log directory, so I conclude that the freshclam process isn't starting up. How can I get the ClamAV virus updates working again?

    Any help is appreciated,
    Justin

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    Code:
    ps aux | grep freshclam
    su - zimbra
    /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf -d --checks=12
    If you start it by hand does it show a error message ?

  3. #3
    jriddle is offline New Member
    Join Date
    Jul 2008
    Location
    Lancaster, PA
    Posts
    4
    Rep Power
    7

    Default

    Before starting by hand:
    Code:
    $ ps aux | grep freshclam
    jriddle  22329  0.0  0.0   2876   808 pts/1    S+   12:05   0:00 grep freshclam
    No errors to start it up... Output from ps:
    Code:
    ps aux | grep freshclam
    zimbra   23171  0.1  0.0   2808  1164 ?        Ss   12:07   0:00 /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf -d --checks=12
    The antivirus logs look good. There's a pid file in the log directory. I'd say it's right. How do I get this to run upon zimbra server restart?

    Thanks!
    Justin

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Now its running, are you in a position to shutdown ZCS and restart it to see if the daemon comes back online ?
    Code:
    su - zimbra
    cd /opt/zimbra/bin
    sh -x zmclamdctl stop
    sh -x zmclamdctl start
    post the output from the start so we can see what is happening, especially if the daemon does not start up.
    Last edited by uxbod; 10-31-2008 at 09:21 AM.

  5. #5
    jriddle is offline New Member
    Join Date
    Jul 2008
    Location
    Lancaster, PA
    Posts
    4
    Rep Power
    7

    Default

    Restarted the server and the daemon didn't come up. Freshclam output the same message to its log. ClamAV got the virus databases, but after that initialization it didn't keep the daemon going.
    Code:
    $ ps aux | grep freshclam
    zimbra   16409  0.0  0.0   1624   508 pts/1    S+   12:33   0:00 grep freshclam
    clamd.log:
    Code:
    ...
    Fri Oct 31 12:25:53 2008 -> PDF support disabled.
    Fri Oct 31 12:25:53 2008 -> HTML support enabled.
    Fri Oct 31 12:25:53 2008 -> Self checking every 1800 seconds.
    Fri Oct 31 12:26:16 2008 -> Reading databases from /opt/zimbra/data/clamav/db
    Fri Oct 31 12:26:18 2008 -> Database correctly reloaded (455133 signatures)
    freshclam.log:
    Code:
    ClamAV update process started at Fri Oct 31 12:25:49 2008
    ERROR: Problem with internal logger (UpdateLogFile = /opt/zimbra/log/freshclam.log).
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Local version: 0.93.3 Recommended version: 0.94
    DON'T PANIC! Read http://www.clamav.net/support/faq
    Downloading main-48.cdiff [100%]
    Downloading main-49.cdiff [100%]
    main.cld updated (version: 49, sigs: 437972, f-level: 35, builder: sven)
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Current functionality level = 33, recommended = 35
    DON'T PANIC! Read http://www.clamav.net/support/faq
    WARNING: getfile: daily-7652.cdiff not found on remote server (IP: 199.184.215.2)
    WARNING: getpatch: Can't download daily-7652.cdiff from db.us.clamav.net
    WARNING: getfile: daily-7652.cdiff not found on remote server (IP: 199.184.215.2)
    WARNING: getpatch: Can't download daily-7652.cdiff from db.us.clamav.net
    WARNING: getfile: daily-7652.cdiff not found on remote server (IP: 199.184.215.2)
    WARNING: getpatch: Can't download daily-7652.cdiff from db.us.clamav.net
    WARNING: Incremental update failed, trying to download daily.cvd
    Downloading daily.cvd [100%]
    daily.cvd updated (version: 8549, sigs: 17502, f-level: 35, builder: ccordes)
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Current functionality level = 33, recommended = 35
    DON'T PANIC! Read http://www.clamav.net/support/faq
    Database updated (455474 signatures) from db.us.clamav.net (IP: 199.184.215.2)
    Clamd successfully notified about the update.
    Any suggestions?

    Sorry didn't read the code to restart just the clamav. Did just that and it did restart the daemon.

    Thanks,
    Justin
    Last edited by jriddle; 10-31-2008 at 10:15 AM. Reason: Didn't read entire post.

  6. #6
    jriddle is offline New Member
    Join Date
    Jul 2008
    Location
    Lancaster, PA
    Posts
    4
    Rep Power
    7

    Default

    Done, the daemon did restart. Will this be persistent if the server is restarted?
    Code:
    zmcontrol stop
    zmcontrol start
    Thanks,
    Justin

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 08:59 AM
  2. Can't seem to get global in BES
    By sdemeyer in forum Zimbra Connector for BlackBerry
    Replies: 12
    Last Post: 03-19-2008, 08:22 AM
  3. Replies: 4
    Last Post: 11-14-2007, 02:19 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  5. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 11:01 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
  •