[clamav-users] Problem to update virus database

Matus UHLAR - fantomas uhlar at fantomas.sk
Sat Jan 25 11:14:21 UTC 2020


On 25.01.20 11:15, Tomasz Mejer via clamav-users wrote:
>When I run freshclamwithout user I got:
>"Can't create temporary directory /var/lib/clamav/tmp Hint: The database
>directory must be writable for UID 1000 or GID 1000"
>Should I change var/lib/clamav folder chmod to make it possible?

no, you should not run freshclam manually and let the system cron jobs do
that instead.

under ubuntu, you should run "chown -R clamav: /var/lib/clamav"

>I handled to download daily.cvd <https://database.clamav.net/daily.cvd>' in
>/tmp. What can I do with this file now? Sorry for stupid questions. I'm not
>advanced Linux user.


>> >I have installed ClamAV on my Ubuntu 16.04 LTS machine. I can't update
>> >virus database update.
>> >When I run:
>> >
>> >sudo freshclam
>>
>> you should not run freshclam under root user. You should keep it for
>> freshclam daemon. This way you can prevent the aemon from running properly,
>> because of permission problems.
>>
>> >i got:
>> >"Download failed (28)
>> >"getcvd: Can't download daily.cvd from
>> https://database.clamav.net/daily.cvd

>pt., 24 sty 2020 o 11:56 Matus UHLAR - fantomas <uhlar at fantomas.sk>
>napisał(a):
>
>> try running 'https://database.clamav.net/daily.cvd' in /tmp
>> to see if it's accessible for you.


-- 
Matus UHLAR - fantomas, uhlar at 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.
Eagles may soar, but weasels don't get sucked into jet engines.



More information about the clamav-users mailing list