Discussion:
[clamav-users] freshclam. Service exited with abnormal code: 1
Robert Chalmers
2018-11-07 10:23:35 UTC
Permalink
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-***@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

ht
Robert Chalmers
2018-11-07 11:45:02 UTC
Permalink
Finally I got through.
Ok, I understand this is an exit code probably generated by fresh clam Can it be fixed?


-----
Robert Chalmers
https://robert-chalmers.uk
***@robert-chalmers.uk
@R_A_Chalmers
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Eric Tykwinski
2018-11-07 14:07:34 UTC
Permalink
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

FC_UPTODATE = 1,

So basically it means there was no changes.

Sincerely,

Eric Tykwinski
TrueNet, Inc.
P: 610-429-8300
-----Original Message-----
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
clamav-***@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:
Robert Chalmers
2018-11-07 15:21:51 UTC
Permalink
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.
Post by Eric Tykwinski
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
FC_UPTODATE = 1,
So basically it means there was no changes.
Sincerely,
Eric Tykwinski
TrueNet, Inc.
P: 610-429-8300
-----Original Message-----
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
https://robert-chalmers.uk
***@robert-chalmers.uk
@R_A_Chalmers

_______________________________________________
clamav-users mailing list
clamav-***@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/cla
Micah Snyder (micasnyd)
2018-11-07 21:34:07 UTC
Permalink
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

Sorry about the confusion.


Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.


On Nov 7, 2018, at 10:21 AM, Robert Chalmers <***@gmail.com<mailto:***@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-***@truenet.com<mailto:eric-***@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

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-***@lists.clamav.net] On
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
To: clamav-***@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-***@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-***@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
***@robert-chalmers.uk
@R_A_Chalmers

_______________________________________________
clamav-users mailing list
clamav-***@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
2018-12-04 15:23:01 UTC
Permalink
@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
Post by Micah Snyder (micasnyd)
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.
Post by Micah Snyder (micasnyd)
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.
Post by Eric Tykwinski
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-----
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
https://robert-chalmers.uk <https://robert-chalmers.uk/>
@R_A_Chalmers
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
https://robert-chalmers.uk
***@robert-chalmers.uk
@R_A_Chalmers
Joel Esler (jesler)
2018-12-04 15:25:28 UTC
Permalink
You'd have to talk to the maintainer for homebrew for ClamAV. To my knowledge, we don't control that.
Post by Robert Chalmers
@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
Post by Micah Snyder (micasnyd)
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.
Post by Micah Snyder (micasnyd)
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.
Post by Eric Tykwinski
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-----
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
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/>
@R_A_Chalmers
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
https://robert-chalmers.uk <https://robert-chalmers.uk/>
@R_A_Chalmers
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
2018-12-04 15:41:56 UTC
Permalink
Of course. Sorry. I should know that. It’s time I went home 

Post by Joel Esler (jesler)
You'd have to talk to the maintainer for homebrew for ClamAV. To my knowledge, we don't control that.
Post by Robert Chalmers
@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
Post by Micah Snyder (micasnyd)
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.
Post by Micah Snyder (micasnyd)
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.
Post by Eric Tykwinski
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-----
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
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/>
@R_A_Chalmers
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
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
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
https://robert-chalmers.uk <https://robert-chalmers.uk/>
@R_A_Chalmers
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
https://robert-chalmers.uk
***@robert-chalmers.uk
@R_A_Chalmers

Loading...