[clamav-users] freshclam. Service exited with abnormal code: 1

Robert Chalmers racuk12 at gmail.com
Tue Dec 4 10:41:56 EST 2018


Of course. Sorry. I should know that. It’s time I went home …



> On 4 Dec 2018, at 15:25, Joel Esler (jesler) <jesler at cisco.com> wrote:
> 
> You'd have to talk to the maintainer for homebrew for ClamAV.  To my knowledge, we don't control that.
> 
>> On Dec 4, 2018, at 10:23 AM, Robert Chalmers <racuk12 at gmail.com <mailto:racuk12 at gmail.com>> wrote:
>> 
>> @Mica Snyder,
>> 
>> Is there any chance that this update will make it to the Homebrew repo soon? 
>> It’s not causing me any problems here, but the Error 1 in the log is getting annoying :-)
>> 
>> Cheers
>> Robert
>> 
>>> On 7 Nov 2018, at 21:34, Micah Snyder (micasnyd) <micasnyd at cisco.com <mailto:micasnyd at cisco.com>> wrote:
>>> 
>>> The change to actually pass through the FC_UPTODATE status code to as the exit code is something that kinda snuck in with a change to provide the details to libfreshclam users.
>>> 
>>> Another user brought this to my attention a couple months ago and we modified the code to revert the behavior for ClamAV 0.101. For those playing with the 0.101 beta, you should notice that the freshclam exit code is 0 for both SUCCESS and UPTODATE scenarios. https://github.com/Cisco-Talos/clamav-devel/commit/d0b738a873cf136f6b012cce04b81ff3afa05df1 <https://github.com/Cisco-Talos/clamav-devel/commit/d0b738a873cf136f6b012cce04b81ff3afa05df1> 
>>> 
>>> Sorry about the confusion. 
>>> 
>>>  
>>> Micah Snyder
>>> ClamAV Development
>>> Talos
>>> Cisco Systems, Inc.
>>> 
>>> 
>>>> On Nov 7, 2018, at 10:21 AM, Robert Chalmers <racuk12 at gmail.com <mailto:racuk12 at gmail.com>> wrote:
>>>> 
>>>> Ok, thanks. So UPDATE and SUCCESS actually are much the same. But in this case, the service is interpreting it as a non-zero return code and saying “I don’t know what this means, but I’ll assume its an error”
>>>> 
>>>> I suppose I could change it and recompile, but now I know what it is, I’ll leave it.
>>>> 
>>>> Thanks for your help.
>>>> 
>>>>> On 7 Nov 2018, at 14:07, Eric Tykwinski <eric-list at truenet.com <mailto:eric-list at truenet.com>> wrote:
>>>>> 
>>>>> Robert,
>>>>> 
>>>>> Looking at the freshclam return codes, it's not a problem.
>>>>> https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.101/freshclam/freshclamcodes.h <https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.101/freshclam/freshclamcodes.h>
>>>>> 
>>>>> FC_UPTODATE = 1,
>>>>> 
>>>>> So basically it means there was no changes.
>>>>> 
>>>>> Sincerely,
>>>>> 
>>>>> Eric Tykwinski
>>>>> TrueNet, Inc.
>>>>> P: 610-429-8300
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: clamav-users [mailto:clamav-users-bounces at lists.clamav.net <mailto:clamav-users-bounces at lists.clamav.net>] On
>>>>>> Behalf Of Robert Chalmers
>>>>>> Sent: Wednesday, November 07, 2018 5:24 AM
>>>>>> To: clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>>>>>> Subject: [clamav-users] freshclam. Service exited with abnormal code: 1
>>>>>> 
>>>>>> I’m running freshclam on a Mac with a plist startup file, and although it
>>>>>> appears to work at the required intervals, it always drops this error in the
>>>>>> system.log
>>>>>> "Nov  7 08:46:40 zeus com.apple.xpc.launchd[1]
>>>>>> (org.homebrew.freshclam[85799]): Service exited with abnormal code: 1"
>>>>>> 
>>>>>> The odd thing is, it appears to work each time, but then gives this error when
>>>>>> it exits.
>>>>>> 
>>>>>> I can not find the reason for this.
>>>>>> 
>>>>>> Thanks
>>>>>> Robert
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> clamav-users mailing list
>>>>>> clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>>>>>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
>>>>>> 
>>>>>> 
>>>>>> Help us build a comprehensive ClamAV guide:
>>>>>> https://github.com/vrtadmin/clamav-faq <https://github.com/vrtadmin/clamav-faq>
>>>>>> 
>>>>>> http://www.clamav.net/contact.html#ml <http://www.clamav.net/contact.html#ml>
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> clamav-users mailing list
>>>>> clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>>>>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
>>>>> 
>>>>> 
>>>>> Help us build a comprehensive ClamAV guide:
>>>>> https://github.com/vrtadmin/clamav-faq <https://github.com/vrtadmin/clamav-faq>
>>>>> 
>>>>> http://www.clamav.net/contact.html#ml <http://www.clamav.net/contact.html#ml>
>>>> 
>>>> Robert Chalmers
>>>> https://robert-chalmers.uk <https://robert-chalmers.uk/>
>>>> author at robert-chalmers.uk <mailto:author at robert-chalmers.uk>
>>>> @R_A_Chalmers
>>>> 
>>>> _______________________________________________
>>>> clamav-users mailing list
>>>> clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>>>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
>>>> 
>>>> 
>>>> Help us build a comprehensive ClamAV guide:
>>>> https://github.com/vrtadmin/clamav-faq <https://github.com/vrtadmin/clamav-faq>
>>>> 
>>>> http://www.clamav.net/contact.html#ml <http://www.clamav.net/contact.html#ml>
>>> 
>>> _______________________________________________
>>> clamav-users mailing list
>>> clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
>>> 
>>> 
>>> Help us build a comprehensive ClamAV guide:
>>> https://github.com/vrtadmin/clamav-faq
>>> 
>>> http://www.clamav.net/contact.html#ml
>> 
>> Robert Chalmers
>> https://robert-chalmers.uk <https://robert-chalmers.uk/>
>> author at robert-chalmers.uk <mailto:author at robert-chalmers.uk>
>> @R_A_Chalmers
>> 
>> _______________________________________________
>> clamav-users mailing list
>> clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>> 
>> 
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>> 
>> http://www.clamav.net/contact.html#ml
> 
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml

Robert Chalmers
https://robert-chalmers.uk
author at robert-chalmers.uk
@R_A_Chalmers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20181204/94653483/attachment.html>


More information about the clamav-users mailing list