On 2009-12-19 00:56, Jim Preston wrote:
>
> On Dec 18, 2009, at 2:32 PM, Török Edwin wrote:
>
>> On 2009-12-18 21:14, Jim Preston wrote:
>>>
>>> On Dec 18, 2009, at 11:35 AM, Török Edwin wrote:
>>>
>>>> On 2009-12-18 19:23, jimli...@commspeed.net wrote:
>>>>> Hi All,
>>>>>
>>>>> I have upgraded to the current Clamav 0.95.3 and now my clamav-milter
>>>>> crashes all the time. Not sure what other information is need to
>>>>> investigate but here goes:
>>>>>
>>>>
>>>> Is there anything in clamav-milter's logfile? (if you haven't already
>>>> done so, set its logfile, and turn logging on).
>>>>
>>>> Best regards,
>>>> --Edwin
>>>
>>> Thanks Edwin,
>>>
>>> I do have logging turned on but ..... only have entries for starting
>>> the milter
>>> This is from tail ../clamav-milter.log
>>> Fri Dec 18 09:45:01 2009 -> +++ Started at Fri Dec 18 09:45:01 2009
>>> Fri Dec 18 10:00:01 2009 -> +++ Started at Fri Dec 18 10:00:01 2009
>>> Fri Dec 18 10:15:02 2009 -> +++ Started at Fri Dec 18 10:15:02 2009
>>> Fri Dec 18 10:30:01 2009 -> +++ Started at Fri Dec 18 10:30:01 2009
>>> Fri Dec 18 10:45:02 2009 -> +++ Started at Fri Dec 18 10:45:02 2009
>>> Fri Dec 18 11:00:01 2009 -> +++ Started at Fri Dec 18 11:00:01 2009
>>> Fri Dec 18 11:15:01 2009 -> +++ Started at Fri Dec 18 11:15:01 2009
>>> Fri Dec 18 11:30:02 2009 -> +++ Started at Fri Dec 18 11:30:02 2009
>>> Fri Dec 18 11:45:01 2009 -> +++ Started at Fri Dec 18 11:45:01 2009
>>> Fri Dec 18 12:00:02 2009 -> +++ Started at Fri Dec 18 12:00:02 2009
>>>
>>> From maillog
>>> Dec 18 10:10:57 JimFedora sendmail[4885]: nBIHAmYr004885:
>>> milter_sys_read(clamav-milter): cmd read returned 0, expecting 5
>>> Dec 18 10:10:57 JimFedora sendmail[4885]: nBIHAmYr004885: Milter
>>> (clamav-milter): to error state
>>>
>>> As you can see no posting for it crashing. When it is in its failed
>>> state in response to status I get "clamav-milter dead but subsys
>>> locked"
>>> mail is rejected until the milter is restarted.
>>>
>>
>> Does the milter crash? Try starting it manually, and get a core dump.
>> Then open a bug, see http://clamav.net/bugs
>>
>>
>> Best regards,
>> --Edwin
>
> Could freshclam be causing it to crash? I have a cron job set to run
> freshclam at 10 minutes after each hour. In looking at the logs again
> I just noticed that the crash all occur around 10 after the hour.
>
> Dec 18 13:10:57 JimFedora sendmail[11696]: nBIKAmTr011696:
> milter_sys_read(clamav-milter): cmd read returned 0, expecting 5
> Dec 18 13:10:57 JimFedora sendmail[11696]: nBIKAmTr011696: Milter
> (clamav-milter): to error state
> Dec 18 14:10:57 JimFedora sendmail[13869]: nBILAmMO013869:
> milter_sys_read(clamav-milter): cmd read returned 0, expecting 5
> Dec 18 14:10:57 JimFedora sendmail[13869]: nBILAmMO013869: Milter
> (clamav-milter): to error state
> Dec 18 15:10:57 JimFedora sendmail[16083]: nBIMAmTC016083:
> milter_sys_read(clamav-milter): cmd read returned 0, expecting 5
> Dec 18 15:10:57 JimFedora sendmail[16083]: nBIMAmTC016083: Milter
> (clamav-milter): to error state
>
> Could I have a bad setting in the freshclam.conf?

Why should the milter be affected by freshclam? Its only purpose is to
interface between your MTA and clamd.
As long as clamd is up and running, the milter should not be influenced
by freshclam.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to