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

2018-11-07 Thread Robert 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
clamav-users@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


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

2018-11-07 Thread Robert Chalmers
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
aut...@robert-chalmers.uk
@R_A_Chalmers


> On 7 Nov 2018, at 10:23 am, Robert Chalmers  wrote:
> 
> 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@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@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


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

2018-11-07 Thread 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-
> From: clamav-users [mailto:clamav-users-boun...@lists.clamav.net] On
> Behalf Of Robert Chalmers
> Sent: Wednesday, November 07, 2018 5:24 AM
> To: clamav-users@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@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@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


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

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

___
clamav-users mailing list
clamav-users@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


Re: [clamav-users] Updates from ClamAV blocked by Cloudflare

2018-11-07 Thread Joel Esler (jesler)


On Nov 6, 2018, at 10:37 PM, Al Varnell 
mailto:alvarn...@mac.com>> wrote:

Look under “Virus Definitions” here . Download 
daily.cvd and replace daily.cld file with it.

Which gets it from Cloudflare :)
___
clamav-users mailing list
clamav-users@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


Re: [clamav-users] Updates from ClamAV blocked by Cloudflare

2018-11-07 Thread Joel Esler (jesler)
I need more details (feel free to email me directly).

Version of ClamAV you are attempting to update.
Your IP
The RAYId from Cloudflare.

We have plenty of blocks in Cloudflare of people that are abusing the system.  
Hopefully that's not you :)

> On Nov 6, 2018, at 9:57 PM, twee...@secmail.pro wrote:
> 
> https://notabug.org/themusicgod1/cloudflare-tor/issues/32
> http://forums.clamwin.com/viewtopic.php?t=4915
> 
> What now? How can I update my computer?
> 
> ___
> clamav-users mailing list
> clamav-users@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@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


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

2018-11-07 Thread 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

Sorry about the confusion.


Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.


On Nov 7, 2018, at 10:21 AM, Robert Chalmers 
mailto:racu...@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 
mailto:eric-l...@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-boun...@lists.clamav.net] On
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
To: clamav-users@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@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@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
aut...@robert-chalmers.uk
@R_A_Chalmers

___
clamav-users mailing list
clamav-users@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@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