> But I'm beginning to gather that the reason clamd is not creating its socket > is that it's still loading current pattern databases. It's consuming 98% of > CPU, although I'm not seeing any sign of network traffic, which seems odd. > The signature database (main.cld) is 300MB and daily.cld is 126MB, so maybe > that has something to do with it. Maybe it's reconciling or something. > > I guess I'll move on to other things and see if clamd eventually creates its > own socket without my intervention. This seems like a severe handicap to > receiving email. In the clamd@.service I've niced it so I can be doing other > things.
So much for that theory. There are about a million of these in the logfile. It's not making its own socket for unknown reasons which may be New To Science. Tue Nov 7 13:41:54 2017 -> ERROR: LOCAL: Socket file /run/clamd.scan/clamd.sock could not be bound: No such file or directory Tue Nov 7 13:41:55 2017 -> +++ Started at Tue Nov 7 13:41:55 2017 Tue Nov 7 13:41:55 2017 -> Received 0 file descriptor(s) from systemd. Tue Nov 7 13:41:55 2017 -> clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) Tue Nov 7 13:41:55 2017 -> Running as user root (UID 0, GID 0) Tue Nov 7 13:41:55 2017 -> Log file size limited to 2097152 bytes. Tue Nov 7 13:41:55 2017 -> Reading databases from /var/lib/clamav Tue Nov 7 13:41:55 2017 -> Not loading PUA signatures. Tue Nov 7 13:41:55 2017 -> Bytecode: Security mode set to "TrustSigned". Tue Nov 7 13:42:04 2017 -> Loaded 6474764 signatures. Tue Nov 7 13:42:06 2017 -> ERROR: LOCAL: Socket file /run/clamd.scan/clamd.sock could not be bound: No such file or directory Tue Nov 7 13:42:07 2017 -> +++ Started at Tue Nov 7 13:42:07 2017 Tue Nov 7 13:42:07 2017 -> Received 0 file descriptor(s) from systemd. Tue Nov 7 13:42:07 2017 -> clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) Tue Nov 7 13:42:07 2017 -> Running as user root (UID 0, GID 0) Tue Nov 7 13:42:07 2017 -> Log file size limited to 2097152 bytes. Tue Nov 7 13:42:07 2017 -> Reading databases from /var/lib/clamav Tue Nov 7 13:42:07 2017 -> Not loading PUA signatures. Tue Nov 7 13:42:07 2017 -> Bytecode: Security mode set to "TrustSigned". Tue Nov 7 13:42:17 2017 -> Loaded 6474764 signatures. Tue Nov 7 13:42:19 2017 -> ERROR: LOCAL: Socket file /run/clamd.scan/clamd.sock could not be bound: No such file or directory Tue Nov 7 13:42:19 2017 -> +++ Started at Tue Nov 7 13:42:19 2017 Tue Nov 7 13:42:19 2017 -> Received 0 file descriptor(s) from systemd. Tue Nov 7 13:42:19 2017 -> clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) Tue Nov 7 13:42:19 2017 -> Running as user root (UID 0, GID 0) Tue Nov 7 13:42:19 2017 -> Log file size limited to 2097152 bytes. Tue Nov 7 13:42:19 2017 -> Reading databases from /var/lib/clamav Tue Nov 7 13:42:19 2017 -> Not loading PUA signatures. Tue Nov 7 13:42:19 2017 -> Bytecode: Security mode set to "TrustSigned". Tue Nov 7 13:42:29 2017 -> Loaded 6474764 signatures. Tue Nov 7 13:42:31 2017 -> ERROR: LOCAL: Socket file /run/clamd.scan/clamd.sock could not be bound: No such file or directory Tue Nov 7 13:42:32 2017 -> +++ Started at Tue Nov 7 13:42:32 2017 Tue Nov 7 13:42:32 2017 -> Received 0 file descriptor(s) from systemd. Tue Nov 7 13:42:32 2017 -> clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) Tue Nov 7 13:42:32 2017 -> Running as user root (UID 0, GID 0) Tue Nov 7 13:42:32 2017 -> Log file size limited to 2097152 bytes. Tue Nov 7 13:42:32 2017 -> Reading databases from /var/lib/clamav Tue Nov 7 13:42:32 2017 -> Not loading PUA signatures. Tue Nov 7 13:42:32 2017 -> Bytecode: Security mode set to "TrustSigned". _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml