Adriano's Place

Website & Blog of Adriano Chiaretta

Home Tech Tips Fixing the “No updates detected in the log for the freshclam daemon” error

Fixing the “No updates detected in the log for the freshclam daemon” error

Posted on May 23, 2014 Written by adriano Leave a Comment

Have been banging my head on this for a while now. Logwatch kept reporting in his daily summary something along the lines of what below:

——————— clam-update Begin ————————

No updates detected in the log for the freshclam daemon (the
ClamAV update process). If the freshclam daemon is not running,
you may need to restart it. Other options:

A. If you no longer wish to run freshclam, deleting the log file
(default is freshclam.log) will suppress this error message.

B. If you use a different log file, update the appropriate
configuration file. For example:
echo “LogFile = log_file” >> /etc/logwatch/conf/logfiles/clam-update.conf
where log_file is the filename of the freshclam log file.

C. If you are logging using syslog, you need to indicate that your
log file uses the syslog format. For example:
echo “*OnlyService = freshclam” >> /etc/logwatch/conf/logfiles/clam-update.conf
echo “*RemoveHeaders” >> /etc/logwatch/conf/logfiles/clam-update.conf

———————- clam-update End ————————-

suggesting that either clam-update was not running or the log file location was misconfigured.

Checked all that a number of times, made sure the permissions were correct, no difference.

Finally I realized that there is an error in the date detection of the freshclam related script which comes with Logwatch 7.3.6, and the solution comes down to editing the file:

/usr/share/logwatch/scripts/services/clam-update

and at around line 89 (this on CentOS 6.5) replace:
$ThisLine =~ s/ $//;

with
$ThisLine = substr($ThisLine, 28);

Related posts:

  1. How to enable SFTP logging in Linux Here are the steps necessary in order to have the...
  2. How to send email in the background with Thunderbird An “hidden” feature in Thunderbird, makes the email client queue...
  3. Get Toodledo in Thunderbird – no add-on needed Fastest way to get some sort of integration between Toodledo...

Filed Under: Tech Tips Tagged With: centos, linux, logwatch

Recent Posts

  • Better ways to connect with me..
  • Fixing the “No updates detected in the log for the freshclam daemon” error
  • Partner Post: How Are We Getting Addicted To Cell Phones?
  • Two minutes milk & yogurt mousse
  • How to enable SFTP logging in Linux

About this blog

Welcome to my website! Here you'll find posts spanning from personal thougths, to tech tips, cooking recipes, and more. Essentially about anything I deem worth sharing. Learn More...

Connect

  • Email
  • Facebook
  • Google+
  • LinkedIn
  • Pinterest
  • RSS
  • Twitter
  • YouTube

Keep in touch

Sign up to receive email updates and to hear what's going on with me!

Worth checking out

Craving for a sweet, soft, chilly, low carbs & low calories dessert? Then this approach I perfected after a few tryouts might just be what you're looking for, especially if you only have an … » read more...

Here are the steps necessary in order to have the SFTP subsystem of the SSH (secure shell) daemon log operations on disk. 1. edit /etc/ssh/sshd_confing and look for the line: Uncomment it … » read more...

If you aren't familiar with node.js, it's a platform whose goal is to facilitate building event-driven server side javascript services. Essentially it allows to run javascript on the server -- … » read more...

Recent Comments

  • What’s for Dessert? Mousse Re-imagined in 2-minutes… | Jedemi - Exploring the adjacent possible to help engage and empower on Two minutes milk & yogurt mousse
  • Thanks on Skype 4.1: how to disable quotes during copy-paste ops
  • ricardo on Skype 4.1: how to disable quotes during copy-paste ops
  • S. on Skype 4.1: how to disable quotes during copy-paste ops
  • Thanks on Skype 4.1: how to disable quotes during copy-paste ops

Latest Tweets

Tweets by @adri72

Shopping Ideas

Translate this page in…

Tag Cloud

amazon android app world bash Bay Area blackberry app world calories canon centos command line copy paste dell digital camera DVD email favorite apps featured firefox folders Google graphics happy holidays how-to imap iPhone iTunesConnect linux mac memory mousse pc photo gallery quotes RAM remote desktop server skype tasks thunderbird unix web server windows desktop windows explorer windows xp yogurt

Search this website

Copyright © 2019 · Focus Pro Theme on Genesis Framework · WordPress · Log in