Re: [clamav-users] clamav: problems with updating definitions database

2020-04-17 Thread Christian
Hi Micah and thanks a lot for your reply,

it´s ClamAV 0.102.2 which is installed . Timeout is as follows:

less /etc/clamav/freshclam.conf | grep -i timeout
ConnectTimeout 30
ReceiveTimeout 30

So I´ll try setting the ReceiveTimeout to "0".

Thanks again for your help.

Greetings.
Rosika


___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/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] clamav: problems with updating definitions database

2020-04-17 Thread Christian
Hi and thanks for your reply.

> why? linux users rarely need antivirus.

Well, she wants to be able to scan docs and PDFs downloaded from the
internet before she sends them to others who use WIN instead of Linux.

> go to /var/lib/clamav, chown all files to clamav:clamav and let
freshclam daemon do its work.

Thanks for the suggestion. I´ll try that as soon as possible.

Greetings.
Rosika


___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/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] clamav: problems with updating definitions database

2020-04-16 Thread Micah Snyder (micasnyd) via clamav-users
Hi all,

In ClamAV 0.102, the ReceiveTimeout should be set to `0` to disable it so the  
download completes on a slower connection.  We made this change in the default  
on 0.102.2, but for 0.102.1, you will need to set it to `0` manually if you 
encounter this issue.  Also some distros seem to provide a freshclam.conf where 
the ReceiveTimeout is set.  0.102.2 users may also have to change the conf in 
this case.

Matus, it's okay to run `sudo freshclam`.  Freshclam will switch to the 
DatabaseOwner ("clamav") account to do the update.

Regards,
Micah

On 4/16/20, 8:39 AM, "clamav-users on behalf of Matus UHLAR - fantomas" 
 wrote:

On 16.04.20 14:18, Christian wrote:
>I installed clamav on friend´s laptop (via teamviewer because she lives
>far away).
>Her system: Linux/Lubuntu 18.04.4 LTS, 64 bit.

why? linux users rarely need antivirus.

>Alas virus-signature-update doesn´t work.
>
>After killing the freshclam-process - in order to update manually

Why? automatic update should work as good as manual. Unless 

> - I
>tried "sudo freshclam".

this is a mistake. freshclam process has to run under user "clamav" - you
may have apparently created files which later instances of freshclam won't
be able to remove/update.

go to /var/lib/clamav, chown all files to clamav:clamav and let freshclam 
daemon
do its work.

>At first it worked but after 27 MB of download
>it stopped:
>
>Terminal-output:
>
>Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:47 2020 -> ^Download failed (28) Wed Apr 15 13:47:47 2020 -> ^
>Message: Timeout was reached   

slow internet connection probably?
the default on debian is

ReceiveTimeout 30

it's in seconds; you can increase it if really needed.


>Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:47 2020 -> ^getcvd: Can't download daily.cvd from
>https://database.clamav.net/daily.cvd   
>Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:47 2020 -> Trying again in 5
>secs...  
>Apr 15 13:47:52 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:52 2020 -> daily database available for download (remote version:
>25782)  
>Apr 15 13:47:56 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
>13:47:56 2020 -> Update process terminated
>
>After 5 secs it started again but with the same result.
>And every time it starts at 0 MB. So the update-process never ends.
>
>I´ve got no idea what can be done besides this:
>
>"For offline update, you can also directly download virus definition
>from database: main, daily and then put them into /var/lib/clamav
>(remove old files)."
>(see:

>https://askubuntu.com/questions/114000/how-to-update-clamav-definitions-database
>).
>
>What´s your opinion about that?

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
M$ Win's are shit, do not use it !

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/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
https://lists.clamav.net/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] clamav: problems with updating definitions database

2020-04-16 Thread Matus UHLAR - fantomas

On 16.04.20 14:18, Christian wrote:

I installed clamav on friend´s laptop (via teamviewer because she lives
far away).
Her system: Linux/Lubuntu 18.04.4 LTS, 64 bit.


why? linux users rarely need antivirus.


Alas virus-signature-update doesn´t work.

After killing the freshclam-process - in order to update manually


Why? automatic update should work as good as manual. Unless 


- I
tried "sudo freshclam".


this is a mistake. freshclam process has to run under user "clamav" - you
may have apparently created files which later instances of freshclam won't
be able to remove/update.

go to /var/lib/clamav, chown all files to clamav:clamav and let freshclam daemon
do its work.


At first it worked but after 27 MB of download
it stopped:

Terminal-output:

Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
13:47:47 2020 -> ^Download failed (28) Wed Apr 15 13:47:47 2020 -> ^
Message: Timeout was reached   


slow internet connection probably?
the default on debian is

ReceiveTimeout 30

it's in seconds; you can increase it if really needed.



Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
13:47:47 2020 -> ^getcvd: Can't download daily.cvd from
https://database.clamav.net/daily.cvd   
Apr 15 13:47:47 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
13:47:47 2020 -> Trying again in 5
secs...  
Apr 15 13:47:52 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
13:47:52 2020 -> daily database available for download (remote version:
25782)  
Apr 15 13:47:56 margret-ThinkPad-T430s freshclam[1505]: Wed Apr 15
13:47:56 2020 -> Update process terminated

After 5 secs it started again but with the same result.
And every time it starts at 0 MB. So the update-process never ends.

I´ve got no idea what can be done besides this:

"For offline update, you can also directly download virus definition
from database: main, daily and then put them into /var/lib/clamav
(remove old files)."
(see:
https://askubuntu.com/questions/114000/how-to-update-clamav-definitions-database
).

What´s your opinion about that?


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
M$ Win's are shit, do not use it !

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml