[CentOS] Clamd not working

Sat Jun 28 16:19:46 UTC 2008
AnneWilson <cannewilson at googlemail.com>

On Saturday 28 June 2008 13:49:24 Ralph Angenendt wrote:
> AnneWilson wrote:
> > I tried starting clamd from a ssh session and this is what I saw:
> >
> > service clamd start
> > Starting Clam AntiVirus Daemon: Limits: Global size limit set to
> > 104857600 bytes.
> > Limits: File size limit set to 26214400 bytes.
> > Limits: Recursion level limit set to 16.
> > Limits: Files limit set to 10000.
> > Archive support enabled.
> > Algorithmic detection enabled.
> > Portable Executable support enabled.
> > ELF support enabled.
> > Detection of broken executables enabled.
> > Mail files support enabled.
> > OLE2 support enabled.
> > PDF support enabled.
> > HTML support enabled.
> > Self checking every 1800 seconds.
> > Socket file removed.
> > Pid file removed.
> > --- Stopped at Sat Jun 28 10:13:34 2008
> >                                                            [  OK  ]
> >  It appeared to hang at the 'self checking' line, and I left it for
> > several minutes before using Ctrl-C.
>
> It looks as if it isn't started as a daemon from within your start
> script (meaning that it doesn't detach and go into the background).
>
> Do you somehow have an uncommented
>
> Foreground
>
> in your /etc/clamd.conf?
>
One more question, please.

My logs this morning show

/etc/cron.daily/freshclam:

connect(): No such file or directory

It does exist, but it is owned root:root.  

-rwxr-xr-x 1 root root 456 Jun  9 19:53 /etc/cron.daily/freshclam

Shouldn't this be owned by clamav?  Are there other files I should check for 
ownership?

Anne