List Info

Thread: Re: clamd dies periodically




Re: clamd dies periodically
country flaguser name
United States
2007-12-12 11:39:15
Eugene Pefti wrote:
> Yes, that's true, I'm running clamav on FreeBSD. If I
disable ScanMail it
> will turn clamav useless, so what's the difference
between disabling it or
> deinstalling from the system ? 
> 
> Eugene
>  
> 
> -----Original Message-----
> From: Pete Barnwell [mailto:pete.barnwellwhole.net.uk] 
> Sent: Wednesday, December 12, 2007 2:18 AM
> To: Eugene Pefti
> Subject: Re: [Maia-users] clamd dies periodically
> 
> Eugene Pefti wrote:
>> Hi friends,
>>
>> Any idea why would clamav deamon die after being up
for an hour or about
> it.
>> Then it dies without any traces or entry to its log
file. The only 
>> information about clamav not running could be found
in the maillog file:
>>
>> Dec 12 01:04:38 mail02 amavis[11351]: (11351-08)
ClamAV-clamd 
>> av-scanner
>> FAILED: Too many retries to talk to
/var/run/clamav/clamd (Can't 
>> connect to UNIX socket /var/run/clamav/clamd:
Connection refused) at 
>> (eval 57) line 257.

You might check that freshclam isn't killing your clamd
daemon.  I had a 
similar problem and found that freshclam was sending a
"notify" to the 
clamd daemon, which was causing it to die.  I modified the
cron script 
that was calling freshclam to issue a "server clamd
restart" after 
freshclam was run.  I know it doesn't answer why clamd is
dying, but it 
may be an area to explore.  You may want to increase
debugging for a 
period of time, but remember to turn it back off or you will
eat disk space!

Darrick
-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.c
om
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: clamd dies periodically
country flaguser name
Canada
2007-12-12 11:58:21
Hi Derrick,

You suggestion to increase debugging level makes sense.
Should I enable it
in this directive of clamd.conf file:

# Enable debug messages in libclamav.

# Default: no

#Debug yes

Where will the debugging information be written in this
case? To clamd.log
configured in clamd.conf ?

As for freshclam I don't have anything in the crontab
calling it. Should it
be there?

Eugene

-----Original Message-----
From: Darrick Hartman [mailto:dhartmandjhsolutions.com] 
Sent: Wednesday, December 12, 2007 9:39 AM
To: maia-usersrenaissoft.com
Cc: Eugene Pefti
Subject: Re: [Maia-users] clamd dies periodically

Eugene Pefti wrote:
> Yes, that's true, I'm running clamav on FreeBSD. If I
disable ScanMail it
> will turn clamav useless, so what's the difference
between disabling it or
> deinstalling from the system ? 
> 
> Eugene
>  
> 
> -----Original Message-----
> From: Pete Barnwell [mailto:pete.barnwellwhole.net.uk] 
> Sent: Wednesday, December 12, 2007 2:18 AM
> To: Eugene Pefti
> Subject: Re: [Maia-users] clamd dies periodically
> 
> Eugene Pefti wrote:
>> Hi friends,
>>
>> Any idea why would clamav deamon die after being up
for an hour or about
> it.
>> Then it dies without any traces or entry to its log
file. The only 
>> information about clamav not running could be found
in the maillog file:
>>
>> Dec 12 01:04:38 mail02 amavis[11351]: (11351-08)
ClamAV-clamd 
>> av-scanner
>> FAILED: Too many retries to talk to
/var/run/clamav/clamd (Can't 
>> connect to UNIX socket /var/run/clamav/clamd:
Connection refused) at 
>> (eval 57) line 257.

You might check that freshclam isn't killing your clamd
daemon.  I had a 
similar problem and found that freshclam was sending a
"notify" to the 
clamd daemon, which was causing it to die.  I modified the
cron script 
that was calling freshclam to issue a "server clamd
restart" after 
freshclam was run.  I know it doesn't answer why clamd is
dying, but it 
may be an area to explore.  You may want to increase
debugging for a 
period of time, but remember to turn it back off or you will
eat disk space!

Darrick
-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.c
om

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )