Hi there,

This came about today when I accidentally started a clamd with the
configuration file of a clamd instance which was already running:

Oct  4 16:16:24 mail6 clamd[13669]: Received 0 file descriptor(s) from systemd.
Oct  4 16:16:24 mail6 clamd[13669]: clamd daemon 0.101.4 (OS: linux-gnu, ARCH: 
x86_64, CPU: x86_64)
Oct  4 16:16:24 mail6 clamd[13669]: Running as user clamav (UID 111, GID 117)
Oct  4 16:16:24 mail6 clamd[13669]: Log file size limited to 4294967295 bytes.
Oct  4 16:16:24 mail6 clamd[13669]: Reading databases from /etc/mail/clamav
Oct  4 16:16:24 mail6 clamd[13669]: Bytecode: Security mode set to 
"TrustSigned".
Oct  4 16:21:07 mail6 clamd[13669]: Loaded 8760999 signatures.
Oct  4 16:21:09 mail6 clamd[13669]: TCP: Cannot bind to [127.0.0.1]:3313: 
Address already in use
Oct  4 16:21:09 mail6 clamd[13990]: Not listening on any interfaces

Note that clamd loaded all its databases, which took over four minutes,
and only then decided that it couldn't listen on any interfaces!

Perhaps it would be better to check for things which can be checked
quickly *before* loading nine million signatures.

--

73,
Ged.
_______________________________________________

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

Please submit your patches to our Bugzilla: http://bugzilla.clamav.net

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

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

Reply via email to