Koozali.org: home of the SME Server

Freshclam: Update failed

Offline Salmoneus

  • **
  • 33
  • +0/-0
Freshclam: Update failed
« on: April 12, 2007, 08:37:12 AM »
Once a week or so our SME 7.1.3 mail gateway stops working. ClamAV is not updated and at that point no mail is delivered at all, except freshclam error mails once an hour.

Error mail content:

2007-04-11 21:34:24.288217500 Received signal: wake up
2007-04-11 21:35:29.307985500 ERROR: Can't lock database directory: /var/clamav

Restarting ClamAv doesn't work. After a little research, removing the lock-file in /var/clamav followed by a reboot makes thing work again. For a week or so...

I even reinstalled the entire server. Even then it only worked for a few days.

Can anyone help me with this? I wouldn't like to add a reboot cron script.......................

/Salmoneus

Offline jfarschman

  • *
  • 406
  • +0/-0
Freshclam: Update failed
« Reply #1 on: April 12, 2007, 05:13:43 PM »
Salmoneus,

  First.... I might post this on buzilla if I were you.  When you do I would be curious about few things:

  1.  Timing - When does it fail, is their a weekly regularity? or a certain time of day.  I would assume that you freshclam process runs in cron.daily

  2.  What does you clamav configuration look like:

       db configuration show clamav

  3.  What happens if you do a

       signal-even email-update

       Does that resolve things? or must you remove the lockfile and then to a email-update? or do you really need the lockfile removed and a reboot.

Please post the bugzilla link after you get this one in there and if you need any help with that..... post answers here and I'll help you get it into b-zilla.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Freshclam: Update failed
« Reply #2 on: April 12, 2007, 05:48:01 PM »
The answer hides one ticket number down:

http://forums.contribs.org/index.php?topic=36585.0

Darrell

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Freshclam: Update failed
« Reply #3 on: April 12, 2007, 05:49:23 PM »
There are bugs already open for this, please do not open another one without searching the bugzilla.

[edit] Darrel, I missed you by a few seconds...

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Freshclam: Update failed
« Reply #4 on: April 12, 2007, 06:23:59 PM »
Quote from: "stuntshell"
There are bugs already open for this, please do not open another one without searching the bugzilla.

[edit] Darrel, I missed you by a few seconds...

Well what you missed was your opportunity to guide the person ever so politely to the right place.
Quote
There are bugs already open for this, please see:

http://bugs.contribs.org/show_bug.cgi?id=2349

Darrell

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Freshclam: Update failed
« Reply #5 on: April 12, 2007, 06:32:03 PM »
Sorry for not being a good samaritan!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Freshclam: Update failed
« Reply #6 on: April 12, 2007, 06:49:15 PM »
Quote from: "dmay"
The answer hides one ticket number down:

http://forums.contribs.org/index.php?topic=36585.0


If you look closely Darrell, you'll see that the log messages and failure mode are different.

Salmoneus, please have a look at the following bug report:

http://bugs.contribs.org/show_bug.cgi?id=2743

and then create a bugzilla login (if you don't have one already), and add a description of your problem there. You can help us to find and fix the root cause of your problem.

Offline Salmoneus

  • **
  • 33
  • +0/-0
Freshclam: Update failed
« Reply #7 on: April 13, 2007, 01:07:20 PM »
Thanks.

I try to create a Bugzilla account, but keep getting "internal server errors". I'll try later...


/Salmoneus

BTW, freshclam says ClamAV 0.90.2 is available. Wonder if that version fixes the problem?

Offline Salmoneus

  • **
  • 33
  • +0/-0
Freshclam: Update failed
« Reply #8 on: April 15, 2007, 05:58:03 PM »
Bug 2901 submitted...

/Salmoneus

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Freshclam: Update failed
« Reply #9 on: April 15, 2007, 07:25:33 PM »
Quote from: "Salmoneus"
Bug 2901 submitted...


The problem had previously been reported as bug 2743.

Offline Salmoneus

  • **
  • 33
  • +0/-0
Freshclam: Update failed
« Reply #10 on: April 16, 2007, 07:49:53 AM »
I did a search for "clam" and "lock" and that got me nothing...