scheduled scans do not run

Bug #258424 reported by Chris Purves
2
Affects Status Importance Assigned to Milestone
klamav (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: klamav

Scheduled scans do not run. I have two scans scheduled daily to scan my home directory. They do not run and no information is added to the Events listing. It seems as though they are completely ignored.

KlamAV 0.42
Kubuntu 8.04
KDE 3.5.9

Related branches

Revision history for this message
Scott Kitterman (kitterman) wrote :

I am able to do scheduled scans with the Hardy version. Klamav does have to be running for the scan to work. Was klamav running when you expected the scan to happen?

Changed in klamav:
status: New → Incomplete
Revision history for this message
Chris Purves (chris-northfolk) wrote :

Yes, klamav was running at those times. CPU usage did not increase and no "Scanning..." icon appeared on the desktop, both of which I expected. In addition, if I schedule a "once only" scan, when I return to the scheduler the scheduled task is no longer present.

Revision history for this message
Chris Purves (chris-northfolk) wrote :

I was able to find out some more information about the problem I am having. I found that KlamAV modifies my crontab in order to run scheduled scans:

crontab:
...
# KlamAV Scheduled Scan of /home/chris/
0 12 * * * /home/chris/.klamav/ScanWithKlamav_130808141030.sh '/home/chris/'
# KlamAV Scheduled Scan of /home/chris/
40 13 * * * /home/chris/.klamav/ScanWithKlamav_190808133139.sh '/home/chris/'
...

If I run one of those tasks manually with KlamAV open, the task won't run and I get the following:

chris@chris-laptop:~$ /home/chris/.klamav/ScanWithKlamav_190808133139.sh '/home/chris/'
cat: /home/chris/.DCOPserver_:0: No such file or directory
object '/usr/bin/dcop' in application 'is' not accessible
object not accessible
chris@chris-laptop:~$

If I close KlamAV and try again, KlamAV opens and the scheduled scan begins. I still get some errors on the command line:

chris@chris-laptop:~$ /home/chris/.klamav/ScanWithKlamav_190808133139.sh '/home/chris/'
cat: /home/chris/.DCOPserver_:0: No such file or directory
object '/usr/bin/dcop' in application 'is' not accessible
object not accessible
kdecore (KProcess): WARNING: _attachPty() 19
kdecore (KProcess): WARNING: _attachPty() 21
LibClamAV Error: Database Directory: /var/lib/clamav not locked
QLayout "unnamed" added to Klamav "KlamAV ", which already has a layout
chris@chris-laptop:~$

Revision history for this message
hoganrobert (robert-roberthogan) wrote :

This will be fixed in KlamAV 0.45. Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package klamav - 0.45-0ubuntu1

---------------
klamav (0.45-0ubuntu1) jaunty; urgency=low

  * New upstream release (LP: #213690, #258424)
    - Upstream integration with clamav 0.94
    - New icon set
  * Drop 11-ukraine.patch and 12-clamav-0.94_build_fix.diff
    - Incorporated upstream
  * Freshen 09-disable-autoscan.patch

 -- Scott Kitterman <email address hidden> Wed, 18 Feb 2009 15:06:42 -0500

Changed in klamav:
status: Incomplete → Fix Released
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.