• Bug#1091528: clamav: Connection refused - after update

    From Leon Fellows@21:1/5 to All on Sat Dec 28 08:50:01 2024
    Package: clamav
    Version: 1.0.7+dfsg-1~deb12u1
    Severity: important

    Dear Maintainer,

    I am using clamav together with exim4 since long ago.

    Yesterday, I have made an "apt upgrade". After that, the clamav-daemon
    refuses any connections.

    When I check with systemctl status clamav-daemon, it is "active (running)".
    But when I do
    telnet 127.0.0.1 3310
    I get this response:
    "Unable to connect to remote host: Connection refused".

    I expected something like:
    PING -> PONG :)


    -- 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"
    ExcludePath disabled
    MaxDirectoryRecursion = "15"
    Foll