Hi list, So I read the documentation and maybe I missed something but I have to use pkill -9 clamscan to end the scan that is scheduled (through clamtk) for 22:59. I'm running Debian Bookworm that is updated daily. The results from clamconf -n Checking configuration files in /etc/clamav
Config file: clamd.conf ----------------------- PreludeAnalyzerName = "ClamAV" LogFile = "/var/log/clamav/clamav.log" LogFileMaxSize = "4294967295" LogTime = "yes" LogSyslog = "yes" LogRotate = "yes" ExtendedDetectionInfo = "yes" LocalSocket = "/var/run/clamav/clamd.ctl" LocalSocketGroup = "clamav" LocalSocketMode = "666" MaxConnectionQueueLength = "15" StreamMaxLength = "26214400" MaxThreads = "12" ReadTimeout = "180" SendBufTimeout = "200" FollowFileSymlinks = "yes" SelfCheck = "3600" User = "clamav" BytecodeTimeout = "60000" MaxScanTime = "120000" MaxScanSize = "104857600" MaxFileSize = "26214400" MaxRecursion = "16" MaxEmbeddedPE = "10485760" MaxHTMLNormalize = "10485760" MaxHTMLNoTags = "2097152" MaxScriptNormalize = "5242880" PCREMatchLimit = "10000" PCRERecMatchLimit = "5000" PCREMaxFileSize = "26214400" Config file: freshclam.conf --------------------------- LogFileMaxSize = "4294967295" LogTime = "yes" LogRotate = "yes" UpdateLogFile = "/var/log/clamav/freshclam.log" Checks = "24" DatabaseMirror = "db.local.clamav.net", "database.clamav.net" MaxAttempts = "5" ReceiveTimeout disabled Config file: clamav-milter.conf ------------------------------- LogFile = "/var/log/clamav/clamav-milter.log" LogTime = "yes" LogRotate = "yes" PidFile = "/var/run/clamav/clamav-milter.pid" TemporaryDirectory = "/tmp" User = "clamav" MaxFileSize = "26214400" ClamdSocket = "unix:/var/run/clamav/clamd.ctl" MilterSocket = "/var/run/clamav/clamav-milter.ctl" MilterSocketGroup = "clamav" MilterSocketMode = "666" AddHeader = "Replace" LogInfected = "Off" LogClean = "Off" Software settings ----------------- Version: 1.0.1 Optional features supported: MEMPOOL AUTOIT_EA06 BZIP2 LIBXML2 PCRE2 ICONV JSON RAR Database information -------------------- Database directory: /var/lib/clamav daily.cld: version 26827, sigs: 2022011, built on Wed Mar 1 02:28:49 2023 main.cvd: version 62, sigs: 6647427, built on Thu Sep 16 07:32:42 2021 bytecode.cvd: version 334, sigs: 91, built on Wed Feb 22 15:33:21 2023 Total number of signatures: 8669529 Platform information -------------------- uname: Linux 6.1.0-5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1 (2023-02-15) x86_64 OS: Linux, ARCH: x86_64, CPU: x86_64 Full OS version: No LSB modules are available. Debian GNU/Linux bookworm/sid zlib version: 1.2.13 (1.2.13), compile flags: a9 platform id: 0x0a21a1a108000000000c0200 Build information ----------------- GNU C: 12.2.0 (12.2.0) sizeof(void*) = 8 Engine flevel: 161, dconf: 161 The only thing I can find in the log files is the one named "clamonacc.log" which has multiple entries of: ERROR: Clamonacc: at least one of OnAccessExcludeUID, OnAccessExcludeUname, or OnAccessExcludeRootUID must be specified ... it is recommended you exclude the clamd instance UID or uname to prevent infinite event scanning loops. I'm assuming that is what's happening but I can't find where to get the information that is requested in that message or how to fix it. Prior to using pkill clamscan has my CPU at 100% The Cron job command (/usr/bin/clamscan --exclude- dir=/home/tmick/.clamtk/viruses --exclude-dir=smb4k --exclude- dir=/run/user/tmick/gvfs --exclude-dir=/home/tmick/.gvfs --exclude- dir=.thunderbird --exclude-dir=.mozilla-thunderbird --exclude- dir=.evolution --exclude-dir=Mail --exclude-dir=kmail -i --detect-pua -r /home/tmick --log="$HOME/.clamtk/history/$(date +%b-%d-%Y).log" 2>/dev/null # clamtk-scan)I have run manually and it succeeds fine. I'm confused and thanks for the help in advance. -- Tim McConnell <tmcconnell...@gmail.com> _______________________________________________ Manage your clamav-users mailing list subscription / unsubscribe: https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat