Can't lock database directory: /var/lib/clamav/

Post Reply
Message
Author
cc
Posts: 191
Joined: 18. Apr 2003 18:04

Can't lock database directory: /var/lib/clamav/

#1 Post by cc »

Hallo

Habe clamav auf meinem Debian Etch installiert:

Code: Select all

# dpkg -l | grep clamav
ii  clamav                            0.90.1dfsg-4etch19                              antivirus scanner for Unix
ii  clamav-base                       0.90.1dfsg-4etch19                              base package for clamav, an anti-virus utili
ii  clamav-daemon                     0.90.1dfsg-4etch19                              antivirus scanner daemon
ii  clamav-freshclam                  0.90.1dfsg-4etch19                              downloads clamav virus databases from the In
ii  libclamav2                        0.90.1dfsg-4etch19   [/b]                           virus scanner library
Wenn ich jetzt freshclam als root user starte, dann bekomme ich diese Fehlermeldung:

Code: Select all

# su root
# freshclam                                                        
ERROR: Can't lock database directory: /var/lib/clamav/

Code: Select all

# cd  /var/lib/clamav/
# ls -la
total 748
drwxr-xr-x  3 clamav clamav   4096 2009-06-16 11:31 .
drwxr-xr-x 45 root   root     4096 2009-06-16 11:18 ..
-rw-r--r--  1 clamav clamav 744484 2009-06-16 11:19 daily.cvd
-rwxrwxr--  1 clamav clamav      0 2009-06-16 12:33 .dbLock
drwxr-xr-x  2 clamav clamav   4096 2009-06-16 11:19 main.inc
-rw-------  1 clamav clamav    104 2009-06-16 11:30 mirrors.dat
Wie kann ich dieses problem beheben?

PDA

#2 Post by PDA »

Ich sehe eine .dbLock Datei, lösche die mal und versuche es noch einmal.
Fehler im Programm? das die nicht gelöscht wird.

Post Reply