Results 1 to 2 of 2

Thread: Freshclam not running and cron disappearing.

  1. #1
    Join Date
    Jan 2010
    Taipei, Taiwan
    Rep Power

    Default Freshclam not running and cron disappearing.

    Hi all,

    We were running Zimbra 7.2.3 on an old Ubuntu 8.04 32 bits.

    We recently migrated directly to Ubuntu 10.04 64 bits, without going through 8.04 64 bits.

    Everything works fine, but I have the following 2 problems:
    1 - freshclam stops running every now and then - every day.
    The error message I have in the logs is the following:
    ERROR: Problem with internal logger (UpdateLogFile = /opt/zimbra/log/freshclam.l
    ERROR: /opt/zimbra/log/freshclam.log is locked by another process
    It apparently does not impact clamav. I upgrade clamav to 0.98, I ran several time zmfixperms, the problem remains the same. As far as I can tell, using ps aux, I never saw more than one freshclam process running.

    2 - Zimbra user crontabs seem to disappear.
    I reinstalled it yesterday night, this morning the Zimbra user cron file in /var/spool/cron/crontabs was empty. It happened at least 3 times.

    I can't find any other similar case in these forums. Does anyone have any hint or idea to share?

    Many thanks in advance, cheers,


  2. #2
    Join Date
    Jan 2010
    Taipei, Taiwan
    Rep Power


    Replying to my own thread.

    I am making a bit of progress.

    I found the reason for my disappearing crontab: I use the backup script found here:

    This script, when backing-up your Zimbra does the following things:
    - disable Zimbra user crontab;
    - stop the server by using zmcontrol stop
    - backup your data
    - restore the cron
    - start the server

    But if something goes wrong when turning off the server (in my case: freshclam / clamav return an error code), then the script stops, leaving you with no cron for the Zimbra user.

    So the only problem left is Freshclam that stops running with no error message.



Similar Threads

  1. Freshclam not running
    By davidkillingsworth in forum Administrators
    Replies: 0
    Last Post: 07-17-2012, 03:40 AM
  2. Replies: 2
    Last Post: 08-23-2011, 07:58 AM
  3. Replies: 1
    Last Post: 11-22-2010, 04:09 AM
  4. [SOLVED] FreshClam would not refresh on cron
    By troublemaker in forum Administrators
    Replies: 6
    Last Post: 04-02-2009, 01:54 PM
  5. [SOLVED] Freshclam not running after upgrade
    By jriddle in forum Installation
    Replies: 5
    Last Post: 10-31-2008, 09:55 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