Quỳnh H Nguyễn wrote:
>  Hello,
>
> I'm very newbie in Linux, but I learn much to install a complete Linux
> system.
>
> However, antivirus is one of the most important for a current server. And I
> choose ClamAV to deploy an antivirus for server and mail server too.
>
> I did following the instruction from clamav.net via "yum install" command.
> It install all things... and I set the service clamd to start automatically
> when system starting.
>
> clamd service start ok, it show [OK] when system boot. When I check port
> 3310 by command: "sudo lsof -i:3310", there is not any clamd program is
> listenning at this port. I tried to use command: "service clamd start" and
> it say [OK] too. And the clamd log:
>
> Mon Jan 28 04:21:29 2008 -> +++ Started at Mon Jan 28 04:21:29 2008
> Mon Jan 28 04:21:29 2008 -> clamd daemon 0.92 (OS: linux-gnu, ARCH: i386,
> CPU: i386)
> Mon Jan 28 04:21:29 2008 -> Running as user clamav (UID 100, GID 101)
> Mon Jan 28 04:21:29 2008 -> Log file size limit disabled.
> Mon Jan 28 04:21:29 2008 -> Reading databases from /var/clamav
> Mon Jan 28 04:21:29 2008 -> ERROR: Unable to open file or directory
> I had try again with the command "clamd", and wait for 5 seconds, then use
> "sudo lsof -i:3310" again. I see that there is a clamd is listenning:
>
> COMMAND  PID   USER   FD   TYPE DEVICE SIZE NODE NAME
> clamd   5142 clamav    5u  IPv4  13550       TCP
> localhost.localdomain:dyna-access (LISTEN)
> So is there any problem? Could you please to help me to start the clamd
> service at the boot successful? Too hard to understand.
>
> I can not start service by use command: "service clamd start", but the
> service is available by using command: "clamd".
>
>   
Set ownership of /var/clamav to clamav:

chown -R clamav:clamav /var/clamav
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to