> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > René Berber > Sent: Friday, August 10, 2007 4:38 PM > To: [email protected] > Subject: Re: [Clamav-users] ClamAV fails to restart > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > doughairfield wrote: > > > have version .90.1 of clamav on a CentOS 4.4 Dell server. > > The clamav init file is in /etc/init.d/ and set in > chckconfig to start > > up when the machine is brought up Unfortunately this is not > happening. > > I can see in /var/log/messages where it is starting clamd at bootup > > but it then quits with no notification. I noticed that there is a > > clamd file that gets written to /tmp that is somehow > keeping it from > > restarting because when I delete said file clamd will restart. > > > > Any ideas how to fix this? > > Perhaps you need to set option : > > # Remove stale socket after unclean shutdown. > FixStaleSocket yes > > And then investigate why clamd is not properly shutdown.
For some reason I have I comment in clamd.conf that I intentioanlly left 'FixStaleSockey yes' commented out. Is there a reason why I might have done that in the past but I SHOULD enable it now? Clamd has been silently dying on me and I don't know why (If I had to guess the culpret is /etc/logrotate.d/clamd). Which reminds me, I need to setup a nagios check to monitor for that dying. --Jim James Miller - MCSE RHCE CISSP Sr Systems & Network Administrator Simutronics Corp. www.play.net 636.946.4263 x113 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
