[EMAIL PROTECTED] ~]# ls -l /var/clamav/
total 11120
drwxr-xr-x 2 clamav clamav     4096 Jan 28 09:57 daily.inc
-rw-r--r-- 1 clamav clamav 11347852 Dec 18 23:15 main.cvd
-rw------- 1 clamav clamav      156 Jan 28 04:02 mirrors.dat

SELinux is on. But I had included the config in /etc/sysconfig/iptalbes for
clamav:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3310 -j
ACCEPT
This is my /etc/clamd.conf:

LogFile /var/log/clamav/clamd.log
LogFileMaxSize 0
LogTime yes
LogClean yes
LogSyslog yes
PidFile /var/run/clamav/clamd.pid
TemporaryDirectory /var/tmp
DatabaseDirectory /var/clamav
LocalSocket /tmp/clamd.socket
TCPSocket 3310
TCPAddr 127.0.0.1
MaxConnectionQueueLength 30
MaxThreads 50
ReadTimeout 300
User clamav
AllowSupplementaryGroups yes
DetectPUA yes
ScanPE yes
ScanELF yes
DetectBrokenExecutables yes
ScanOLE2 yes
ScanMail yes
ScanArchive yes
ArchiveMaxCompressionRatio 300
ArchiveBlockEncrypted no
ArchiveBlockMax no
Please help me!


On Jan 28, 2008 5:24 PM, Török Edwin <[EMAIL PROTECTED]> wrote:

> Quỳnh H Nguyễn wrote:
> > Oh, I'm sure that the .conf files were modified. Because the daemon show
> the
> > message [OK] when system boot, but I can not see any clamd process
> listen at
> > port 3310. So that means clamd does not start. But when I type command
> > "clamd", there is a clamd process listen at port 3310.
> >
>
> Do you have the databases in /var/clamav, what permissions? (ls -l
> /var/clamav/)
> Please post clamconf output.
> > I had tried another command after run "clamd" to listen at port 3310:
> >
> > service clamd stop
> > => [OK]
> >
> > this command kill the clamd process. Then I want to open again clamd
> process
> > by use command:
> >
> > service clamd start
> >
> > the console show message [OK] again, looks like as the booting message.
> but
> > there is not any clamd listen at port 3310. But if I type simply
> command:
> > "clamd", there is no message show at console, but there is a clamd
> process
> > open and listen at port 3310. So is there any problem in my .conf files?
> >
>
> Do you launch clamd as root? Also do you have SELinux on or off?
>
> Best regards,
> --Edwin
>  _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to