[clamav-users] clamd stops working - No stats for Database check - - forcing reload - stops

Harald Langner Harald.Langner at gmx.de
Tue Apr 21 21:49:52 UTC 2015


Hello Jörg

/var/run/clamav/clamd.pid   belongs to clamav:clamav  rights: 664
/var/db/clamav is a link to /tmp/clamav_db (because of HDD space)  and
both belongs to clamav:clamav  rights: l755
/var/run/clamav/clamd.sock belongs to clamav:clamav  rights: s666


in /tmp/clamav_db:
bytecode.cld	belongs to clamav:clamav  rights: 644
cd		belongs to clamav:clamav  rights: 644
daily.cld	belongs to clamav:clamav  rights: 644
main.cvd 	belongs to clamav:clamav  rights: 664
mirrors.dat	belongs to clamav:clamav  rights: 640

some settings I have changed:
MaxdirectoryRecursion 20  (Default 15)
#Run as another user......
User clamav		#because clamav is the user for clamd

Limits:
MaxScanSize = 50M      #because small vServer

the rest are default settings.

Did this answer your question? Is something wrong here?

Greetings
Harald


-----Original Message-----
From: clamav-users [mailto:clamav-users-bounces at lists.clamav.net] On
Behalf Of Jörg Stephan
Sent: Tuesday, April 21, 2015 7:41 AM
To: ClamAV users ML
Subject: Re: [clamav-users] clamd stops working - No stats for Database
check - - forcing reload - stops

Good day,

never seen this error before,
can you may check if the database files are owned by the clamav user?

2015-04-19 19:07 GMT+02:00 Harald Langner <Harald.Langner at gmx.de>:

> Hallo,
> using clamd on Unix system Version "ClamAV 0.98.6/20346" I get the 
> problem that the Damion stop some minutes after starting it.
>
> *Here is the log-information*
> Sun Apr 19 18:03:28 2015 -> +++ Started at Sun Apr 19 18:03:28 2015 
> Sun Apr 19 18:03:28 2015 -> clamd daemon 0.98.6 (OS: freebsd10.1, ARCH:
> amd64, CPU: amd64)
> Sun Apr 19 18:03:28 2015 -> Running as user clamav (UID 106, GID 106) 
> Sun Apr 19 18:03:28 2015 -> Log file size limited to 1048576 bytes.
> Sun Apr 19 18:03:28 2015 -> Reading databases from /var/db/clamav Sun 
> Apr 19 18:03:28 2015 -> Not loading PUA signatures.
> Sun Apr 19 18:03:28 2015 -> Bytecode: Security mode set to
"TrustSigned".
> Sun Apr 19 18:03:40 2015 -> Loaded 3793019 signatures.
> Sun Apr 19 18:03:42 2015 -> LOCAL: Removing stale socket file 
> /var/run/clamav/clamd.sock Sun Apr 19 18:03:42 2015 -> LOCAL: Unix 
> socket file /var/run/clamav/clamd.sock Sun Apr 19 18:03:42 2015 -> 
> LOCAL: Setting connection queue length to 200 Sun Apr 19 18:03:45 2015 
> -> Limits: Global size limit set to 52428800 bytes.
> Sun Apr 19 18:03:45 2015 -> Limits: File size limit set to 26214400
bytes.
> Sun Apr 19 18:03:45 2015 -> Limits: Recursion level limit set to 16.
> Sun Apr 19 18:03:45 2015 -> Limits: Files limit set to 10000.
> Sun Apr 19 18:03:45 2015 -> Limits: MaxEmbeddedPE limit set to 
> 10485760 bytes.
> Sun Apr 19 18:03:45 2015 -> Limits: MaxHTMLNormalize limit set to 
> 10485760 bytes.
> Sun Apr 19 18:03:45 2015 -> Limits: MaxHTMLNoTags limit set to 2097152 
> bytes.
> Sun Apr 19 18:03:45 2015 -> Limits: MaxScriptNormalize limit set to 
> 5242880 bytes.
> Sun Apr 19 18:03:45 2015 -> Limits: MaxZipTypeRcg limit set to 1048576 
> bytes.
> Sun Apr 19 18:03:45 2015 -> Limits: MaxPartitions limit set to 50.
> Sun Apr 19 18:03:45 2015 -> Limits: MaxIconsPE limit set to 100.
> Sun Apr 19 18:03:45 2015 -> Archive support enabled.
> Sun Apr 19 18:03:45 2015 -> Algorithmic detection enabled.
> Sun Apr 19 18:03:45 2015 -> Portable Executable support enabled.
> Sun Apr 19 18:03:45 2015 -> ELF support enabled.
> Sun Apr 19 18:03:45 2015 -> Mail files support enabled.
> Sun Apr 19 18:03:45 2015 -> OLE2 support enabled.
> Sun Apr 19 18:03:45 2015 -> PDF support enabled.
> Sun Apr 19 18:03:45 2015 -> SWF support enabled.
> Sun Apr 19 18:03:45 2015 -> HTML support enabled.
> Sun Apr 19 18:03:45 2015 -> Self checking every 600 seconds.
> Sun Apr 19 18:03:45 2015 -> Set stacksize to 2162688 Sun Apr 19 
> 18:13:45 2015 -> No stats for Database check - forcing reload
>
> I cannot find any help for " No stats for Database check - forcing
reload "
> What does that mean?
>
> And how can I fix that problem?
>
> Thank you all.
>
>
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>



--
Regards

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

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




More information about the clamav-users mailing list