CLAMAV not working
up vote
5
down vote
favorite
After installation of CLAMAV and try to scan I see this error. How do I solve this? Thanks
clamscan scan
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.98.7
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
antivirus clamav
add a comment |
up vote
5
down vote
favorite
After installation of CLAMAV and try to scan I see this error. How do I solve this? Thanks
clamscan scan
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.98.7
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
antivirus clamav
3
Two thoughts for start - have you run freshclam to update clamav databases? Also - make sure that freshclam is updating databases in the same directory, where clamav is looking for them (/var/lib/clamav) - check configs for that.
– Jacek
Jan 14 '16 at 9:18
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
After installation of CLAMAV and try to scan I see this error. How do I solve this? Thanks
clamscan scan
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.98.7
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
antivirus clamav
After installation of CLAMAV and try to scan I see this error. How do I solve this? Thanks
clamscan scan
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.98.7
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
antivirus clamav
antivirus clamav
edited Jan 14 '16 at 11:22
andrew.46
21k1468144
21k1468144
asked Jan 14 '16 at 7:49
user493044
26112
26112
3
Two thoughts for start - have you run freshclam to update clamav databases? Also - make sure that freshclam is updating databases in the same directory, where clamav is looking for them (/var/lib/clamav) - check configs for that.
– Jacek
Jan 14 '16 at 9:18
add a comment |
3
Two thoughts for start - have you run freshclam to update clamav databases? Also - make sure that freshclam is updating databases in the same directory, where clamav is looking for them (/var/lib/clamav) - check configs for that.
– Jacek
Jan 14 '16 at 9:18
3
3
Two thoughts for start - have you run freshclam to update clamav databases? Also - make sure that freshclam is updating databases in the same directory, where clamav is looking for them (/var/lib/clamav) - check configs for that.
– Jacek
Jan 14 '16 at 9:18
Two thoughts for start - have you run freshclam to update clamav databases? Also - make sure that freshclam is updating databases in the same directory, where clamav is looking for them (/var/lib/clamav) - check configs for that.
– Jacek
Jan 14 '16 at 9:18
add a comment |
5 Answers
5
active
oldest
votes
up vote
7
down vote
Steps 1-3 below include commands run in a terminal. Please read carefully so that you understand what you are doing.
Remove potentially bad AV installations:
sudo apt-get remove clamav
sudo apt-get remove clamtk
sudo apt-get remove freshclam
sudo apt-get clean
sudo apt-get autoremove
Reinstall AV:
sudo apt-get install clamav #Terminal Version
sudo apt-get install clamtk #GUI version
Update AV Database:
sudo freshclam #takes ~30 minutes to download definitions
Configure AV & Scan:
This example uses clamtk only
clamtk #Opens GUI
toggle all options under Settings tab:
Network
- toggle proxy and type
http://127.0.0.1
- toggle / reselect **No Proxy **(to gray out what you entered above)
Update Assistant
- toggle manual update option and click apply and back
- toggle automatic update option and click apply and back
You should now see updated definition count
Scan a Directory
- select directory you want scanned. For system scan I toggled the entire system (not just
/root
or/usr
) - Click scan and a progress box will appear.
- toggle proxy and type
Final Note: typing the phrase --help
(without quotations) following command gives some hints. With APT commands you can pass the option -y
to say yes to installing all dependencies for the requested package.
This is what I had to do to get clam working, perhaps a glitch for both clamtk and clamav (problem with both). Hope this helps someone else!!!
in my case I should kill freshclam before step 3, by: sudo pkill -15 -x freshclam
– ChaosPredictor
Jul 3 '17 at 12:11
add a comment |
up vote
6
down vote
The error message tells the tale: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
and Known viruses: 0
You need
clamav-freshclam - anti-virus utility for Unix - virus database update utility
Also ensure that user running the scan has read access to /var/lib/clamav
.
add a comment |
up vote
1
down vote
Install clamdscan
by running:
sudo apt-get install clamdscan
add a comment |
up vote
0
down vote
I had to manually create and set the directory /var/lib/clamav
to 777, then run freshclam
. This downloaded all the signatures and updated clamav, and all seems well now.
add a comment |
up vote
0
down vote
cuongpv@anonymouse /home> clamscan --infected --remove --recursive /home
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.100.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
No supported database files found in /var/lib/clamav it mean the database still not avaible to use. Almost of this case is you have just installed clamav. So you need to wait util the database update completed.
You can check with: ps aux | grep clam
The result should be
clamav 29675 3.5 0.3 154276 27632 ? Ss 11:36 0:08 /usr/bin/freshclam -d --foreground=true
Waiting for util the database update complete.
Hope useful for you.
New contributor
add a comment |
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
Steps 1-3 below include commands run in a terminal. Please read carefully so that you understand what you are doing.
Remove potentially bad AV installations:
sudo apt-get remove clamav
sudo apt-get remove clamtk
sudo apt-get remove freshclam
sudo apt-get clean
sudo apt-get autoremove
Reinstall AV:
sudo apt-get install clamav #Terminal Version
sudo apt-get install clamtk #GUI version
Update AV Database:
sudo freshclam #takes ~30 minutes to download definitions
Configure AV & Scan:
This example uses clamtk only
clamtk #Opens GUI
toggle all options under Settings tab:
Network
- toggle proxy and type
http://127.0.0.1
- toggle / reselect **No Proxy **(to gray out what you entered above)
Update Assistant
- toggle manual update option and click apply and back
- toggle automatic update option and click apply and back
You should now see updated definition count
Scan a Directory
- select directory you want scanned. For system scan I toggled the entire system (not just
/root
or/usr
) - Click scan and a progress box will appear.
- toggle proxy and type
Final Note: typing the phrase --help
(without quotations) following command gives some hints. With APT commands you can pass the option -y
to say yes to installing all dependencies for the requested package.
This is what I had to do to get clam working, perhaps a glitch for both clamtk and clamav (problem with both). Hope this helps someone else!!!
in my case I should kill freshclam before step 3, by: sudo pkill -15 -x freshclam
– ChaosPredictor
Jul 3 '17 at 12:11
add a comment |
up vote
7
down vote
Steps 1-3 below include commands run in a terminal. Please read carefully so that you understand what you are doing.
Remove potentially bad AV installations:
sudo apt-get remove clamav
sudo apt-get remove clamtk
sudo apt-get remove freshclam
sudo apt-get clean
sudo apt-get autoremove
Reinstall AV:
sudo apt-get install clamav #Terminal Version
sudo apt-get install clamtk #GUI version
Update AV Database:
sudo freshclam #takes ~30 minutes to download definitions
Configure AV & Scan:
This example uses clamtk only
clamtk #Opens GUI
toggle all options under Settings tab:
Network
- toggle proxy and type
http://127.0.0.1
- toggle / reselect **No Proxy **(to gray out what you entered above)
Update Assistant
- toggle manual update option and click apply and back
- toggle automatic update option and click apply and back
You should now see updated definition count
Scan a Directory
- select directory you want scanned. For system scan I toggled the entire system (not just
/root
or/usr
) - Click scan and a progress box will appear.
- toggle proxy and type
Final Note: typing the phrase --help
(without quotations) following command gives some hints. With APT commands you can pass the option -y
to say yes to installing all dependencies for the requested package.
This is what I had to do to get clam working, perhaps a glitch for both clamtk and clamav (problem with both). Hope this helps someone else!!!
in my case I should kill freshclam before step 3, by: sudo pkill -15 -x freshclam
– ChaosPredictor
Jul 3 '17 at 12:11
add a comment |
up vote
7
down vote
up vote
7
down vote
Steps 1-3 below include commands run in a terminal. Please read carefully so that you understand what you are doing.
Remove potentially bad AV installations:
sudo apt-get remove clamav
sudo apt-get remove clamtk
sudo apt-get remove freshclam
sudo apt-get clean
sudo apt-get autoremove
Reinstall AV:
sudo apt-get install clamav #Terminal Version
sudo apt-get install clamtk #GUI version
Update AV Database:
sudo freshclam #takes ~30 minutes to download definitions
Configure AV & Scan:
This example uses clamtk only
clamtk #Opens GUI
toggle all options under Settings tab:
Network
- toggle proxy and type
http://127.0.0.1
- toggle / reselect **No Proxy **(to gray out what you entered above)
Update Assistant
- toggle manual update option and click apply and back
- toggle automatic update option and click apply and back
You should now see updated definition count
Scan a Directory
- select directory you want scanned. For system scan I toggled the entire system (not just
/root
or/usr
) - Click scan and a progress box will appear.
- toggle proxy and type
Final Note: typing the phrase --help
(without quotations) following command gives some hints. With APT commands you can pass the option -y
to say yes to installing all dependencies for the requested package.
This is what I had to do to get clam working, perhaps a glitch for both clamtk and clamav (problem with both). Hope this helps someone else!!!
Steps 1-3 below include commands run in a terminal. Please read carefully so that you understand what you are doing.
Remove potentially bad AV installations:
sudo apt-get remove clamav
sudo apt-get remove clamtk
sudo apt-get remove freshclam
sudo apt-get clean
sudo apt-get autoremove
Reinstall AV:
sudo apt-get install clamav #Terminal Version
sudo apt-get install clamtk #GUI version
Update AV Database:
sudo freshclam #takes ~30 minutes to download definitions
Configure AV & Scan:
This example uses clamtk only
clamtk #Opens GUI
toggle all options under Settings tab:
Network
- toggle proxy and type
http://127.0.0.1
- toggle / reselect **No Proxy **(to gray out what you entered above)
Update Assistant
- toggle manual update option and click apply and back
- toggle automatic update option and click apply and back
You should now see updated definition count
Scan a Directory
- select directory you want scanned. For system scan I toggled the entire system (not just
/root
or/usr
) - Click scan and a progress box will appear.
- toggle proxy and type
Final Note: typing the phrase --help
(without quotations) following command gives some hints. With APT commands you can pass the option -y
to say yes to installing all dependencies for the requested package.
This is what I had to do to get clam working, perhaps a glitch for both clamtk and clamav (problem with both). Hope this helps someone else!!!
edited Nov 9 '17 at 6:16
Zanna
48.9k13123234
48.9k13123234
answered Apr 2 '16 at 20:04
SierraJuliet
9112
9112
in my case I should kill freshclam before step 3, by: sudo pkill -15 -x freshclam
– ChaosPredictor
Jul 3 '17 at 12:11
add a comment |
in my case I should kill freshclam before step 3, by: sudo pkill -15 -x freshclam
– ChaosPredictor
Jul 3 '17 at 12:11
in my case I should kill freshclam before step 3, by: sudo pkill -15 -x freshclam
– ChaosPredictor
Jul 3 '17 at 12:11
in my case I should kill freshclam before step 3, by: sudo pkill -15 -x freshclam
– ChaosPredictor
Jul 3 '17 at 12:11
add a comment |
up vote
6
down vote
The error message tells the tale: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
and Known viruses: 0
You need
clamav-freshclam - anti-virus utility for Unix - virus database update utility
Also ensure that user running the scan has read access to /var/lib/clamav
.
add a comment |
up vote
6
down vote
The error message tells the tale: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
and Known viruses: 0
You need
clamav-freshclam - anti-virus utility for Unix - virus database update utility
Also ensure that user running the scan has read access to /var/lib/clamav
.
add a comment |
up vote
6
down vote
up vote
6
down vote
The error message tells the tale: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
and Known viruses: 0
You need
clamav-freshclam - anti-virus utility for Unix - virus database update utility
Also ensure that user running the scan has read access to /var/lib/clamav
.
The error message tells the tale: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
and Known viruses: 0
You need
clamav-freshclam - anti-virus utility for Unix - virus database update utility
Also ensure that user running the scan has read access to /var/lib/clamav
.
answered Jan 14 '16 at 11:27
waltinator
21.6k74169
21.6k74169
add a comment |
add a comment |
up vote
1
down vote
Install clamdscan
by running:
sudo apt-get install clamdscan
add a comment |
up vote
1
down vote
Install clamdscan
by running:
sudo apt-get install clamdscan
add a comment |
up vote
1
down vote
up vote
1
down vote
Install clamdscan
by running:
sudo apt-get install clamdscan
Install clamdscan
by running:
sudo apt-get install clamdscan
edited Nov 9 '17 at 3:20
Kaz Wolfe
25.8k1373132
25.8k1373132
answered Nov 9 '17 at 0:51
Tono
111
111
add a comment |
add a comment |
up vote
0
down vote
I had to manually create and set the directory /var/lib/clamav
to 777, then run freshclam
. This downloaded all the signatures and updated clamav, and all seems well now.
add a comment |
up vote
0
down vote
I had to manually create and set the directory /var/lib/clamav
to 777, then run freshclam
. This downloaded all the signatures and updated clamav, and all seems well now.
add a comment |
up vote
0
down vote
up vote
0
down vote
I had to manually create and set the directory /var/lib/clamav
to 777, then run freshclam
. This downloaded all the signatures and updated clamav, and all seems well now.
I had to manually create and set the directory /var/lib/clamav
to 777, then run freshclam
. This downloaded all the signatures and updated clamav, and all seems well now.
answered Nov 25 '17 at 2:59
RedLee
1
1
add a comment |
add a comment |
up vote
0
down vote
cuongpv@anonymouse /home> clamscan --infected --remove --recursive /home
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.100.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
No supported database files found in /var/lib/clamav it mean the database still not avaible to use. Almost of this case is you have just installed clamav. So you need to wait util the database update completed.
You can check with: ps aux | grep clam
The result should be
clamav 29675 3.5 0.3 154276 27632 ? Ss 11:36 0:08 /usr/bin/freshclam -d --foreground=true
Waiting for util the database update complete.
Hope useful for you.
New contributor
add a comment |
up vote
0
down vote
cuongpv@anonymouse /home> clamscan --infected --remove --recursive /home
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.100.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
No supported database files found in /var/lib/clamav it mean the database still not avaible to use. Almost of this case is you have just installed clamav. So you need to wait util the database update completed.
You can check with: ps aux | grep clam
The result should be
clamav 29675 3.5 0.3 154276 27632 ? Ss 11:36 0:08 /usr/bin/freshclam -d --foreground=true
Waiting for util the database update complete.
Hope useful for you.
New contributor
add a comment |
up vote
0
down vote
up vote
0
down vote
cuongpv@anonymouse /home> clamscan --infected --remove --recursive /home
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.100.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
No supported database files found in /var/lib/clamav it mean the database still not avaible to use. Almost of this case is you have just installed clamav. So you need to wait util the database update completed.
You can check with: ps aux | grep clam
The result should be
clamav 29675 3.5 0.3 154276 27632 ? Ss 11:36 0:08 /usr/bin/freshclam -d --foreground=true
Waiting for util the database update complete.
Hope useful for you.
New contributor
cuongpv@anonymouse /home> clamscan --infected --remove --recursive /home
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.100.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.003 sec (0 m 0 s)
No supported database files found in /var/lib/clamav it mean the database still not avaible to use. Almost of this case is you have just installed clamav. So you need to wait util the database update completed.
You can check with: ps aux | grep clam
The result should be
clamav 29675 3.5 0.3 154276 27632 ? Ss 11:36 0:08 /usr/bin/freshclam -d --foreground=true
Waiting for util the database update complete.
Hope useful for you.
New contributor
New contributor
answered 2 days ago
Phan Cường
1
1
New contributor
New contributor
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f720928%2fclamav-not-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Two thoughts for start - have you run freshclam to update clamav databases? Also - make sure that freshclam is updating databases in the same directory, where clamav is looking for them (/var/lib/clamav) - check configs for that.
– Jacek
Jan 14 '16 at 9:18