Adriano's Place

Website & Blog of Adriano Chiaretta

Home Archives for logwatch

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);

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

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...

Latest on Instagram

Instagram post 2195513779224465266_655362523 Very nice #nativityscene
.
.
.
.
#nativity #christmas #christmastime #christmaseve #presepe #navidad #panamacity #pty #panama
Instagram post 2194362941084844088_655362523 #holidays #holidaylights #soypanamasoynavidad #navidadpanama #navidad #panama #añonuevo #ciudaddepanama
Instagram post 2193993981776869384_655362523 #tocumen #tocumenairport #navidad #holidays #christmastree #nutcracker #panama #pty507
Instagram post 2191896288845804998_655362523 Skyscrapers on a clear day.
.
.
.
.
#panama #pty #pty507 #skyline #skyscraper #sky #skystyles #architecture #city #cityscape #buildings #urban #PanamaCity #bicsa
Instagram post 2190997904991457640_655362523 City streets on a sunny Sunday morning.
.
.
.
#panama #pty #panamacity #panamá #nature #bbctravel #bestoftheday #panamapictures #travelpanama #visitapanama #citystreets #cityscape #cityscapes
Instagram post 2190351470990686020_655362523 .
.
.
.
.
#biomuseo #biomuseopanama #panama #pty #visitpanama #quehaypahoypanama #panamacity #todayinpanama #todoinpanama #amador #causeway #quehaypahoy #inpanama  #hoyenpanama #frankgehry #agendadeldiapanama #canaldepanama #eventosenpanama #eventospahoy #doitoday #pahoypanama #todayin #calzadadeamador #panamá #jmj2019 #jmj #copaairlines #travel #architecture
Instagram post 2190290778161751440_655362523 Picked up this really nice #kokedama yesterday from @kokedamasyplantas
.
.
.
.
#kokedamabycarla #rare #succulentsofinstagram #succulents #succulentcity #jualkokedama #plants #rareplants #plantsmakepeoplehappy #plantsofinstagram #succulentgarden #succulentjunkie #succulentobsession #homedecor #kokedamaindonesia #succulentgram #kokedamas #emilliegarden #plantlove #mossball #succulentas #urbanjungle #succulove #indoorplants #kokedamaspanama #panama #panamacity #pty
Instagram post 2189705912894513305_655362523 #panamacanal #canaldepanama #containership #ship #shipping #panama #panamacity
Instagram post 2188219187718268161_655362523 Espectacular frozen yogurt de papaya, fresa, y blueberry 🍓 🍧 😋😋😋 #frozenyogurt #yogenfrüz #papaya #fresa #dessert #blueberry #panama
Instagram post 2186764407812899525_655362523 #aeronaval #aeronavalpanama #helicopter #panama #pty
Instagram post 2184618558081066224_655362523 Brand new towers.

#pacificcenter #puntapaitilla #panama #pty #construction #architecture #buildings
Instagram post 2184317256696450394_655362523 #panamacity #panama #cityscape #sunnyday
Instagram post 2183907953275568934_655362523 Mola inspired cake decoration. 
#mola #cakedecoration #dessert #sweets #panama
Instagram post 2179567344628859254_655362523 Accidental #holiday #lights effect

#carrasquilla #panama #pty507
Instagram post 2179359050819781013_655362523 Definitely doesn't go unnoticed

#hundai #hundaiaccent #panamaflag #panama #pty507 #pty
Instagram post 2179163981005242144_655362523 #swarosky #swaroskytree #holidays #christmas #multiplazapanama #panama
Instagram post 2178096906589676318_655362523 Papaya frozen yogurt mix topped with strawberry sauce. 🍓 🍧😋 #frozenyogurt #strawberry #papaya #yogenfrüz #multiplazapanama #panama
Instagram post 2176968736675157361_655362523 Image for post 2176968736675157361_655362523
Load More... Follow on Instagram

Latest Tweets

Tweets by @adri72

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

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

Connect

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

Search this website

Keep in touch

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

Copyright © 2005–2019 - ADRIANO CHIARETTA - ALL RIGHTS RESERVED.