"Rob MacGregor" wrote:
Version of ClamAV?
0.88.2
Have you run freshclam?
I in order to resolve this problem (Can't initialize the virus database) I
have:
- uninstall the previous clam version (0.88.1) with 'rpm -e clamav'
- I have created '/var/lib/clamav' with the right permissions
- I have created the user/groups 'clamav'
- yum install clamav
..but now I do not understand if clamav/freshclam he is in execution or not
!
What's the output of "clamscan --verbose /dev/null"?
[EMAIL PROTECTED] ~]# clamscan --verbose /dev/null
ERROR: Not supported file type (/dev/null)
----------- SCAN SUMMARY -----------
Known viruses: 55029
Engine version: 0.88.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Time: 0.945 sec (0 m 0 s)
..but if:
[EMAIL PROTECTED] ~]# ps -ax|grep clamd
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.3/FAQ
4483 pts/2 R+ 0:00 grep clamd
[EMAIL PROTECTED] ~]# ps -ax|grep freshclam
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.3/FAQ
4485 pts/2 R+ 0:00 grep freshclam
..in '/etc/rc.d/init.d' I don't have a nobody script for boot startup of
freshclam, but when I used the previous version (0.88.1) was this ! ..
I have used 'www.webmail.us/testvirus' and all the virus are captured.
My conf is:
/etc/clamd.conf
LogFile /var/log/clamav/clamd.log
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
/etc/freshclam.conf
DatabaseDirectory /var/lib/clamav
UpdateLogFile /var/log/clamav/freshclam.log
PidFile /var/run/clamav/freshclam.pid
DatabaseOwner clamav
Checks 24
NotifyClamd /etc/clamd.conf
I use also amavisd-new, and with the clam previous version (0.88.1) is all
ok !!
thanks and sorry for my confusion !
------
Salvatore.
---
[This E-mail scanned for viruses by Declude Virus]
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html