Re: [clamav-users] How to trick clamav

2016-09-19 Thread Reindl Harald

transfered *how*

rsync --quiet --no-motd --times --force --recursive --delete-after 
--sparse --links --devices --specials --perms --owner --group 
--executability --acls --xattrs /var/lib/clamav/ 
root@targetmachine:/var/lib/clamav/ i can assure that works beause we 
are doing that for many years to just pull updates on a single-admin 
machine which has ssh-keys accepted on the other ones


Am 19.09.2016 um 15:08 schrieb David Niklas:

It's been over a month, should I have sent this to another list?

On Thu, 4 Aug 2016 23:47:15 do...@mail.com wrote:

Hello,
I have two computers, a laptop (for getting online stuff), and a
desktop. The desktop is at home which has no internet access due to the
fact that I live in a rural area.
I transferred the /var/lib/clamav/ (cvd) files to the desktop but the
clamav on the desktop will not accept them, what do I do?
The actual error message and related details are as follows:

//
% clamscan ab.txt
LibClamAV Warning: **
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.***
LibClamAV Warning: **
LibClamAV Error: Can't load /var/lib/clamav/main.cvd: Can't verify
database integrity LibClamAV Error: cli_loaddbdir(): error loading
database /var/lib/clamav/main.cvd ERROR: Can't verify database integrity

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

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


Re: [clamav-users] How to trick clamav

2016-09-19 Thread Maarten Broekman
You would probably want to set up a private mirror on your laptop and then
use that to sync your desktop.  That way you can update your laptop
whenever you want and when you're connected to you home network, you can
update your desktop.

https://www.clamav.net/documents/private-local-mirrors

--Maarten

On Mon, Sep 19, 2016 at 9:08 AM, David Niklas  wrote:

> It's been over a month, should I have sent this to another list?
>
> On Thu, 4 Aug 2016 23:47:15 do...@mail.com wrote:
> > Hello,
> > I have two computers, a laptop (for getting online stuff), and a
> > desktop. The desktop is at home which has no internet access due to the
> > fact that I live in a rural area.
> > I transferred the /var/lib/clamav/ (cvd) files to the desktop but the
> > clamav on the desktop will not accept them, what do I do?
> > The actual error message and related details are as follows:
> >
> > //
> > % clamscan ab.txt
> > LibClamAV Warning: **
> > LibClamAV Warning: ***  The virus database is older than 7 days!  ***
> > LibClamAV Warning: ***   Please update it as soon as possible.***
> > LibClamAV Warning: **
> > LibClamAV Error: Can't load /var/lib/clamav/main.cvd: Can't verify
> > database integrity LibClamAV Error: cli_loaddbdir(): error loading
> > database /var/lib/clamav/main.cvd ERROR: Can't verify database integrity
> >
> > --- SCAN SUMMARY ---
> > Known viruses: 79537
> > Engine version: 0.99
> > Scanned directories: 0
> > Scanned files: 0
> > Infected files: 0
> > Data scanned: 0.00 MB
> > Data read: 0.00 MB (ratio 0.00:1)
> > Time: 2.185 sec (0 m 2 s)
> > % ls /var/lib/clamav/
> > bytecode.cvd  daily.cld  daily.cvd  main.cvd  mirrors.dat
> > % ls -l /var/lib/clamav/
> > total 115248
> > -rw-r--r-- 1 clamav clamav 69708 Apr 13 04:22 bytecode.cvd
> > -rw-r--r-- 1 clamav clamav   6560768 Apr 13 04:22 daily.cld
> > -rw-r--r-- 1 clamav clamav   2209152 Mar 28 16:01 daily.cvd
> > -rw-r--r-- 1 clamav clamav 109143933 Mar 28 16:01 main.cvd
> > -rw-r--r-- 1 clamav clamav   832 Apr 13 04:22 mirrors.dat
> > % ls -dl /var/lib/clamav
> > drwxr-xr-x 2 clamav clamav 4096 Jun 18 20:34 /var/lib/clamav
> > % ls -dl /var/lib/
> > drwxr-xr-x 198 root root 4096 Jul  4 18:49 /var/lib/
> > % ls -dl /var/
> > drwxr-xr-x 26 root root 4096 Jun  5 02:36 /var/
> >
> > //
> >
> > Thanks, David
>
> ___
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

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


Re: [clamav-users] How to trick clamav

2016-09-19 Thread David Niklas
It's been over a month, should I have sent this to another list?

On Thu, 4 Aug 2016 23:47:15 do...@mail.com wrote:
> Hello,
> I have two computers, a laptop (for getting online stuff), and a
> desktop. The desktop is at home which has no internet access due to the
> fact that I live in a rural area.
> I transferred the /var/lib/clamav/ (cvd) files to the desktop but the
> clamav on the desktop will not accept them, what do I do?
> The actual error message and related details are as follows:
> 
> //
> % clamscan ab.txt
> LibClamAV Warning: **
> LibClamAV Warning: ***  The virus database is older than 7 days!  ***
> LibClamAV Warning: ***   Please update it as soon as possible.***
> LibClamAV Warning: **
> LibClamAV Error: Can't load /var/lib/clamav/main.cvd: Can't verify
> database integrity LibClamAV Error: cli_loaddbdir(): error loading
> database /var/lib/clamav/main.cvd ERROR: Can't verify database integrity
> 
> --- SCAN SUMMARY ---
> Known viruses: 79537
> Engine version: 0.99
> Scanned directories: 0
> Scanned files: 0
> Infected files: 0
> Data scanned: 0.00 MB
> Data read: 0.00 MB (ratio 0.00:1)
> Time: 2.185 sec (0 m 2 s)
> % ls /var/lib/clamav/
> bytecode.cvd  daily.cld  daily.cvd  main.cvd  mirrors.dat
> % ls -l /var/lib/clamav/
> total 115248
> -rw-r--r-- 1 clamav clamav 69708 Apr 13 04:22 bytecode.cvd
> -rw-r--r-- 1 clamav clamav   6560768 Apr 13 04:22 daily.cld
> -rw-r--r-- 1 clamav clamav   2209152 Mar 28 16:01 daily.cvd
> -rw-r--r-- 1 clamav clamav 109143933 Mar 28 16:01 main.cvd
> -rw-r--r-- 1 clamav clamav   832 Apr 13 04:22 mirrors.dat
> % ls -dl /var/lib/clamav
> drwxr-xr-x 2 clamav clamav 4096 Jun 18 20:34 /var/lib/clamav
> % ls -dl /var/lib/
> drwxr-xr-x 198 root root 4096 Jul  4 18:49 /var/lib/
> % ls -dl /var/
> drwxr-xr-x 26 root root 4096 Jun  5 02:36 /var/
> 
> //
> 
> Thanks, David

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

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


[clamav-users] How to trick clamav

2016-08-04 Thread doark
Hello,
I have two computers, a laptop (for getting online stuff), and a desktop.
The desktop is at home which has no internet access due to the fact that
I live in a rural area.
I transferred the /var/lib/clamav/ (cvd) files to the desktop but the
clamav on the desktop will not accept them, what do I do?
The actual error message and related details are as follows:

//
% clamscan ab.txt
LibClamAV Warning: **
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.***
LibClamAV Warning: **
LibClamAV Error: Can't load /var/lib/clamav/main.cvd: Can't verify
database integrity LibClamAV Error: cli_loaddbdir(): error loading
database /var/lib/clamav/main.cvd ERROR: Can't verify database integrity

--- SCAN SUMMARY ---
Known viruses: 79537
Engine version: 0.99
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 2.185 sec (0 m 2 s)
% ls /var/lib/clamav/
bytecode.cvd  daily.cld  daily.cvd  main.cvd  mirrors.dat
% ls -l /var/lib/clamav/
total 115248
-rw-r--r-- 1 clamav clamav 69708 Apr 13 04:22 bytecode.cvd
-rw-r--r-- 1 clamav clamav   6560768 Apr 13 04:22 daily.cld
-rw-r--r-- 1 clamav clamav   2209152 Mar 28 16:01 daily.cvd
-rw-r--r-- 1 clamav clamav 109143933 Mar 28 16:01 main.cvd
-rw-r--r-- 1 clamav clamav   832 Apr 13 04:22 mirrors.dat
% ls -dl /var/lib/clamav
drwxr-xr-x 2 clamav clamav 4096 Jun 18 20:34 /var/lib/clamav
% ls -dl /var/lib/
drwxr-xr-x 198 root root 4096 Jul  4 18:49 /var/lib/
% ls -dl /var/
drwxr-xr-x 26 root root 4096 Jun  5 02:36 /var/

//

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

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