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?
Got it Ralph! I don't know why it was uncommented, when it had worked previously, but I have fixed that and now it restarts without a problem.
Thanks
Anne