Hi all, i upgraded my 0.97 to 0.99 and edited the new config file as usual but now clamd is complaining about something i don't know. The error is the laconic:
root@assp1-test:/usr/local/src/clamav-0.99# /usr/sbin/clamd --debug -c /usr/etc/clamd.conf ERROR: Can't open/parse the config file /usr/etc/clamd.conf Here is my clamconf -n: Checking configuration files in /usr/etc Config file: clamd.conf ----------------------- LogFile = "/var/log/clamav/clamav.log" StatsHostID = "auto" StatsTimeout = "10" LogFileMaxSize = "52428800" LogTime = "yes" LogRotate = "yes" ExtendedDetectionInfo = "yes" PidFile = "/var/run/clamav/clamd.pid" TemporaryDirectory = "/var/tmp" DatabaseDirectory = "/var/lib/clamav" LocalSocket = "/var/run/clamav/clamd.ctl" LocalSocketGroup = "clamav" LocalSocketMode = "666" MaxConnectionQueueLength = "30" MaxThreads = "12" ReadTimeout = "180" SendBufTimeout = "200" CrossFilesystems disabled SelfCheck = "3600" ExitOnOOM = "yes" User = "clamav" AllowSupplementaryGroups = "yes" BytecodeTimeout = "60000" DetectBrokenExecutables = "yes" HeuristicScanPrecedence = "yes" StructuredDataDetection = "yes" StructuredMinCreditCardCount = "5" StructuredMinSSNCount = "5" StructuredSSNFormatStripped = "yes" OLE2BlockMacros = "yes" MaxScanSize = "157286400" MaxFileSize = "31457280" MaxRecursion = "10" MaxFiles = "15000" MaxZipTypeRcg = "3145728" Config file: freshclam.conf --------------------------- LogFileMaxSize = "2097152" LogTime = "yes" PidFile = "/var/run/clamav/freshclam.pid" DatabaseDirectory = "/var/lib/clamav" UpdateLogFile = "/var/log/clamav/freshclam.log" Checks = "24" DatabaseMirror = "db.local.clamav.net", "database.clamav.net" MaxAttempts = "5" ConnectTimeout = "60" ReceiveTimeout = "60" SubmitDetectionStats = "/usr/etc/clamd.conf" DetectionStatsCountry = "IT" SafeBrowsing = "yes" clamav-milter.conf not found Software settings ----------------- Version: 0.99 Optional features supported: MEMPOOL AUTOIT_EA06 BZIP2 LIBXML2 PCRE ICONV RAR JIT Database information -------------------- Database directory: /var/lib/clamav [3rd Party] spamimg.hdb: 903 sigs daily.cld: version 21346, sigs: 1833777, built on Tue Feb 9 06:36:31 2016 [3rd Party] phish.ndb: 23028 sigs [3rd Party] junk.ndb: 51749 sigs [3rd Party] securiteinfopdf.hdb: 6206 sigs [3rd Party] securiteinfobat.hdb: 2600 sigs [3rd Party] rogue.hdb: 4595 sigs [3rd Party] securiteinfodos.hdb: 4509 sigs [3rd Party] securiteinfooffice.hdb: 4264 sigs [3rd Party] sanesecurity.ftm: 148 sigs [3rd Party] foxhole_filename.cdb: 14 sigs [3rd Party] honeynet.hdb: 377 sigs [3rd Party] securiteinfosh.hdb: 404 sigs [3rd Party] blurl.ndb: 512 sigs [3rd Party] mbl.ndb: 0 sig [3rd Party] spamattach.hdb: 35 sigs [3rd Party] foxhole_generic.cdb: 90 sigs [3rd Party] securiteinfoelf.hdb: 1229 sigs [3rd Party] winnow_malware_links.ndb: 9393 sigs [3rd Party] jurlbl.ndb: 12623 sigs [3rd Party] securiteinfo.hdb: 292412 sigs [3rd Party] securiteinfohtml.hdb: 63628 sigs [3rd Party] scam.ndb: 12001 sigs [3rd Party] winnow_malware.hdb: 24865 sigs bytecode.cld: version 271, sigs: 47, built on Mon Jan 25 23:16:46 2016 main.cld: version 55, sigs: 2424225, built on Tue Sep 17 16:57:28 2013 Total number of signatures: 4773634 Platform information -------------------- uname: Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 OS: linux-gnu, ARCH: x86_64, CPU: x86_64 Full OS version: Ubuntu 14.04.3 LTS zlib version: 1.2.8 (1.2.8), compile flags: a9 Triple: x86_64-unknown-linux-gnu CPU: i686, Little-endian platform id: 0x0a2151510804080401040804 Build information ----------------- GNU C: 4.8.4 (4.8.4) GNU C++: 4.8.4 (4.8.4) CPPFLAGS: CFLAGS: -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE CXXFLAGS: LDFLAGS: -lpcre Configure: '--disable-ipv6' '--prefix=/usr' sizeof(void*) = 8 Engine flevel: 81, dconf: 81 thanks for help! regards, aqx -- "Madness, like small fish, runs in hosts, in vast numbers of instances." Nessuno mi pettina bene come il vento. _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml