don't start freshclam

Bug #657672 reported by Riccardo Angelino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: clamav

Hello,
There is a problem with the update of clamav, freshclam typing in the terminal does not update the virus database, errors are displayed:
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).

Step to reproduce:
1) Open the terminal and type freshclam;
Expected results:
1) Update Virus Database;
Actual results:
1) Do not update the virus database and displays errors.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: clamav-freshclam 0.96.1+dfsg-0ubuntu0.10.04.2
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
Date: Sun Oct 10 14:12:39 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=it_IT.utf8
 SHELL=/bin/bash
SourcePackage: clamav

Revision history for this message
Riccardo Angelino (riccardoangelino) wrote :
Revision history for this message
Riccardo Angelino (riccardoangelino) wrote :
description: updated
Revision history for this message
Imre Gergely (cemc) wrote :

I'm not sure freshclam was ment to be run by a normal user. There's a freshclam daemon, which runs in the background as 'clamav' user, and it takes care of updating the database. If you run it as a normal user, it won't have permissions to open the logfiles, to open the database directory, etc.

You can check that freshclam is running with the following command:

"ps axu |grep freshclam"

If it's not running, try starting it:

/etc/init.d/clamav-freshclam start

Imre Gergely (cemc)
Changed in clamav (Ubuntu):
status: New → Incomplete
Revision history for this message
Riccardo Angelino (riccardoangelino) wrote :

Ok, thank you.

The freshclam is running.

Imre Gergely (cemc)
Changed in clamav (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.