Hi All,

I installed clam on CentOS 5 as below.

yum install clamav clamav-db clamd

I got them form Dag.

below are the RPMS I installed.
[root@box ~]# rpm -qa |grep clam
clamav-db-0.90.2-1.el4.rf
clamd-0.90.2-1.el4.rf
clamav-0.90.2-1.el4.rf


But, when I restart clam it gives following error.

[root@box init.d]# /etc/init.d/clamd restart
Stopping Clam AntiVirus Daemon:                            [FAILED]
Starting Clam AntiVirus Daemon:                            [  OK  ]

[root@box init.d]# tail -f /var/log/clamav/clamd.log
Wed May 16 10:46:43 2007 -> +++ Started at Wed May 16 10:46:43 2007
Wed May 16 10:46:43 2007 -> clamd daemon 0.90.2 (OS: linux-gnu, ARCH: i386, CPU: i386)
Wed May 16 10:46:43 2007 -> Log file size limit disabled.
Wed May 16 10:46:43 2007 -> Reading databases from /var/clamav
Wed May 16 10:46:43 2007 -> ERROR: Unable to open file or directory
Wed May 16 10:46:43 2007 -> +++ Started at Wed May 16 10:46:43 2007
Wed May 16 10:46:43 2007 -> clamd daemon 0.90.2 (OS: linux-gnu, ARCH: i386, CPU: i386)
Wed May 16 10:46:43 2007 -> Log file size limit disabled.
Wed May 16 10:46:43 2007 -> Reading databases from /var/clamav
Wed May 16 10:46:43 2007 -> ERROR: Unable to open file or directory

This happens with clamav-0.90.

I am ruuning clamav-0.88 on CentOS 4.4. It works fine. below are RPMS I installed on CENTOS 4.4

[root@netmonitor ~]# rpm -qa |grep clam
clamav-0.88.7-1.el4.rf
clamd-0.88.7-1.el4.rf
clamav-db-0.88.7-1.el4.rf

I tried a lot to solve this issue. But still have not been able to solve.

Help needed.



--
Thank you
Indunil Jayasooriya