LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-04-2010, 08:06 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
WARNING: Can't download main.cvd from db.local.clamav.net


hi

I have clamav daemon installed on Etch.
Using freshclam I'm getting this problem:
Code:
ClamAV update process started at Thu Feb  4 15:02:44 2010
getfile: Can't write 2648 bytes to /var/lib/clamav/clamav-cb8fa805f6a76c1622e65661ba19bc01
WARNING: Can't download main.cvd from db.local.clamav.net
BTW to remove and install again doesn't help.
 
Old 02-04-2010, 08:57 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

It looks like a permissions issue. Make sure that the user running clamav (usually it's clamav) has write permissions in /var/lib/clamav
 
Old 02-04-2010, 09:52 AM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
user clamav has write permissions and still doesn't work:
Code:
# ls -la /var/lib/clamav
total 8
drwxr-xr-x  2 clamav clamav 4096 2010-02-04 16:50 .
drwxr-xr-x 57 root   root   4096 2010-02-03 12:06 ..
 
Old 02-04-2010, 12:03 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
If it's not permissions, it could be apparmor.
You can download main.cvd from clamav, chown it to clamav:clamav and see if freshclam can update it.
 
  


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
net drops while others in the same network download something or browse the net !! wanas Linux - Networking 9 10-09-2009 06:53 PM
3 nics, connect to internet, share to local net, and connect to local net. Not workin linux-i386 Linux - Networking 2 09-15-2009 09:13 PM
LibClamAV on ClamAV 0.92.1 always Warning and Error katrok Linux - Software 1 05-21-2009 07:00 AM
Help! Possible to run vb.net (.net framework) using wine? if not where can i download jetro2k5 Linux - Software 5 04-18-2007 01:53 AM
Local mirror for Clamav razametal Linux - Software 1 02-03-2005 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11: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