On Sat, 28 Dec 2024 08:45:30 +0100 Leon Fellows <[email protected]> wrote:
Yesterday, I have made an "apt upgrade". After that, the clamav-daemon refuses any connections.
Hi! What do you mean by "refuses any connections"? How do you know?
When I check with systemctl status clamav-daemon, it is "active (running)".
That seems to indicate that everything is okay. Otherwise you would see warnings or errors.
But when I do telnet 127.0.0.1 3310 I get this response: "Unable to connect to remote host: Connection refused".
Considering your configuration (see below), that is expected. You have: > TCPSocket disabled > TCPAddr disabled Instead of TCP, you use (as is the default on Debian) a socket: > LocalSocket = "/var/run/clamav/clamd.ctl" > I expected something like: > PING -> PONG :) Have you tried pinging like this? $ clamdscan --ping 1
-- Package-specific info: --- configuration --- Checking configuration files in /etc/clamav Config file: clamd.conf ----------------------- AlertExceedsMax disabled PreludeEnable disabled PreludeAnalyzerName = "ClamAV" LogFile = "/var/log/clamav/clamav.log" LogFileUnlock disabled LogFileMaxSize = "4294967295" LogTime = "yes" LogClean disabled LogSyslog disabled LogFacility = "LOG_LOCAL6" LogVerbose disabled LogRotate = "yes" ExtendedDetectionInfo = "yes" PidFile disabled TemporaryDirectory disabled DatabaseDirectory = "/var/lib/clamav" OfficialDatabaseOnly disabled LocalSocket = "/var/run/clamav/clamd.ctl" LocalSocketGroup = "clamav" LocalSocketMode = "666" FixStaleSocket = "yes" TCPSocket disabled TCPAddr disabled MaxConnectionQueueLength = "15" StreamMaxLength = "26214400" StreamMinPort = "1024" StreamMaxPort = "2048" MaxThreads = "12" ReadTimeout = "180" CommandReadTimeout = "30" SendBufTimeout = "200" MaxQueue = "100" IdleTimeout = "30"
-- Edmund Lodewijks <[email protected]> TZ: UTC+2 / GMT+2
OpenPGP_signature.asc
Description: OpenPGP digital signature

