Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl: Connection refused #174

Closed
AmineTali opened this issue Nov 15, 2021 · 4 comments

Comments

@AmineTali
Copy link

Describe the bug
When running my clamav image i get this error several times :

Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl: Connection refused

image

The clamd.ctl file is created : ls -l /var/run/clamav/
image

My clamd.conf

#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
.
.
.
TCPSocket 3310

Image :
debian:buster-slim

@mko-x
Copy link
Owner

mko-x commented Nov 23, 2021

Seems like clamd wasn't started yet. Did you try the alpine image as well?

@AmineTali
Copy link
Author

clamd is started. Now the error appears occasionally.
No, I haven't tried the alpine image.

@mko-x
Copy link
Owner

mko-x commented Nov 25, 2021

Hmm, seems like a race condition on startup.

I recommend using the alpine image.

@AmineTali
Copy link
Author

thank you for your reply :)

@mko-x mko-x closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants