LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-24-2009, 04:55 PM   #1
Mogget
Member
 
Registered: Dec 2008
Location: Norway
Distribution: Debian
Posts: 43

Rep: Reputation: 15
ClamAV deleting logs


This might be more appropriate under Server instead of security so take it easy on me if i'm posting in the wrong place.

Im running postfix together with ClamAV, dovecot and greysql.
I have several errors going on so I'm just taking one at a time but here one that is bothering me as I might be missing some useful information.

Code:
Mar 24 21:48:07 NailServer ClamAV-autoupdate[1387]: ClamAV update warning: ERROR: Problem with internal logger (--log=/var/log/clamav/ClamAV.update.log). 
Mar 24 21:48:07 NailServer ClamAV-autoupdate[1387]: ClamAV update warning: ERROR: Can't open /var/log/clamav/ClamAV.update.log in append mode (check permissions!).
When checking the permissions for this file i couldn't find it so i ran
Code:
touch /var/log/clamav/ClamAV.update.log
chown clamav.clamav /var/log/clamav/ClamAV.update.log
chmod 640 /var/log/clamav/ClamAV.update.log
The errors would then stop for a while and then return. I then check the file again and find it deleted. This happends 100% of the time. I'm not sure what config files/information you want me to post so i'll wait for you to request for it if you need it.

Thank you in advance for the help.
 
Old 03-24-2009, 06:39 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Moved to Server for more adequate exposure. It's all good.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding LDAP Server Logs / Application Logs in Linux arbignay Linux - Newbie 2 03-24-2008 09:54 AM
How do I send daily clamav scan logs to my work e-mail account rwtreke SUSE / openSUSE 3 05-20-2005 12:05 PM
Firewall logs in logs and terminal... robbow52 Debian 7 11-20-2004 07:13 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration